소스 검색

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>
James Morris 15 년 전
부모
커밋
f322abf83f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/linux/security.h

+ 1 - 0
include/linux/security.h

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