提交 b7f76ea2 编写于 作者: J Jann Horn 提交者: Linus Torvalds

security: fix typo in security_task_prctl

Signed-off-by: NJann Horn <jann@thejh.net>
Reviewed-by: NAndy Lutomirski <luto@kernel.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册