Skip to content

Commit

Permalink
security.h: fix build failure
Browse files Browse the repository at this point in the history
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: Alexander Beregalov <a.beregalov@gmail.com>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
Alexander Beregalov authored and James Morris committed Aug 17, 2008
1 parent b09c3e3 commit 5e186b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/security.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5e186b5

Please sign in to comment.