diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2008-08-16 21:34:20 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-08-17 08:47:30 -0400 |
commit | 5e186b57e7ede86aeb9db30e66315bde4e8b1815 (patch) | |
tree | 12f5057890c96b344165c65bba932d34562534fc /include | |
parent | b09c3e3f1710b554348c98e78fbf4a661918779a (diff) |
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: Alexander Beregalov <a.beregalov@gmail.com>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 2ee5ecfb2393..80c4d002864c 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -1755,7 +1755,7 @@ static inline int security_ptrace_may_access(struct task_struct *child, | |||
1755 | return cap_ptrace_may_access(child, mode); | 1755 | return cap_ptrace_may_access(child, mode); |
1756 | } | 1756 | } |
1757 | 1757 | ||
1758 | static inline int security_ptrace_traceme(struct task_struct *child) | 1758 | static inline int security_ptrace_traceme(struct task_struct *parent) |
1759 | { | 1759 | { |
1760 | return cap_ptrace_traceme(parent); | 1760 | return cap_ptrace_traceme(parent); |
1761 | } | 1761 | } |