diff options
author | 2024-08-06 16:09:03 -0700 | |
---|---|---|
committer | 2024-08-07 11:26:54 -0700 | |
commit | ac13a4261afe81ca423eddd8e6571078fe2a7cea (patch) | |
tree | 246708b788e0667c88f3294d90fbe431b0b32963 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Move bpf_get_file_xattr to fs/bpf_fs_kfuncs.c (diff) | |
download | wireguard-linux-ac13a4261afe81ca423eddd8e6571078fe2a7cea.tar.xz wireguard-linux-ac13a4261afe81ca423eddd8e6571078fe2a7cea.zip |
bpf: Add kfunc bpf_get_dentry_xattr() to read xattr from dentry
This kfunc can be used in LSM hooks with dentry, such as:
security_inode_listxattr
security_inode_permission
and many more.
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240806230904.71194-3-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions