lsm_choose_lsm(9)
π lsm_choose_lsm(9) β like, the modern LSM selection era
okay so bestie, welcome to the Kernel API Manual page for lsm_choose_lsm(9) β yes that's the manual name, don't @ me, we're doing this properly β¨
πΈ NAME πΈ
lsm_choose_lsm β modern LSM selection, and yes the "modern" is doing a lot of heavy lifting in that sentence, we love that for it π
π¦ SYNOPSIS π¦
int lsm_choose_lsm (char *str );
like literally that's the whole signature, she's compact, she's iconic, she ate π
β¨ ARGUMENTS β¨
strβ the kernel command line parameter π«Ά that's it, that's the whole argument, no cap
π SEE ALSO π
so many friends!! the whole group chat is here, and first up we have the kernel file ./security/lsm_init.c which is lowkey the main character of this whole situation π§
and then, alphabetically-ish, all the besties:
lsm_choose_security(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)
the way that list just keeps going β she's thorough, she's committed, she's giving main character energy fr fr π
π reminder bestie: every one of those is a real reference, don't go skipping any of them just because the list is long, iykyk
and that's the page!! π this lil sign-off comes to you from <./security> in the source tree, version dated October 2026 β mwah, go read the other pages, ily, bye πππ¦
π¦ 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