aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2008-03-06 20:23:49 -0500
committerJames Morris <jmorris@namei.org>2008-04-18 20:00:59 -0400
commit7cea51be4e91edad05bd834f3235b45c57783f0d (patch)
tree55843bf8ab3afc3e33a99e86391668d48355d614 /security
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>
Diffstat (limited to 'security')
-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);
83 * 83 *
84 * Each LSM must pass this method before registering its own operations 84 * Each LSM must pass this method before registering its own operations
85 * to avoid security registration races. This method may also be used 85 * to avoid security registration races. This method may also be used
86 * to check if your LSM is currently loaded. 86 * to check if your LSM is currently loaded during kernel initialization.
87 * 87 *
88 * Return true if: 88 * Return true if:
89 * -The passed LSM is the one chosen by user at boot time, 89 * -The passed LSM is the one chosen by user at boot time,