security: fix up documentation for security_module_enable
authorJames Morris <jmorris@namei.org>
Fri, 7 Mar 2008 01:23:49 +0000 (12:23 +1100)
committerJames Morris <jmorris@namei.org>
Sat, 19 Apr 2008 00:00:59 +0000 (10:00 +1000)
security_module_enable() can only be called during kernel init.

Signed-off-by: James Morris <jmorris@namei.org>
security/security.c

index dd0c6ba..4a6265a 100644 (file)
@@ -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,