Commit 9506f564 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds

[PATCH] LSM comment fixup

 From: John Levon <levon@movementarian.org>

 LSM: Update comments in register_security to reflect reality
parent 5db09655
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment