diff options
author | Song Liu <[email protected]> | 2024-08-06 16:09:04 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-08-07 11:28:04 -0700 |
commit | 8681156c0939a7511c47b9cc462390a83f0e846a (patch) | |
tree | c2709241d6c34175b999eac6e07886f2f42373c2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ac13a4261afe81ca423eddd8e6571078fe2a7cea (diff) |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions