diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2023-06-25 03:13:46 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2023-07-10 10:15:17 +0200 |
commit | 13c1748e217078d437727eef333cb0387d13bc0e (patch) | |
tree | 3f1b6aa9ff2bb7bb482509c9f6b2f8f9a2e076a0 /security | |
parent | apparmor: Fix kernel-doc warnings in apparmor/match.c (diff) | |
download | linux-13c1748e217078d437727eef333cb0387d13bc0e.tar.xz linux-13c1748e217078d437727eef333cb0387d13bc0e.zip |
apparmor: Fix kernel-doc warnings in apparmor/resource.c
Fix kernel-doc warnings:
security/apparmor/resource.c:111: warning: Function parameter or
member 'label' not described in 'aa_task_setrlimit'
security/apparmor/resource.c:111: warning: Function parameter or
member 'new_rlim' not described in 'aa_task_setrlimit'
security/apparmor/resource.c:111: warning: Function parameter or
member 'resource' not described in 'aa_task_setrlimit'
security/apparmor/resource.c:111: warning: Function parameter or
member 'task' not described in 'aa_task_setrlimit'
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/apparmor/resource.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c index e85948164896..2bebc5d9e741 100644 --- a/security/apparmor/resource.c +++ b/security/apparmor/resource.c @@ -97,10 +97,10 @@ static int profile_setrlimit(struct aa_profile *profile, unsigned int resource, /** * aa_task_setrlimit - test permission to set an rlimit - * @label - label confining the task (NOT NULL) - * @task - task the resource is being set on - * @resource - the resource being set - * @new_rlim - the new resource limit (NOT NULL) + * @label: label confining the task (NOT NULL) + * @task: task the resource is being set on + * @resource: the resource being set + * @new_rlim: the new resource limit (NOT NULL) * * Control raising the processes hard limit. * |