ima: refactor ima_policy_show() to display "ima_hooks" rules
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 28 Jan 2016 18:10:36 +0000 (13:10 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 18 Feb 2016 22:13:56 +0000 (17:13 -0500)
commitb5269ab3e29b17e3419c65986bcc1b54b798acc2
tree651781df3de569d41cacf95d618644f888ec476a
parent1525b06d99b117198ea8d6c128ee5bf28ceb6723
ima: refactor ima_policy_show() to display "ima_hooks" rules

Define and call a function to display the "ima_hooks" rules.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Petko Manolov <petkan@mip-labs.com>
Acked-by: Dmitry Kasatkin <dmitry.kasatkin@huawei.com>
security/integrity/ima/ima_policy.c