summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2008-03-07 12:23:49 +1100
committerJames Morris <jmorris@namei.org>2008-04-19 10:00:59 +1000
commit7cea51be4e91edad05bd834f3235b45c57783f0d (patch)
tree55843bf8ab3afc3e33a99e86391668d48355d614
parent076c54c5bcaed2081c0cba94a6f77c4d470236ad (diff)
security: fix up documentation for security_module_enable
security_module_enable() can only be called during kernel init. Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r--security/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/security.c b/security/security.c
index dd0c6baed494..4a6265ab3cc2 100644
--- a/security/security.c
+++ b/security/security.c
@@ -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,