lsm_name_to_attr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lsm_name_to_attr(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual page for lsm_name_to_attr(9) β€” it’s giving tiny lookup icon and we’re literally obsessed. ✨


🌸 NAME 🌸

lsm_name_to_attr β€” map an LSM attribute name to its ID πŸŽ€


✨ SYNOPSIS ✨

u64 lsm_name_to_attr (const char *name );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • name β€” name of the attribute. the whole vibe check for this function, ngl πŸ’…

🌈 DESCRIPTION 🌈

Returns the LSM attribute value associated with name, or 0 if there is no mapping. so you hand over a name, and it gives you back the matching LSM attribute value β€” and if there’s no mapping, you get 0, periodt. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

these are the related kernel besties to go read next, iykyk πŸ‘‘βœ¨


big sign-off from the ./security source tree, October 2026 edition β€” stay iconic, bestie πŸ«ΆπŸŽ€πŸ’œ

πŸ“¦ where this page comes from