Searched hist:"91 e8fa254dbd0890c34286acdc12e96412305840" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | ima_setup.sh | diff 91e8fa254dbd0890c34286acdc12e96412305840 Wed Mar 02 05:14:01 CST 2022 Roberto Sassu <roberto.sassu@huawei.com> selftests/bpf: Check if the digest is refreshed after a file write
Verify that bpf_ima_inode_hash() returns a non-fresh digest after a file write, and that bpf_ima_file_hash() returns a fresh digest. Verification is done by requesting the digest from the bprm_creds_for_exec hook, called before ima_bprm_check().
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220302111404.193900-7-roberto.sassu@huawei.com
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | ima.c | diff 91e8fa254dbd0890c34286acdc12e96412305840 Wed Mar 02 05:14:01 CST 2022 Roberto Sassu <roberto.sassu@huawei.com> selftests/bpf: Check if the digest is refreshed after a file write
Verify that bpf_ima_inode_hash() returns a non-fresh digest after a file write, and that bpf_ima_file_hash() returns a fresh digest. Verification is done by requesting the digest from the bprm_creds_for_exec hook, called before ima_bprm_check().
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220302111404.193900-7-roberto.sassu@huawei.com
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_ima.c | diff 91e8fa254dbd0890c34286acdc12e96412305840 Wed Mar 02 05:14:01 CST 2022 Roberto Sassu <roberto.sassu@huawei.com> selftests/bpf: Check if the digest is refreshed after a file write
Verify that bpf_ima_inode_hash() returns a non-fresh digest after a file write, and that bpf_ima_file_hash() returns a fresh digest. Verification is done by requesting the digest from the bprm_creds_for_exec hook, called before ima_bprm_check().
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220302111404.193900-7-roberto.sassu@huawei.com
|