]> git.hungrycats.org Git - linux/commitdiff
security: fix typo in security_task_prctl
authorJann Horn <jann@thejh.net>
Fri, 18 Sep 2015 21:41:23 +0000 (23:41 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 28 Oct 2015 02:14:04 +0000 (22:14 -0400)
[ Upstream commit b7f76ea2ef6739ee484a165ffbac98deb855d3d3 ]

Signed-off-by: Jann Horn <jann@thejh.net>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
include/linux/security.h

index ba96471c11bae88b6673faec4d4a268cf550db1b..ea9eda4abdd50c8a0e631d900595e042f9917d22 100644 (file)
@@ -2471,7 +2471,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)