mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
security: fix typo in security_task_prctl
commit b7f76ea2ef upstream.
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0bdf7953e7
commit
db3611bc16
@@ -2394,7 +2394,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