ima: remove firmware and module specific cached status info
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 19 Nov 2015 17:39:22 +0000 (12:39 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Sun, 21 Feb 2016 14:06:13 +0000 (09:06 -0500)
commitc6af8efe97d87fa308eb1bbd0cf4feb820a4d622
tree7a7ea8e33a28b7b47ec7c6fa16e14c6838b269ff
parenta1db74209483a24c861c848b4bb79a4d945ef6fa
ima: remove firmware and module specific cached status info

Each time a file is read by the kernel, the file should be re-measured and
the file signature re-appraised, based on policy.  As there is no need to
preserve the status information, this patch replaces the firmware and
module specific cache status with a generic one named read_file.

This change simplifies adding support for other files read by the kernel.

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