Skip to content

Commit

Permalink
apparmor: add missing params to aa_may_ptrace kernel-doc comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Johansen committed Nov 19, 2023
1 parent 735ad5d commit a7e405a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/apparmor/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ static int profile_tracer_perm(const struct cred *cred,

/**
* aa_may_ptrace - test if tracer task can trace the tracee
* @tracer_cred: cred of task doing the tracing (NOT NULL)
* @tracer: label of the task doing the tracing (NOT NULL)
* @tracee_cred: cred of task to be traced
* @tracee: task label to be traced
* @request: permission request
*
Expand Down

0 comments on commit a7e405a

Please sign in to comment.