From: Jann Horn Date: Fri, 18 Sep 2015 21:41:23 +0000 (+0200) Subject: security: fix typo in security_task_prctl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7f76ea2ef6739ee484a165ffbac98deb855d3d3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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)