Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Snippets Groups Projects
Commit 5e186b57 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by James Morris
Browse files

security.h: fix build failure


security.h: fix build failure

include/linux/security.h: In function 'security_ptrace_traceme':
include/linux/security.h:1760: error: 'parent' undeclared (first use in this function)

Signed-off-by: default avatarAlexander Beregalov <a.beregalov@gmail.com>
Tested-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent b09c3e3f
Branches
No related tags found
No related merge requests found
......@@ -1755,7 +1755,7 @@ static inline int security_ptrace_may_access(struct task_struct *child,
return cap_ptrace_may_access(child, mode);
}
static inline int security_ptrace_traceme(struct task_struct *child)
static inline int security_ptrace_traceme(struct task_struct *parent)
{
return cap_ptrace_traceme(parent);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment