summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_main.c
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2017-06-27 16:10:39 -0400
committerMimi Zohar <zohar@linux.vnet.ibm.com>2017-11-08 15:16:36 -0500
commit2068626d1345f23fd2b926d834d4f74b37cd7134 (patch)
treeef05b137a8c28a25f7b262214ff60a3d418e43ea /security/integrity/ima/ima_main.c
parent46cdc6d533c925c7477feea7caa404466bac7ac8 (diff)
downloadop-kernel-dev-2068626d1345f23fd2b926d834d4f74b37cd7134.zip
op-kernel-dev-2068626d1345f23fd2b926d834d4f74b37cd7134.tar.gz
ima: don't remove the securityfs policy file
The securityfs policy file is removed unless additional rules can be appended to the IMA policy (CONFIG_IMA_WRITE_POLICY), regardless as to whether the policy is configured so that it can be displayed. This patch changes this behavior, removing the securityfs policy file, only if CONFIG_IMA_READ_POLICY is also not enabled. Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud