lsm_choose_security(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, this is lsm_choose_security β€” the legacy "major" LSM selection. it lives in the Kernel API Manual, and it is giving very specific old-school kernel energy. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

int lsm_choose_security (char *str );

that signature is literally verbatim, no cap. ✨

πŸ’– ARGUMENTS πŸ’–

  • str β€” the kernel command line parameter. that's the whole argument, bestie. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

the squad is LONG and I am obsessed. first up, the kernel file ./security/lsm_init.c, then:


cute little sign-off from the ./security source/version corner, dated October 2026, page lsm_choose_security(9). mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from