summaryrefslogtreecommitdiff
path: root/rust/helpers/signal.c
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2024-08-07 02:09:04 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-08-07 21:28:04 +0300
commit8681156c0939a7511c47b9cc462390a83f0e846a (patch)
treec2709241d6c34175b999eac6e07886f2f42373c2 /rust/helpers/signal.c
parentac13a4261afe81ca423eddd8e6571078fe2a7cea (diff)
downloadlinux-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