Patch "apparmor: Fix kernel-doc warnings in apparmor/resource.c" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    apparmor: Fix kernel-doc warnings in apparmor/resource.c

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     apparmor-fix-kernel-doc-warnings-in-apparmor-resourc.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1fa4cbf9881993c63ffe88134a97c923d9434437
Author: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
Date:   Sun Jun 25 09:13:46 2023 +0800

    apparmor: Fix kernel-doc warnings in apparmor/resource.c
    
    [ Upstream commit 13c1748e217078d437727eef333cb0387d13bc0e ]
    
    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@xxxxxxxxxx>
    Signed-off-by: John Johansen <john.johansen@xxxxxxxxxxxxx>
    Stable-dep-of: 157a3537d6bc ("apparmor: Fix regression in mount mediation")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index e859481648962..2bebc5d9e7411 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.
  *



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux