summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-05-04 20:14:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-04 20:14:00 +0200
commit4810d9682971e8eee659f96e4f9d9154e3c6c0b4 (patch)
tree80a19f6ab582122f8d8f85256a2869f3a83e9edf
parentMerge tag 'for-linus-4.6-rc6-tag' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
parentima: fix the string representation of the LSM/IMA hook enumeration ordering (diff)
downloadlinux-4810d9682971e8eee659f96e4f9d9154e3c6c0b4.tar.xz
linux-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
Diffstat (limited to '')
-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)