Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf90ea93 authored by Mimi Zohar's avatar Mimi Zohar Committed by James Morris
Browse files

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: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
Tested-by: default avatarEric Richter <erichte@linux.vnet.ibm.com>
Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
parent 83858a70
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)