bpf_remove_d...xattr_locked(9)
π bpf_remove_d...xattr_locked(9) π
Ok bestie, welcome to the Kernel API Manual β this page is all about bpf_remove_dentry_xattr_locked, and yes the title is abbreviated because terminal life is rough. π«Ά
πΈ NAME πΈ
bpf_remove_dentry_xattr_locked β remove a xattr of a dentry.
β¨ SYNOPSIS β¨
int bpf_remove_dentry_xattr_locked (struct dentry *dentry , const char *name__str );
π ARGUMENTS π
dentryβ dentry to get xattr from.name__strβ name of the xattr.
π¦ DESCRIPTION π¦
Rmove xattr name__str of dentry. (Yep, βRmoveβ is literally what the original says β weβre keeping the typo, itβs part of the lore. π)
For security reasons, only name__str with prefix "security.bpf." is allowed. No cap, that prefix is not optional. π₯
The caller already locked dentry->d_inode. So likeβ¦ donβt come in here unlocked, bestie. π
π RETURN π
0 on success, a negative value on error.
π SEE ALSO π
- Kernel file
./fs/bpf_fs_kfuncs.c bpf_get_task_exe_file(9)bpf_put_file(9)bpf_path_d_path(9)bpf_get_dentry_xattr(9)bpf_get_file_xattr(9)bpf_set_dentry_xattr_locked(9)bpf_set_dentry_xattr(9)bpf_remove_dentry_xattr(9)bpf_cgroup_read_xattr(9)bpf_sock_read_xattr(9)bpf_real_data_inode(9)
Cute sign-off: source/version is ./fs, date is October 2026, and the page is bpf_remove_d...xattr_locked(9). Slay, you made it to the end. πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms