ima: measure and appraise the IMA policy itself
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 15 Jan 2016 15:17:12 +0000 (10:17 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 21 Feb 2016 14:34:22 +0000 (09:34 -0500)
commit19f8a84713edc1d27ea05be00effb97b8f1ef207
tree1bc29beeafe8358eeffcbd807ac59f6b45868695
parent7429b092811fb20c6a5b261c2c116a6a90cb9a29
ima: measure and appraise the IMA policy itself

Add support for measuring and appraising the IMA policy itself.

Changelog v4:
- use braces on both if/else branches, even if single line on one of the
branches - Dmitry
- Use the id mapping - Dmitry

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.h
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_main.c
security/integrity/ima/ima_policy.c