aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/security/apparmor/label.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-11-17 15:37:58 +0800
committerJohn Johansen <john.johansen@canonical.com>2022-07-09 15:13:59 -0700
commit240516df88795b9740cdc5b6b1fcc847763d46dd (patch)
tree16062fef0d12e134aab5d444747418640ff767ab /security/apparmor/label.c
parentapparmor: fix absroot causing audited secids to begin with = (diff)
downloadwireguard-linux-240516df88795b9740cdc5b6b1fcc847763d46dd.tar.xz
wireguard-linux-240516df88795b9740cdc5b6b1fcc847763d46dd.zip
apparmor: Fix kernel-doc
Fix function name in security/apparmor/label.c, policy.c, procattr.c kernel-doc comment to remove some warnings found by clang(make W=1 LLVM=1). security/apparmor/label.c:499: warning: expecting prototype for aa_label_next_not_in_set(). Prototype was for __aa_label_next_not_in_set() instead security/apparmor/label.c:2147: warning: expecting prototype for __aa_labelset_udate_subtree(). Prototype was for __aa_labelset_update_subtree() instead security/apparmor/policy.c:434: warning: expecting prototype for aa_lookup_profile(). Prototype was for aa_lookupn_profile() instead security/apparmor/procattr.c:101: warning: expecting prototype for aa_setprocattr_chagnehat(). Prototype was for aa_setprocattr_changehat() instead Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/label.c')
-rw-r--r--security/apparmor/label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/label.c b/security/apparmor/label.c
index 4bdb558696e8..9eb9a9237926 100644
--- a/security/apparmor/label.c
+++ b/security/apparmor/label.c
@@ -485,7 +485,7 @@ int aa_label_next_confined(struct aa_label *label, int i)
}
/**
- * aa_label_next_not_in_set - return the next profile of @sub not in @set
+ * __aa_label_next_not_in_set - return the next profile of @sub not in @set
* @I: label iterator
* @set: label to test against
* @sub: label to if is subset of @set
@@ -2137,7 +2137,7 @@ static void __labelset_update(struct aa_ns *ns)
}
/**
- * __aa_labelset_udate_subtree - update all labels with a stale component
+ * __aa_labelset_update_subtree - update all labels with a stale component
* @ns: ns to start update at (NOT NULL)
*
* Requires: @ns lock be held