diff options
author | Song Liu <song@kernel.org> | 2024-08-07 02:09:04 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-07 21:28:04 +0300 |
commit | 8681156c0939a7511c47b9cc462390a83f0e846a (patch) | |
tree | c2709241d6c34175b999eac6e07886f2f42373c2 /rust/helpers/signal.c | |
parent | ac13a4261afe81ca423eddd8e6571078fe2a7cea (diff) | |
download | linux-8681156c0939a7511c47b9cc462390a83f0e846a.tar.xz |
selftests/bpf: Add tests for bpf_get_dentry_xattr
Add test for bpf_get_dentry_xattr on hook security_inode_getxattr.
Verify that the kfunc can read the xattr. Also test failing getxattr
from user space by returning non-zero from the LSM bpf program.
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240806230904.71194-4-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions