From: Jann Horn Date: Fri, 18 Sep 2015 21:41:23 +0000 (+0200) Subject: security: fix typo in security_task_prctl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b7f76ea2ef6739ee484a165ffbac98deb855d3d3;p=openwrt%2Fstaging%2Fblogic.git security: fix typo in security_task_prctl Signed-off-by: Jann Horn Reviewed-by: Andy Lutomirski Signed-off-by: Linus Torvalds --- 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)