forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
1f93e4a96c
commit
b7f76ea2ef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user