bpf_remove_d...xattr_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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