]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: Modify mismatched function name
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 21 Jan 2025 02:44:44 +0000 (10:44 +0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 10 Feb 2025 19:16:45 +0000 (11:16 -0800)
No functional modification involved.

security/apparmor/file.c:184: warning: expecting prototype for aa_lookup_fperms(). Prototype was for aa_lookup_condperms() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13605
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/file.c

index 85f89814af1e27101aeaa518fb3da4b85b44ed23..f113eedbc208fe5b7502942ec3c2a36853346984 100644 (file)
@@ -169,7 +169,7 @@ static int path_name(const char *op, const struct cred *subj_cred,
 
 struct aa_perms default_perms = {};
 /**
- * aa_lookup_fperms - convert dfa compressed perms to internal perms
+ * aa_lookup_condperms - convert dfa compressed perms to internal perms
  * @subj_uid: uid to use for subject owner test
  * @rules: the aa_policydb to lookup perms for  (NOT NULL)
  * @state: state in dfa