Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,