aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/security.c b/security/security.c
index 43b6463ebbfb..1cbcdfa4b015 100644
--- a/security/security.c
+++ b/security/security.c
@@ -778,10 +778,9 @@ int security_task_setrlimit(struct task_struct *p, unsigned int resource,
778 return security_ops->task_setrlimit(p, resource, new_rlim); 778 return security_ops->task_setrlimit(p, resource, new_rlim);
779} 779}
780 780
781int security_task_setscheduler(struct task_struct *p, 781int security_task_setscheduler(struct task_struct *p)
782 int policy, struct sched_param *lp)
783{ 782{
784 return security_ops->task_setscheduler(p, policy, lp); 783 return security_ops->task_setscheduler(p);
785} 784}
786 785
787int security_task_getscheduler(struct task_struct *p) 786int security_task_getscheduler(struct task_struct *p)