diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index 351942a4ca0e..aa510609a955 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -769,9 +769,10 @@ int security_task_getioprio(struct task_struct *p) | |||
769 | return security_ops->task_getioprio(p); | 769 | return security_ops->task_getioprio(p); |
770 | } | 770 | } |
771 | 771 | ||
772 | int security_task_setrlimit(unsigned int resource, struct rlimit *new_rlim) | 772 | int security_task_setrlimit(struct task_struct *p, unsigned int resource, |
773 | struct rlimit *new_rlim) | ||
773 | { | 774 | { |
774 | return security_ops->task_setrlimit(resource, new_rlim); | 775 | return security_ops->task_setrlimit(p, resource, new_rlim); |
775 | } | 776 | } |
776 | 777 | ||
777 | int security_task_setscheduler(struct task_struct *p, | 778 | int security_task_setscheduler(struct task_struct *p, |