BACKPORT: security: fix typo in security_task_prctl

Signed-off-by: Jann Horn <jann@thejh.net>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit b7f76ea2ef6739ee484a165ffbac98deb855d3d3)

Bug: 33340301
Test: Builds.
Change-Id: I61e017a565c7f18d71839be907c35c971ea42167
Signed-off-by: Jorge Lucangeli Obes <jorgelo@google.com>
This commit is contained in:
Jann Horn 2015-09-18 23:41:23 +02:00 committed by Artem Borisov
parent a7732f95a2
commit 383a6574eb

View file

@ -2388,7 +2388,7 @@ static inline int security_task_prctl(int option, unsigned long arg2,
unsigned long arg4,
unsigned long arg5)
{
return cap_task_prctl(option, arg2, arg3, arg3, arg5);
return cap_task_prctl(option, arg2, arg3, arg4, arg5);
}
static inline void security_task_to_inode(struct task_struct *p, struct inode *inode)