aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/security/security.c b/security/security.c
index d0e07f269b2d..23555c5504f6 100644
--- a/security/security.c
+++ b/security/security.c
@@ -103,10 +103,14 @@ static int lsm_append(char *new, char **result)
103 * to avoid security registration races. This method may also be used 103 * to avoid security registration races. This method may also be used
104 * to check if your LSM is currently loaded during kernel initialization. 104 * to check if your LSM is currently loaded during kernel initialization.
105 * 105 *
106 * Return true if: 106 * Returns:
107 * -The passed LSM is the one chosen by user at boot time, 107 *
108 * -or the passed LSM is configured as the default and the user did not 108 * true if:
109 * choose an alternate LSM at boot time. 109 *
110 * - The passed LSM is the one chosen by user at boot time,
111 * - or the passed LSM is configured as the default and the user did not
112 * choose an alternate LSM at boot time.
113 *
110 * Otherwise, return false. 114 * Otherwise, return false.
111 */ 115 */
112int __init security_module_enable(const char *module) 116int __init security_module_enable(const char *module)