summaryrefslogtreecommitdiff
path: root/security/apparmor/resource.c
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-09-26 19:48:38 +0800
committerJohn Johansen <john.johansen@canonical.com>2022-10-24 22:35:23 -0700
commit1f2bc06a8dbff73957f433b22c6fd35fccfb47a4 (patch)
treed5508f6710f610523da8f7c62b5bc95ceddc058d /security/apparmor/resource.c
parent2f7a29debae2efef94b981377fa3622986cd57f5 (diff)
apparmor: fix obsoleted comments for aa_getprocattr() and audit_resource()
Update the comments for aa_getprocattr() and audit_resource(), the args of them have beed changed since commit 76a1d263aba3 ("apparmor: switch getprocattr to using label_print fns()"). Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/resource.c')
-rw-r--r--security/apparmor/resource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index ed543f4edfd9..1b75d8343a8d 100644
--- a/security/apparmor/resource.c
+++ b/security/apparmor/resource.c
@@ -45,6 +45,8 @@ static void audit_cb(struct audit_buffer *ab, void *va)
* @profile: profile being enforced (NOT NULL)
* @resource: rlimit being auditing
* @value: value being set
+ * @peer: aa_albel of the task being set
+ * @info: info being auditing
* @error: error value
*
* Returns: 0 or sa->error else other error code on failure