diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-09-12 21:51:32 +0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2012-09-13 22:23:57 +0400 |
commit | 45e2472e67bf66f794d507b52e82af92e0614e49 (patch) | |
tree | 4b3ba557d4f9da9bca14ce85bee965e4a9fcd6ac /security/integrity/ima/ima_appraise.c | |
parent | d9d300cdb6f233c4c591348919c758062198a4f4 (diff) | |
download | linux-45e2472e67bf66f794d507b52e82af92e0614e49.tar.xz |
ima: generic IMA action flag handling
Make the IMA action flag handling generic in order to support
additional new actions, without requiring changes to the base
implementation. New actions, like audit logging, will only
need to modify the define statements.
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_appraise.c')
-rw-r--r-- | security/integrity/ima/ima_appraise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_appraise.c b/security/integrity/ima/ima_appraise.c index 4cdf36ad884a..0aa43bde441c 100644 --- a/security/integrity/ima/ima_appraise.c +++ b/security/integrity/ima/ima_appraise.c @@ -232,7 +232,7 @@ static void ima_reset_appraise_flags(struct inode *inode) if (!iint) return; - iint->flags &= ~(IMA_COLLECTED | IMA_APPRAISED | IMA_MEASURED); + iint->flags &= ~IMA_DONE_MASK; return; } |