summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2024-02-23 12:25:09 -0500
committerMimi Zohar <zohar@linux.ibm.com>2024-04-09 17:14:57 -0400
commita652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8 (patch)
tree46c5b38246b8c5fabd7f5f6b1d7f535ad78db104 /net
parent309e2b775da8b2c28fccc4ac2621801f06920ce0 (diff)
downloadlinux-stable-a652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8.tar.gz
linux-stable-a652aa59068bd78d96a1ab6ea7c0c4d3c79fb5e8.tar.bz2
linux-stable-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 'net')
0 files changed, 0 insertions, 0 deletions