aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2020-11-24 15:12:08 +0000
committerDaniel Borkmann <[email protected]>2020-11-26 00:04:04 +0100
commit403319be5de51167cd70ddf594b76c95e6d26844 (patch)
tree330fb9618146152fb2f0e30c1168e91609e9e2be /tools/perf/scripts/python/export-to-sqlite.py
parentdb13db9f67fe5049159a05e870daedcee5879f8d (diff)
ima: Implement ima_inode_hash
This is in preparation to add a helper for BPF LSM programs to use IMA hashes when attached to LSM hooks. There are LSM hooks like inode_unlink which do not have a struct file * argument and cannot use the existing ima_file_hash API. An inode based API is, therefore, useful in LSM based detections like an executable trying to delete itself which rely on the inode_unlink LSM hook. Moreover, the ima_file_hash function does nothing with the struct file pointer apart from calling file_inode on it and converting it to an inode. Signed-off-by: KP Singh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Mimi Zohar <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions