mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] LSM: Fix typo in a comment
@ 2023-07-02 17:08 Pairman Guo
  2023-07-05 22:35 ` Paul Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Pairman Guo @ 2023-07-02 17:08 UTC (permalink / raw)
  To: paul; +Cc: jmorris, serge, linux-security-module, linux-kernel, 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.

Signed-off-by: Pairman Guo <pairmanxlr@gmail.com>
---
 security/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/security.c b/security/security.c
index b720424ca37d..adaa7043c172 100644
--- a/security/security.c
+++ b/security/security.c
@@ -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


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

end of thread, other threads:[~2023-07-10 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 17:08 [PATCH] LSM: Fix typo in a comment Pairman Guo
2023-07-05 22:35 ` Paul Moore
2023-07-10 18:02   ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®