ima: fix the string representation of the LSM/IMA hook enumeration ordering
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 19 Apr 2016 21:42:43 +0000 (17:42 -0400)
committerJames Morris <james.l.morris@oracle.com>
Wed, 4 May 2016 08:46:00 +0000 (18:46 +1000)
commitcf90ea934028375805e2d39c796eb276001574d7
tree5650f0d0901138f496891621aae5180f5aae72d4
parent83858a701cf3271f81dd321c2a81e5666c6ca8f4
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>
security/integrity/ima/ima_policy.c