summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-05-04 11:14:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-04 11:14:00 -0700
commit4810d9682971e8eee659f96e4f9d9154e3c6c0b4 (patch)
tree80a19f6ab582122f8d8f85256a2869f3a83e9edf
parent41143b774af2b37c24026521e6eae4c914bd731d (diff)
parentcf90ea934028375805e2d39c796eb276001574d7 (diff)
downloadlwn-4810d9682971e8eee659f96e4f9d9154e3c6c0b4.tar.gz
lwn-4810d9682971e8eee659f96e4f9d9154e3c6c0b4.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull IMA fix from James Morris. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: ima: fix the string representation of the LSM/IMA hook enumeration ordering
-rw-r--r--security/integrity/ima/ima_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index be09e2cacf82..3cd0a58672dd 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -884,10 +884,10 @@ static char *func_tokens[] = {
"BPRM_CHECK",
"MODULE_CHECK",
"FIRMWARE_CHECK",
+ "POST_SETATTR",
"KEXEC_KERNEL_CHECK",
"KEXEC_INITRAMFS_CHECK",
- "POLICY_CHECK",
- "POST_SETATTR"
+ "POLICY_CHECK"
};
void *ima_policy_start(struct seq_file *m, loff_t *pos)