bpf_remove_dentry_xattr(9)
okay so bestie, this is bpf_remove_dentry_xattr(9) from the Kernel API Manual β and itβs giving βremove a xattr of a dentryβ energy in the most iconic way π
β¨
π NAME π
bpf_remove_dentry_xattr β remove a xattr of a dentry π«Ά
β¨ SYNOPSIS β¨
__bpf_kfunc int bpf_remove_dentry_xattr (struct dentry *dentry , const
char *name__str );
πΈ ARGUMENTS πΈ
dentryβ dentry to get xattr from. Thatβs the dentry target, bestie πname__strβ name of the xattr. Itβs literally the string name youβre working with π·οΈ
π¦ DESCRIPTION π¦
Remove xattr name__str of dentry. Periodt π
Security check time π¨: for security reasons, only name__str with prefix "security.bpf." is allowed.
Also, important context: the caller has not locked dentry->d_inode. Thatβs the situation, no cap π«Ά.
π₯ RETURN π₯
0 on success, a negative value on error. Thatβs the whole return vibe πβ¨
π SEE ALSO π
Kernel file ./fs/bpf_fs_kfuncs.c β plus these icons, all right here:
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_remove_dentry_xattr_locked(9)bpf_set_dentry_xattr(9)bpf_cgroup_read_xattr(9)bpf_sock_read_xattr(9)bpf_real_data_inode(9)
kisses bestie π β source ./fs, date October 2026, and yes weβre still talking about bpf_remove_dentry_xattr(9) ππ¦
π¦ 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