summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJann Horn <jann@thejh.net>2015-09-18 23:41:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-20 17:00:26 -0700
commitb7f76ea2ef6739ee484a165ffbac98deb855d3d3 (patch)
treeef34534fd9d2751a53b08533874cdc845553e25d /include
parent1f93e4a96c9109378204c147b3eec0d0e8100fde (diff)
downloadlinux-b7f76ea2ef6739ee484a165ffbac98deb855d3d3.tar.bz2
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 79d85ddf8093..2f4c1f7aa7db 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -946,7 +946,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)