diff options
| author | Song Liu <[email protected]> | 2024-08-06 23:09:03 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-08-07 18:26:54 +0000 |
| commit | ac13a4261afe81ca423eddd8e6571078fe2a7cea (patch) | |
| tree | 246708b788e0667c88f3294d90fbe431b0b32963 /rust/helpers/mutex.c | |
| parent | bpf: Move bpf_get_file_xattr to fs/bpf_fs_kfuncs.c (diff) | |
| download | kernel-ac13a4261afe81ca423eddd8e6571078fe2a7cea.tar.gz kernel-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 <[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
