Skip to contentSkip to conversation

LSM: Fix typo in a comment

PATCH In review Pairman Guo 2 participants 3 messages Jul 2, 2023 – Jul 10, 2023 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LSM: Fix typo in a comment

Hi maintainers,

In the description of function definition security_file_lock(), the line "@cmd: fnctl command" has a typo where "fnctl" should be "fcntl". This patch fixes the typo.

Please merge if it is the case. Thanks in advance.

---
 security/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/security.c +1 -1
index b720424ca37d..adaa7043c172 100644
@@ -2717,7 +2717,7 @@ int security_file_lock(struct file *file, unsigned int cmd)
 /**
  * security_file_fcntl() - Check if fcntl() op is allowed
  * @file: file
- * @cmd: fnctl command
+ * @cmd: fcntl command
  * @arg: command argument
  *
  * Check permission before allowing the file operation specified by @cmd from
Signature · 1 line
2.41.0
maintainer
#1 lore raw
Quoted 7 lines · Pairman Guo

Hi maintainers,

In the description of function definition security_file_lock(), the line "@cmd: fnctl command" has a typo where "fnctl" should be "fcntl". This patch fixes the typo.

Quoted 6 lines

Please merge if it is the case. Thanks in advance.

---
 security/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This looks good to me, I'll plan to merge this once the merge window closes. Thanks.

Quoted 15 lines
security/security.c +1 -2
index b720424ca37d..adaa7043c172 100644
@@ -2717,7 +2717,7 @@ int security_file_lock(struct file *file, unsigned int cmd)
 /**
  * security_file_fcntl() - Check if fcntl() op is allowed
  * @file: file
- * @cmd: fnctl command
+ * @cmd: fcntl command
  * @arg: command argument
  *
  * Check permission before allowing the file operation specified by @cmd from
--

2.41.0

Signature · 1 line
paul-moore.com
maintainer
#2 lore raw
Quoted 10 lines · Paul Moore
Quoted 9 lines · Pairman Guo

Hi maintainers,

In the description of function definition security_file_lock(), the line "@cmd: fnctl command" has a typo where "fnctl" should be "fcntl". This patch fixes the typo.

Please merge if it is the case. Thanks in advance.

Quoted 7 lines
Quoted 4 lines
---
 security/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This looks good to me, I'll plan to merge this once the merge window closes. Thanks.

I'm merging this into lsm/next now, thanks!

Signature · 1 line
paul-moore.com