security_init(9)
π security_init(9) β LSM framework init, bestie π
okay so we're looking at security_init(9) from the Kernel API Manual, and honestly? Short page, big main-character energy. Let's get into it. β¨
β¨ NAME β¨
security_init β initializes the LSM framework. That's it, that's the name, she's concise and booked. π
πΈ SYNOPSIS πΈ
bestie, here's the signature exactly as it is:
int security_init (void );
π ARGUMENTS π
voidβ no arguments. Not even one. The arg list is giving absolutely nothing, and we love that for her. π
π¦ DESCRIPTION π¦
This should be called early in the kernel initialization sequence. Like, early early β that's the actual instruction. No cap. She initializes the LSM framework, so yeah, she's doing important framework setup business. π
π SEE ALSO π
okay the friend group is huge and we're not leaving anyone out. The page shouts out the kernel file ./security/lsm_init.c, plus all these function besties:
- Kernel file
./security/lsm_init.c 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_init_single(9)lsm_static_call_init(9)security_add_hooks(9)early_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)
π that's the whole page, bestie! source/version:./security; date:October 2026; page:security_init(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