apparmor: Fix one kernel-doc comment

Fix one kernel-doc comment to silence the warnings:
security/apparmor/domain.c:46: warning: Function parameter or member 'to_cred' not described in 'may_change_ptraced_domain'
security/apparmor/domain.c:46: warning: Excess function parameter 'cred' description in 'may_change_ptraced_domain'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7036
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Yang Li 2023-10-23 09:11:23 +08:00 committed by John Johansen
parent 6a81051398
commit cd269ca9a7

View File

@ -31,7 +31,7 @@
/**
* may_change_ptraced_domain - check if can change profile on ptraced task
* @cred: cred of task changing domain
* @to_cred: cred of task changing domain
* @to_label: profile to change to (NOT NULL)
* @info: message if there is an error
*