Commit 7cea51be4e91edad05bd834f3235b45c57783f0d
1 parent
076c54c5bc
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
security/security.c
... | ... | @@ -83,7 +83,7 @@ |
83 | 83 | * |
84 | 84 | * Each LSM must pass this method before registering its own operations |
85 | 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 | 88 | * Return true if: |
89 | 89 | * -The passed LSM is the one chosen by user at boot time, |