Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
7cea51be4e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
  * Each LSM must pass this method before registering its own operations
  * to avoid security registration races. This method may also be used
  * 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:
  * Return true if:
  *	-The passed LSM is the one chosen by user at boot time,
  *	-The passed LSM is the one chosen by user at boot time,