aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2020-11-24 15:12:09 +0000
committerDaniel Borkmann <[email protected]>2020-11-26 00:04:04 +0100
commit27672f0d280a3f286a410a8db2004f46ace72a17 (patch)
tree04cce21fa652d2576937ea9e0b8c6378c7d96062 /tools/perf/scripts/python/intel-pt-events.py
parent403319be5de51167cd70ddf594b76c95e6d26844 (diff)
bpf: Add a BPF helper for getting the IMA hash of an inode
Provide a wrapper function to get the IMA hash of an inode. This helper is useful in fingerprinting files (e.g executables on execution) and using these fingerprints in detections like an executable unlinking itself. Since the ima_inode_hash can sleep, it's only allowed for sleepable LSM hooks. Signed-off-by: KP Singh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions