linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] security/smack: fix misspellings using codespell tool
@ 2021-03-18 11:10 menglong8.dong
  2021-05-11 16:09 ` Casey Schaufler
  0 siblings, 1 reply; 2+ messages in thread
From: menglong8.dong @ 2021-03-18 11:10 UTC (permalink / raw)
  To: casey; +Cc: jmorris, serge, linux-security-module, linux-kernel, Xiong Zhenwu

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(-)

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;
 
-- 
2.25.1


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

end of thread, other threads:[~2021-05-11 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 11:10 [PATCH] security/smack: fix misspellings using codespell tool menglong8.dong
2021-05-11 16:09 ` Casey Schaufler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).