Skip to content

Commit

Permalink
apparmor: Fix kernel-doc warnings in apparmor/resource.c
Browse files Browse the repository at this point in the history
[ Upstream commit 13c1748 ]

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 <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Stable-dep-of: 157a353 ("apparmor: Fix regression in mount mediation")
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
gscui authored and gregkh committed Nov 28, 2023
1 parent 73221eb commit 0e4721f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions security/apparmor/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 0e4721f

Please sign in to comment.