security_inode_listsecurity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– security_inode_listsecurity β€” Kernel API Manual πŸ’–

okay bestie, welcome to the security_inode_listsecurity(9) page from the Kernel API Manual. It’s giving β€œlist the xattr security label names,” and honestly? iconic. πŸ¦‹

🌸 NAME 🌸

security_inode_listsecurity β€” List the xattr security label names

✨ SYNOPSIS ✨

int security_inode_listsecurity (struct inode *inode , char **buffer ,
       ssize_t *remaining_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” inode
  • buffer β€” pointer to buffer
  • remaining_size β€” pointer to remaining size of buffer

πŸ’… DESCRIPTION πŸ’…

Copy the extended attribute names for the security labels associated with inode into *(buffer). The remaining size of buffer is specified by *(remaining_size). *(buffer) may be NULL to request the size of the buffer required. Updates *(buffer) and *(remaining_size). No cap, that’s literally the whole job. ✨

πŸ”₯ RETURN πŸ”₯

Returns 0 on success, or -errno on failure. Slay when it’s 0, cry when it’s -errno. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./security/security.c β€” plus the entire related-call group chat, fr fr:

xoxo, source squad ./security β€” October 2026 β€” security_inode_listsecurity(9) πŸ’œπŸ«Ά

πŸ“¦ where this page comes from