[PATCH] security: fix misspellings using codespell tool

menglong8.dong at gmail.com menglong8.dong at gmail.com
Thu Mar 18 12:00:17 UTC 2021


From: Xiong Zhenwu <xiong.zhenwu at zte.com.cn>

A typo is found out by codespell tool:

$ codespell ./security

./security/commoncap.c:1135: capabilties  ==> capabilities

Fix a typo found by codespell.

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

diff --git a/security/commoncap.c b/security/commoncap.c
index 1c519c875217..598d077572c0 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -1132,7 +1132,7 @@ int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags)
 		break;
 
 	case LSM_SETID_FS:
-		/* juggle the capabilties to follow FSUID changes, unless
+		/* juggle the capabilities to follow FSUID changes, unless
 		 * otherwise suppressed
 		 *
 		 * FIXME - is fsuser used for all CAP_FS_MASK capabilities?
-- 
2.25.1



More information about the Linux-security-module-archive mailing list