diff options
author | Pairman Guo <pairmanxlr@gmail.com> | 2023-07-03 01:08:57 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-07-10 13:59:37 -0400 |
commit | ff72942caa586f2c0a81e2fbae2e8ea5e131d38f (patch) | |
tree | 1b4c4cb0637537863754b9a5ddbd036f1e14e935 /security | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
download | linux-stable-ff72942caa586f2c0a81e2fbae2e8ea5e131d38f.tar.gz linux-stable-ff72942caa586f2c0a81e2fbae2e8ea5e131d38f.tar.bz2 linux-stable-ff72942caa586f2c0a81e2fbae2e8ea5e131d38f.zip |
lsm: fix typo in security_file_lock() comment header
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.
Signed-off-by: Pairman Guo <pairmanxlr@gmail.com>
[PM: commit message cleanup]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |