forked from rubenslte/android_kernel_samsung_msm8226
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> Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
This commit is contained in:
committed by
Francescodario Cuzzocrea
parent
3c62552e0f
commit
f76072cde0
@@ -2416,7 +2416,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)
|
||||
|
||||
Reference in New Issue
Block a user