ima: Move file-change detection variables into new structure
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 23 Feb 2024 17:25:08 +0000 (12:25 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 9 Apr 2024 21:14:57 +0000 (17:14 -0400)
commit309e2b775da8b2c28fccc4ac2621801f06920ce0
treeaa1300dfdb5b113143fbbdcc4bb7d3db0259b3d8
parentfaf994811e0548df854e5fd946f3094725fcd9b5
ima: Move file-change detection variables into new structure

Move all the variables used for file change detection into a structure
that can be used by IMA and EVM. Implement an inline function for storing
the identification of an inode and one for detecting changes to an inode
based on this new structure.

Co-developed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
include/linux/integrity.h
security/integrity/ima/ima.h
security/integrity/ima/ima_api.c
security/integrity/ima/ima_iint.c
security/integrity/ima/ima_main.c