diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2025-01-21 10:44:44 +0800 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2025-02-10 11:16:45 -0800 |
| commit | aa904fa1182b1a4470bb082f6cddacc1dc4e8032 (patch) | |
| tree | 59c2af6ee68f1176d3739b9fbe9d4b3ce7a51ad9 /security/apparmor/file.c | |
| parent | 509f8cb2fff927eeb5eb0ebdd410ec6f40430173 (diff) | |
apparmor: Modify mismatched function name
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>
Diffstat (limited to 'security/apparmor/file.c')
| -rw-r--r-- | security/apparmor/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/file.c b/security/apparmor/file.c index 85f89814af1e..f113eedbc208 100644 --- a/security/apparmor/file.c +++ b/security/apparmor/file.c @@ -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 |