summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-08-14 11:19:29 +1000
committerJames Morris <jmorris@namei.org>2009-08-14 11:19:29 +1000
commitf322abf83feddc3c37c3a91794e0c5aece4af18e (patch)
tree60cdb95cc38e85a3d13714f1d2b7dfa01434e7e4 /include
parent25354c4fee169710fd9da15f3bb2abaa24dcf933 (diff)
downloadop-kernel-dev-f322abf83feddc3c37c3a91794e0c5aece4af18e.zip
op-kernel-dev-f322abf83feddc3c37c3a91794e0c5aece4af18e.tar.gz
security: update documentation for security_request_module
Update documentation for security_request_module to indicate return value, as suggested by Serge Hallyn. Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/security.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 1e3dd86..a16d6b7 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -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
OpenPOWER on IntegriCloud