Skip to content

Commit a7e405a

Browse files
committed
apparmor: add missing params to aa_may_ptrace kernel-doc comments
When the cred was explicit passed through to aa_may_ptrace() the kernel-doc comment was not properly updated. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311040508.AUhi04RY-lkp@intel.com/ Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 735ad5d commit a7e405a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

security/apparmor/task.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ static int profile_tracer_perm(const struct cred *cred,
278278

279279
/**
280280
* aa_may_ptrace - test if tracer task can trace the tracee
281+
* @tracer_cred: cred of task doing the tracing (NOT NULL)
281282
* @tracer: label of the task doing the tracing (NOT NULL)
283+
* @tracee_cred: cred of task to be traced
282284
* @tracee: task label to be traced
283285
* @request: permission request
284286
*

0 commit comments

Comments
 (0)