aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2003-09-16 23:21:14 -0700
committerLinus Torvalds <torvalds@laptop.osdl.org>2003-09-16 23:21:14 -0700
commit9506f5643386a99837da187c23d9bc1156985bf7 (patch)
tree406508d4e4209132ceb2029ad34055b7109e5c60 /security
parent5db09655e91a8572952447268a54d5b4cd72f9cf (diff)
downloadhistory-9506f5643386a99837da187c23d9bc1156985bf7.tar.gz
[PATCH] LSM comment fixup
From: John Levon <levon@movementarian.org> LSM: Update comments in register_security to reflect reality
Diffstat (limited to 'security')
-rw-r--r--security/security.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c
index 0fb1ad99cd3cd7..d74f708c520abb 100644
--- a/security/security.c
+++ b/security/security.c
@@ -79,9 +79,8 @@ int __init security_scaffolding_startup (void)
* value passed to this function. A call to unregister_security() should be
* done to remove this security_options structure from the kernel.
*
- * If the @ops structure does not contain function pointers for all hooks in
- * the structure, or there is already a security module registered with the
- * kernel, an error will be returned. Otherwise 0 is returned on success.
+ * If there is already a security module registered with the kernel,
+ * an error will be returned. Otherwise 0 is returned on success.
*/
int register_security (struct security_operations *ops)
{