security: remove unused parameter from security_task_setscheduler()
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Thu, 14 Oct 2010 19:21:18 +0000 (04:21 +0900)
committerJames Morris <jmorris@namei.org>
Wed, 20 Oct 2010 23:12:44 +0000 (10:12 +1100)
commitb0ae19811375031ae3b3fecc65b702a9c6e5cc28
treea765b71155fbed1ed3a3cff35c1044ad49a002ae
parent9b3056cca09529d34af2d81305b2a9c6b622ca1b
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@namei.org>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: James Morris <jmorris@namei.org>
arch/mips/kernel/mips-mt-fpaff.c
include/linux/security.h
kernel/cpuset.c
kernel/sched.c
security/commoncap.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c