提交 cf90ea93 编写于 作者: M Mimi Zohar 提交者: James Morris

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: d9ddf077 ("ima: support for kexec image and initramfs")
Signed-off-by: NMimi Zohar <zohar@linux.vnet.ibm.com>
Tested-by: NEric Richter <erichte@linux.vnet.ibm.com>
Signed-off-by: NJames Morris <james.l.morris@oracle.com>
上级 83858a70
...@@ -884,10 +884,10 @@ static char *func_tokens[] = { ...@@ -884,10 +884,10 @@ static char *func_tokens[] = {
"BPRM_CHECK", "BPRM_CHECK",
"MODULE_CHECK", "MODULE_CHECK",
"FIRMWARE_CHECK", "FIRMWARE_CHECK",
"POST_SETATTR",
"KEXEC_KERNEL_CHECK", "KEXEC_KERNEL_CHECK",
"KEXEC_INITRAMFS_CHECK", "KEXEC_INITRAMFS_CHECK",
"POLICY_CHECK", "POLICY_CHECK"
"POST_SETATTR"
}; };
void *ima_policy_start(struct seq_file *m, loff_t *pos) void *ima_policy_start(struct seq_file *m, loff_t *pos)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册