From 7cea51be4e91edad05bd834f3235b45c57783f0d Mon Sep 17 00:00:00 2001
From: James Morris <jmorris@namei.org>
Date: Fri, 7 Mar 2008 12:23:49 +1100
Subject: [PATCH] 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>
---
 security/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
-- 
GitLab