diff options
| author | Song Liu <[email protected]> | 2024-08-06 23:09:04 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-08-07 18:28:04 +0000 |
| commit | 8681156c0939a7511c47b9cc462390a83f0e846a (patch) | |
| tree | c2709241d6c34175b999eac6e07886f2f42373c2 /rust/helpers/mutex.c | |
| parent | bpf: Add kfunc bpf_get_dentry_xattr() to read xattr from dentry (diff) | |
| download | kernel-8681156c0939a7511c47b9cc462390a83f0e846a.tar.gz kernel-8681156c0939a7511c47b9cc462390a83f0e846a.zip | |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
