All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tomoyo: Fix typo in comment
@ 2022-06-24  7:02 Xiang wangx
  2022-06-24 10:05 ` Tetsuo Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Xiang wangx @ 2022-06-24  7:02 UTC (permalink / raw)
  To: takedakn
  Cc: penguin-kernel, jmorris, serge, linux-security-module,
	linux-kernel, Xiang wangx

Delete the redundant word 'path'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 security/tomoyo/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c
index 1e6077568fde..772f7e1ddf6e 100644
--- a/security/tomoyo/file.c
+++ b/security/tomoyo/file.c
@@ -286,7 +286,7 @@ static bool tomoyo_check_path_number_acl(struct tomoyo_request_info *r,
 }
 
 /**
- * tomoyo_check_path2_acl - Check permission for path path operation.
+ * tomoyo_check_path2_acl - Check permission for path operation.
  *
  * @r:   Pointer to "struct tomoyo_request_info".
  * @ptr: Pointer to "struct tomoyo_acl_info".
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tomoyo: Fix typo in comment
  2022-06-24  7:02 [PATCH] tomoyo: Fix typo in comment Xiang wangx
@ 2022-06-24 10:05 ` Tetsuo Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Tetsuo Handa @ 2022-06-24 10:05 UTC (permalink / raw)
  To: Xiang wangx; +Cc: jmorris, serge, linux-security-module, linux-kernel, takedakn

Thanks for a patch, but current is correct. ("path2" means takes two path arguments)

On 2022/06/24 16:02, Xiang wangx wrote:
> Delete the redundant word 'path'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>  security/tomoyo/file.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c
> index 1e6077568fde..772f7e1ddf6e 100644
> --- a/security/tomoyo/file.c
> +++ b/security/tomoyo/file.c
> @@ -286,7 +286,7 @@ static bool tomoyo_check_path_number_acl(struct tomoyo_request_info *r,
>  }
>  
>  /**
> - * tomoyo_check_path2_acl - Check permission for path path operation.
> + * tomoyo_check_path2_acl - Check permission for path operation.
>   *
>   * @r:   Pointer to "struct tomoyo_request_info".
>   * @ptr: Pointer to "struct tomoyo_acl_info".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-24 10:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  7:02 [PATCH] tomoyo: Fix typo in comment Xiang wangx
2022-06-24 10:05 ` Tetsuo Handa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.