summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2022-09-24 22:25:25 -0700
committerJohn Johansen <john.johansen@canonical.com>2022-10-03 14:49:04 -0700
commit1ddece8cd0f43582085497eacff2e3cd37f93d1f (patch)
treea906dbbdc15912a9744d764a3255a35fd3e9eca7 /security
parent65f7f666f21ce374628d58b3cc48515070f31e72 (diff)
downloadlinux-stable-1ddece8cd0f43582085497eacff2e3cd37f93d1f.tar.gz
linux-stable-1ddece8cd0f43582085497eacff2e3cd37f93d1f.tar.bz2
linux-stable-1ddece8cd0f43582085497eacff2e3cd37f93d1f.zip
apparmor: Fix doc comment for compute_fperms
When compute_fperms was moved to policy_compat and made static it was renamed from aa_compute_fperms to just compute_fperms to help indicate it is only available statically. Unfortunately the doc comment did not also get updated to reflect the change. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/policy_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/policy_compat.c b/security/apparmor/policy_compat.c
index 1aa5cced935e..9e52e218bf30 100644
--- a/security/apparmor/policy_compat.c
+++ b/security/apparmor/policy_compat.c
@@ -140,8 +140,8 @@ static struct aa_perms compute_fperms_other(struct aa_dfa *dfa,
}
/**
- * aa_compute_fperms - convert dfa compressed perms to internal perms and store
- * them so they can be retrieved later.
+ * compute_fperms - convert dfa compressed perms to internal perms and store
+ * them so they can be retrieved later.
* @dfa: a dfa using fperms to remap to internal permissions
*
* Returns: remapped perm table