summaryrefslogtreecommitdiffstats
path: root/scripts/modules-check.sh
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-02-23 18:25:09 +0100
committerMimi Zohar <zohar@linux.ibm.com>2024-04-09 23:14:57 +0200
commita652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8 (patch)
tree46c5b38246b8c5fabd7f5f6b1d7f535ad78db104 /scripts/modules-check.sh
parentima: Move file-change detection variables into new structure (diff)
downloadlinux-a652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8.tar.xz
linux-a652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8.zip
evm: Store and detect metadata inode attributes changes
On stacked filesystem the metadata inode may be different than the one file data inode and therefore changes to it need to be detected independently. Therefore, store the i_version, device number, and inode number associated with the file metadata inode. Implement a function to detect changes to the inode and if a change is detected reset the evm_status. This function will be called by IMA when IMA detects that the metadata inode is different from the file's inode. 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>
Diffstat (limited to 'scripts/modules-check.sh')
0 files changed, 0 insertions, 0 deletions