A doc warning fix from ChenXiaoSong.

tomoyo: fix doc warnings
 
  security/tomoyo/audit.c         |    1 +
  security/tomoyo/securityfs_if.c |    1 +
  security/tomoyo/tomoyo.c        |   12 +++++-------
  security/tomoyo/util.c          |    4 ++--
  4 files changed, 9 insertions(+), 9 deletions(-)
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (GNU/Linux)
 
 iQIcBAABAgAGBQJg2ZlQAAoJEEJfEo0MZPUq3NcP/3S6tvXZPde9UpQlqDGolLzf
 nmLBr013CesLxuC7Zz3w7DXg6Nn/swH13Fui3J/a3xZZ8XrtP3u1Wv90x/+gWz7U
 7FPBIBXf3CW7SzhVMaiSWaZmSzVUrio88KyIQ7dEGo94wCKQj6qXac83cKIqv4tj
 O5MX6Ku2PZejljOHyKG1+601Qw6hCtohO/dQpOw827E5wlj3ZDGwc6OjaNpC5r1N
 sKX1ng3Gf4zOwJCXTU63+PxaQiqtpV4+puHtwxJdsAWlhJbcIBVECIzgKUB6SqBF
 jiL+5K/y5eQlGShtJwIZ1+RnQeYRHlgBWBjJVvUmNGHz74LfhXqoCNEAlbQRPb+q
 /A1Ze+2nq+Ei71soXgHGjCgZth9vxjdJi2enRJhWQfObwO1Ebt62vCmOK+E/JcSV
 MVvwHRKdgYry7lDrLnjstvEijcIcldE+rOxmLC7cgtC+YEScHRq04c69C8uOkID6
 3mepBW/u6xZKVYE3rLcV8o2lNZbNxL/eUMJOJgc0sdn92hgefL8WXNLtxHtsiBT9
 kG+YRXvhVSB8l7dtf2Zhi9ZpmCD0RWj6sku5Ft+qihFsYi7S3deRuEmBwzb2l+Ln
 LpiCiI0SLwoZodGcWVt9MHdLfP2NsGoTw/mOD2Gm3tJ2NAkq80CAw9GhrUgf6DCA
 3dgtyCQ5NnIsgUqE2xlV
 =YEpU
 -----END PGP SIGNATURE-----

Merge tag 'tomoyo-pr-20210628' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1

Pull tomoyo fix from Tetsuo Handa:
 "A doc warning fix from ChenXiaoSong"

* tag 'tomoyo-pr-20210628' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1:
  tomoyo: fix doc warnings
This commit is contained in:
Linus Torvalds 2021-06-28 16:13:37 -07:00
commit 9cd19f02c4
4 changed files with 9 additions and 9 deletions

View File

@ -320,6 +320,7 @@ static unsigned int tomoyo_log_count;
* @ns: Pointer to "struct tomoyo_policy_namespace".
* @profile: Profile number.
* @index: Index number of functionality.
* @matched_acl: Pointer to "struct tomoyo_acl_info".
* @is_granted: True if granted log, false otherwise.
*
* Returns true if this request should be audited, false otherwise.

View File

@ -139,6 +139,7 @@ static int tomoyo_open(struct inode *inode, struct file *file)
/**
* tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface.
*
* @inode: Pointer to "struct inode".
* @file: Pointer to "struct file".
*
*/

View File

@ -63,7 +63,7 @@ static void tomoyo_bprm_committed_creds(struct linux_binprm *bprm)
#ifndef CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER
/**
* tomoyo_bprm_for_exec - Target for security_bprm_creds_for_exec().
* tomoyo_bprm_creds_for_exec - Target for security_bprm_creds_for_exec().
*
* @bprm: Pointer to "struct linux_binprm".
*
@ -113,8 +113,7 @@ static int tomoyo_bprm_check_security(struct linux_binprm *bprm)
/**
* tomoyo_inode_getattr - Target for security_inode_getattr().
*
* @mnt: Pointer to "struct vfsmount".
* @dentry: Pointer to "struct dentry".
* @path: Pointer to "struct path".
*
* Returns 0 on success, negative value otherwise.
*/
@ -300,8 +299,7 @@ static int tomoyo_file_fcntl(struct file *file, unsigned int cmd,
/**
* tomoyo_file_open - Target for security_file_open().
*
* @f: Pointer to "struct file".
* @cred: Pointer to "struct cred".
* @f: Pointer to "struct file".
*
* Returns 0 on success, negative value otherwise.
*/
@ -487,8 +485,8 @@ struct lsm_blob_sizes tomoyo_blob_sizes __lsm_ro_after_init = {
/**
* tomoyo_task_alloc - Target for security_task_alloc().
*
* @task: Pointer to "struct task_struct".
* @flags: clone() flags.
* @task: Pointer to "struct task_struct".
* @clone_flags: clone() flags.
*
* Returns 0.
*/

View File

@ -83,8 +83,8 @@ const u8 tomoyo_index2category[TOMOYO_MAX_MAC_INDEX] = {
/**
* tomoyo_convert_time - Convert time_t to YYYY/MM/DD hh/mm/ss.
*
* @time: Seconds since 1970/01/01 00:00:00.
* @stamp: Pointer to "struct tomoyo_time".
* @time64: Seconds since 1970/01/01 00:00:00.
* @stamp: Pointer to "struct tomoyo_time".
*
* Returns nothing.
*/