diff options
Diffstat (limited to 'security/integrity/integrity.h')
-rw-r--r-- | security/integrity/integrity.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h index 564ba7db5f6a..403ba319a06a 100644 --- a/security/integrity/integrity.h +++ b/security/integrity/integrity.h | |||
@@ -22,12 +22,15 @@ | |||
22 | #define IMA_APPRAISED 0x0008 | 22 | #define IMA_APPRAISED 0x0008 |
23 | /*#define IMA_COLLECT 0x0010 do not use this flag */ | 23 | /*#define IMA_COLLECT 0x0010 do not use this flag */ |
24 | #define IMA_COLLECTED 0x0020 | 24 | #define IMA_COLLECTED 0x0020 |
25 | #define IMA_AUDIT 0x0040 | ||
26 | #define IMA_AUDITED 0x0080 | ||
25 | 27 | ||
26 | /* iint cache flags */ | 28 | /* iint cache flags */ |
27 | #define IMA_DIGSIG 0x0100 | 29 | #define IMA_DIGSIG 0x0100 |
28 | 30 | ||
29 | #define IMA_DO_MASK (IMA_MEASURE | IMA_APPRAISE) | 31 | #define IMA_DO_MASK (IMA_MEASURE | IMA_APPRAISE | IMA_AUDIT) |
30 | #define IMA_DONE_MASK (IMA_MEASURED | IMA_APPRAISED | IMA_COLLECTED) | 32 | #define IMA_DONE_MASK (IMA_MEASURED | IMA_APPRAISED | IMA_AUDITED \ |
33 | | IMA_COLLECTED) | ||
31 | 34 | ||
32 | enum evm_ima_xattr_type { | 35 | enum evm_ima_xattr_type { |
33 | IMA_XATTR_DIGEST = 0x01, | 36 | IMA_XATTR_DIGEST = 0x01, |