xattr_full_name(9)
β¨ xattr_full_name(9) β from the Kernel API Manual, bestie β¨
okay so you found the page for xattr_full_name, and honestly? she's a little helper with main character energy π
let's get into it.
πΈ NAME πΈ
xattr_full_name β computes the full attribute name from a suffix. that's it, that's the gig π
π¦ SYNOPSIS π¦
const char * xattr_full_name (const struct xattr_handler *handler ,
const char *name );
π ARGUMENTS π
handlerβ the handler of thexattr_handleroperation π«Ά like, the one who owns the prefix, yk?nameβ the name that got passed to thexattr_handleroperation β¨
π DESCRIPTION π
okay so picture this: the get and set xattr handler operations get called with the remainder of the attribute name, right? like, after the handler's prefix has been skipped π so for example, "foo" is what gets passed to the get operation of a handler whose prefix is "user.", and that's how you get the attribute "user.foo".
and the whole time? the full name is still right there β "there" in the name. like it never left, it's just hiding behind the prefix π₯Ί iconic behavior honestly.
π₯ NOTE π₯
heads up bestie, this one matters: the list xattr handler operation, when it's called from the vfs, gets passed a NULL name π and some file systems use this operation internally, with varying semantics β so like, don't assume it always means the same thing, iykyk π
π SEE ALSO π
Kernel file ./fs/xattr.c β and the whole squad:
may_write_xattr(9)__vfs_setxattr_noperm(9)__vfs_setxattr_locked(9)vfs_listxattr(9)__vfs_removexattr_locked(9)generic_listxattr(9)simple_xattr_space(9)simple_xattr_free(9)simple_xattr_free_rcu(9)simple_xattr_alloc(9)simple_xattr_get(9)simple_xattr_set(9)simple_xattr_set_limited(9)simple_xattr_list(9)simple_xattr_add(9)simple_xattr_add_limited(9)simple_xattrs_free(9)simple_xattr_cache_cleanup(9)
and that's the page!! π§ from ./fs, dated October 2026, and yeah β it's xattr_full_name(9) all the way down. slay, go read the whole crew, ily, bye ππ
π¦ 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