diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-09-26 14:48:38 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2022-10-25 08:35:23 +0300 |
commit | 1f2bc06a8dbff73957f433b22c6fd35fccfb47a4 (patch) | |
tree | d5508f6710f610523da8f7c62b5bc95ceddc058d /security/apparmor/resource.c | |
parent | 2f7a29debae2efef94b981377fa3622986cd57f5 (diff) | |
download | linux-1f2bc06a8dbff73957f433b22c6fd35fccfb47a4.tar.xz |
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.c | 2 |
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 |