rlimits: security, add task_struct to setrlimit
authorJiri Slaby <jirislaby@gmail.com>
Wed, 26 Aug 2009 16:41:16 +0000 (18:41 +0200)
committerJiri Slaby <jirislaby@gmail.com>
Fri, 16 Jul 2010 07:48:45 +0000 (09:48 +0200)
commit8fd00b4d7014b00448eb33cf0590815304769798
treef97cc5b4401dd038e539dae7ad66066383012866
parent2f7989efd4398d92b8adffce2e07dd043a0895fe
rlimits: security, add task_struct to setrlimit

Add task_struct to task_setrlimit of security_operations to be able to set
rlimit of task other than current.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Eric Paris <eparis@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
include/linux/security.h
kernel/sys.c
security/capability.c
security/security.c
security/selinux/hooks.c