Home
last modified time | relevance | path

Searched hist:"7 bae42b68d7f070a346fde4c7c1ce182f2284933" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dima.cdiff 7bae42b68d7f070a346fde4c7c1ce182f2284933 Wed Mar 02 05:14:04 CST 2022 Roberto Sassu <roberto.sassu@huawei.com> selftests/bpf: Check that bpf_kernel_read_file() denies reading IMA policy

Check that bpf_kernel_read_file() denies the reading of an IMA policy, by
ensuring that ima_setup.sh exits with an error.

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-10-roberto.sassu@huawei.com
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_ima.cdiff 7bae42b68d7f070a346fde4c7c1ce182f2284933 Wed Mar 02 05:14:04 CST 2022 Roberto Sassu <roberto.sassu@huawei.com> selftests/bpf: Check that bpf_kernel_read_file() denies reading IMA policy

Check that bpf_kernel_read_file() denies the reading of an IMA policy, by
ensuring that ima_setup.sh exits with an error.

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-10-roberto.sassu@huawei.com