Commit 7cea51be authored by James Morris's avatar James Morris

security: fix up documentation for security_module_enable

security_module_enable() can only be called during kernel init.
Signed-off-by: default avatarJames Morris <>
parent 076c54c5
......@@ -83,7 +83,7 @@ __setup("security=", choose_lsm);
* Each LSM must pass this method before registering its own operations
* to avoid security registration races. This method may also be used
* to check if your LSM is currently loaded.
* to check if your LSM is currently loaded during kernel initialization.
* Return true if:
* -The passed LSM is the one chosen by user at boot time,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment