diff options
author | Dmitry Kasatkin <dmitry.kasatkin@intel.com> | 2012-06-27 12:26:14 +0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2012-09-12 15:28:05 +0400 |
commit | d9d300cdb6f233c4c591348919c758062198a4f4 (patch) | |
tree | 2a00e8e9100b1d799e5b779008ad0081e7fe5264 /security/integrity/ima/ima_main.c | |
parent | e23eb920b0f3978687c497de2ac3eb9e281dab32 (diff) | |
download | linux-d9d300cdb6f233c4c591348919c758062198a4f4.tar.xz |
ima: rename ima_must_appraise_or_measure
When AUDIT action support is added to the IMA,
ima_must_appraise_or_measure() does not reflect the real meaning anymore.
Rename it to ima_get_action().
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_main.c')
-rw-r--r-- | security/integrity/ima/ima_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c index df6521296051..60b047e96f4e 100644 --- a/security/integrity/ima/ima_main.c +++ b/security/integrity/ima/ima_main.c @@ -158,7 +158,7 @@ static int process_measurement(struct file *file, const unsigned char *filename, /* Determine if in appraise/measurement policy, * returns IMA_MEASURE, IMA_APPRAISE bitmask. */ - action = ima_must_appraise_or_measure(inode, mask, function); + action = ima_get_action(inode, mask, function); if (!action) return 0; |