diff mbox series

security/smack: fix misspellings using codespell tool

Message ID 20210318111024.472126-1-xiong.zhenwu@zte.com.cn (mailing list archive)
State New, archived
Headers show
Series security/smack: fix misspellings using codespell tool | expand

Commit Message

Menglong Dong March 18, 2021, 11:10 a.m. UTC
From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>

A typo is found out by codespell tool in 116th line of smackfs.c:

$ codespell ./security/smack
./smackfs.c:116: lables  ==> labels

Fix a typo found by codespell.

Signed-off-by: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
---
 security/smack/smackfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Casey Schaufler May 11, 2021, 4:09 p.m. UTC | #1
On 3/18/2021 4:10 AM, menglong8.dong@gmail.com wrote:
> From: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>
>
> A typo is found out by codespell tool in 116th line of smackfs.c:
>
> $ codespell ./security/smack
> ./smackfs.c:116: lables  ==> labels
>
> Fix a typo found by codespell.
>
> Signed-off-by: Xiong Zhenwu <xiong.zhenwu@zte.com.cn>

Added to smack-next. Thank you.

> ---
>  security/smack/smackfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
> index 22ded2c26089..ef8625cb3f2a 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -113,7 +113,7 @@ struct smack_known *smack_syslog_label;
>   * SMACK_PTRACE_DEFAULT    regular smack ptrace rules (/proc based)
>   * SMACK_PTRACE_EXACT      labels must match, but can be overriden with
>   *			   CAP_SYS_PTRACE
> - * SMACK_PTRACE_DRACONIAN  lables must match, CAP_SYS_PTRACE has no effect
> + * SMACK_PTRACE_DRACONIAN  labels must match, CAP_SYS_PTRACE has no effect
>   */
>  int smack_ptrace_rule = SMACK_PTRACE_DEFAULT;
>
diff mbox series

Patch

diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 22ded2c26089..ef8625cb3f2a 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -113,7 +113,7 @@  struct smack_known *smack_syslog_label;
  * SMACK_PTRACE_DEFAULT    regular smack ptrace rules (/proc based)
  * SMACK_PTRACE_EXACT      labels must match, but can be overriden with
  *			   CAP_SYS_PTRACE
- * SMACK_PTRACE_DRACONIAN  lables must match, CAP_SYS_PTRACE has no effect
+ * SMACK_PTRACE_DRACONIAN  labels must match, CAP_SYS_PTRACE has no effect
  */
 int smack_ptrace_rule = SMACK_PTRACE_DEFAULT;