Commit b7f76ea2 authored by Jann Horn's avatar Jann Horn Committed by Linus Torvalds

security: fix typo in security_task_prctl

Signed-off-by: default avatarJann Horn <jann@thejh.net>
Reviewed-by: default avatarAndy Lutomirski <luto@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1f93e4a9
...@@ -946,7 +946,7 @@ static inline int security_task_prctl(int option, unsigned long arg2, ...@@ -946,7 +946,7 @@ static inline int security_task_prctl(int option, unsigned long arg2,
unsigned long arg4, unsigned long arg4,
unsigned long arg5) 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) static inline void security_task_to_inode(struct task_struct *p, struct inode *inode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment