diff options
| author | Roberto Sassu <[email protected]> | 2022-03-02 12:13:58 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-03-10 18:57:54 -0800 |
| commit | 174b16946e39ebd369097e0f773536c91a8c1a4c (patch) | |
| tree | af73026e68606f8644001ae28e60509cedc642c7 /scripts/gdb/vmlinux-gdb.py | |
| parent | 280fe8367b0dc45b6ac5e04fad03e16e99540c0c (diff) | |
bpf-lsm: Introduce new helper bpf_ima_file_hash()
ima_file_hash() has been modified to calculate the measurement of a file on
demand, if it has not been already performed by IMA or the measurement is
not fresh. For compatibility reasons, ima_inode_hash() remains unchanged.
Keep the same approach in eBPF and introduce the new helper
bpf_ima_file_hash() to take advantage of the modified behavior of
ima_file_hash().
Signed-off-by: Roberto Sassu <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions