diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2016-04-19 17:42:43 -0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2016-05-04 18:46:00 +1000 |
commit | cf90ea934028375805e2d39c796eb276001574d7 (patch) | |
tree | 5650f0d0901138f496891621aae5180f5aae72d4 /security | |
parent | 83858a701cf3271f81dd321c2a81e5666c6ca8f4 (diff) | |
download | linux-stable-cf90ea934028375805e2d39c796eb276001574d7.tar.gz linux-stable-cf90ea934028375805e2d39c796eb276001574d7.tar.bz2 linux-stable-cf90ea934028375805e2d39c796eb276001574d7.zip |
ima: fix the string representation of the LSM/IMA hook enumeration ordering
This patch fixes the string representation of the LSM/IMA hook enumeration
ordering used for displaying the IMA policy.
Fixes: d9ddf077bb85 ("ima: support for kexec image and initramfs")
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Tested-by: Eric Richter <erichte@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/ima/ima_policy.c | 4 |
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) |