Re: [patch 1/2] security: add const tosecurity_task_setscheduler()

From: James Morris
Date: Wed Oct 06 2010 - 19:41:26 EST


On Tue, 5 Oct 2010, KOSAKI Motohiro wrote:

> From: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
> Date: Fri, 15 Oct 2010 04:21:18 +0900
> Subject: [PATCH] security: remove unused parameter from security_task_setscheduler()
>
> All security modules shouldn't change sched_param parameter of
> security_task_setscheduler(). This is not only meaningless, but also
> make a harmful result if caller pass a static variable.
>
> This patch remove policy and sched_param parameter from
> security_task_setscheduler() becuase none of security module is
> using it.
>
> Cc: James Morris <jmorris@xxxxxxxxx>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>

Thanks.

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/