瀏覽代碼

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>
James Morris 17 年之前
父節點
當前提交
7cea51be4e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      security/security.c

+ 1 - 1
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,