Commit a890e637 authored by Denis Efremov's avatar Denis Efremov Committed by James Morris
Browse files

LSM: fix documentation for the task_setscheduler hook



The task_setscheduler hook was changed in the commit
"security: remove unused parameter from security_task_setscheduler()"
(b0ae1981). The arguments @policy, @lp were removed from the hook.
This patch updates the documentation accordingly.

Signed-off-by: default avatarDenis Efremov <efremov@ispras.ru>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
parent 68b3edbd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -671,10 +671,8 @@
 *	Return 0 if permission is granted.
 * @task_setscheduler:
 *	Check permission before setting scheduling policy and/or parameters of
 *	process @p based on @policy and @lp.
 *	process @p.
 *	@p contains the task_struct for process.
 *	@policy contains the scheduling policy.
 *	@lp contains the scheduling parameters.
 *	Return 0 if permission is granted.
 * @task_getscheduler:
 *	Check permission before obtaining scheduling information for process