summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@huawei.com>2026-06-05 20:22:25 +0300
committerMimi Zohar <zohar@linux.ibm.com>2026-06-08 18:42:40 +0300
commita01183bd6fc66910e2837830aa21dd8da2b7795e (patch)
tree07baebfeed7bf2910057d635dbe0dca02b3e2d55 /include/linux
parent11143a19f5b8dc8f414deab87571134f9f447313 (diff)
downloadlinux-a01183bd6fc66910e2837830aa21dd8da2b7795e.tar.xz
ima: Remove ima_h_table structure
The ima_h_table structure is a collection of IMA measurement list metadata - number of records in the IMA measurement list, number of integrity violations, and a hash table containing the IMA template data hash, needed to prevent measurement list record duplication. Removing records from the measurement list needs to be reflected in the hash table. As a pre-req to removing records from the measurement list, separate those counters from the hash table, remove the ima_h_table structure, and just replace the hash table pointer. Finally, rename ima_show_htable_value(), ima_show_htable_violations() and ima_htable_violations_ops respectively to ima_show_counter(), ima_show_num_violations() and ima_num_violations_ops. Link: https://github.com/linux-integrity/linux/issues/1 Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions