lsm_order_append(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ lsm_order_append πŸŽ€

okay so bestie, welcome to the lsm_order_append page from the Kernel API Manual β€” yes, the kernel has lore and yes, we're gonna read it together πŸ’…


✨ NAME ✨

lsm_order_append β€” append a LSM to the ordered list πŸ¦‹

✨ SYNOPSIS ✨

void lsm_order_append (struct lsm_info *lsm , const char *src );

like literally that's it. two args, no notes πŸ’–

✨ ARGUMENTS ✨

  • lsm β€” the LSM definition itself, the whole little struct of it 🫢
  • src β€” where this addition came from, i.e. the source of the addition 🌸

✨ DESCRIPTION ✨

so what it does is append lsm to the enabled LSM array β€” but NOT before it's done a lil vibe check first, bestie πŸ‘‘

it only goes through after ensuring that the LSM:

  • hasn't been explicitly disabled πŸ™ˆ
  • isn't a duplicate entry πŸ’€
  • wouldn't run afoul of the LSM_FLAG_EXCLUSIVE logic πŸ”₯

three strikes and it's not getting appended, periodt. it's giving bouncer-at-the-club energy and honestly? iconic ✨

✨ SEE ALSO ✨

Kernel file ./security/lsm_init.c, plus the whole squad:


and that's the whole page, bestie, we ate and left no crumbs πŸ“ source is ./security, version date October 2026 β€” go off, kernel manual, you absolute queen πŸŒˆπŸ’œ

πŸ“¦ where this page comes from