lsm_init_single(9)
π lsm_init_single β like, the Kernel API Manual page, bestie β¨
okay so real talk: this is lsm_init_single(9) from the Kernel API Manual, and it's genuinely one of those tiny-but-iconic little functions that does exactly one thing and does it slayfully. no cap.
β¨ NAME β¨
lsm_init_single β Initialize a given LSM π
likeβ¦ that's it. that's the whole job. one LSM, one init. she's focused. she's main character energy. π
πΈ SYNOPSIS πΈ
void lsm_init_single (struct lsm_info *lsm );
look at her. returns void (so don't come looking for a return value, she's not giving you one π«Ά), takes exactly one pointer, and it points at a struct lsm_info. that's the vibe check and she passed it.
π¦ ARGUMENTS π¦
lsmβ the LSM definition, bestie. that's the whole argument. it's the LSM you're initializing. iykyk π§
fr fr, that's the only argument on the whole page. no hidden extras, no secretflagsparam, nothing. justlsm. π
π SEE ALSO π
okay this is the part where she name-drops literally everyone in her contacts list, and honestly? iconic. π
Kernel file: ./security/lsm_init.c β that's where she lives, that's her address π
and the whole friend group:
lsm_choose_security(9)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_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)
like, the way that list just keeps going?? she's connected. she knows people. β
and that's the page, bestie!! π mwah π
π«Ά cute lil sign-off: this one's from ./security β dated October 2026 β and that's the whole vibe. go init some LSMs responsibly. π₯
π¦ 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