security: update documentation for security_request_module
authorJames Morris <jmorris@namei.org>
Fri, 14 Aug 2009 01:19:29 +0000 (11:19 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 14 Aug 2009 01:19:29 +0000 (11:19 +1000)
Update documentation for security_request_module to indicate
return value, as suggested by Serge Hallyn.

Signed-off-by: James Morris <jmorris@namei.org>
include/linux/security.h

index 1e3dd86..a16d6b7 100644 (file)
@@ -681,6 +681,7 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
  * @kernel_module_request:
  *     Ability to trigger the kernel to automatically upcall to userspace for
  *     userspace to load a kernel module with the given name.
+ *     Return 0 if successful.
  * @task_setuid:
  *     Check permission before setting one or more of the user identity
  *     attributes of the current process.  The @flags parameter indicates