lsm_choose_security(9)
β¨ 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:
lsm_choose_lsm(9)lsm_debug_enable(9)lsm_enabled_set(9)lsm_is_enabled(9)lsm_order_exists(9)lsm_order_append(9)lsm_order_parse(9)lsm_blob_size_update(9)lsm_prepare(9)lsm_init_single(9)lsm_static_call_init(9)security_add_hooks(9)early_security_init(9)security_init(9)security_initcall_pure(9)security_initcall_early(9)security_initcall_core(9)security_initcall_subsys(9)security_initcall_fs(9)security_initcall_device(9)security_initcall_late(9)security_initcall_late_sync(9)
cute little sign-off from the ./security source/version corner, dated October 2026, page lsm_choose_security(9). mwah ππ
π¦ 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