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 <jmorris@namei.org>
parent 076c54c5
...@@ -83,7 +83,7 @@ __setup("security=", choose_lsm); ...@@ -83,7 +83,7 @@ __setup("security=", choose_lsm);
* *
* Each LSM must pass this method before registering its own operations * Each LSM must pass this method before registering its own operations
* to avoid security registration races. This method may also be used * 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: * Return true if:
* -The passed LSM is the one chosen by user at boot time, * -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