From: John Johansen Date: Sun, 19 Nov 2023 09:19:41 +0000 (-0800) Subject: apparmor: add missing params to aa_may_ptrace kernel-doc comments X-Git-Tag: v6.8-rc1~23^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7e405a2de69fe5e6657046e978a81683b140051;p=thirdparty%2Flinux.git 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 Closes: https://lore.kernel.org/oe-kbuild-all/202311040508.AUhi04RY-lkp@intel.com/ Signed-off-by: John Johansen --- diff --git a/security/apparmor/task.c b/security/apparmor/task.c index f29a2e80e6bf6..c87fb9f4ac18a 100644 --- a/security/apparmor/task.c +++ b/security/apparmor/task.c @@ -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 *