diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2008-08-17 05:34:20 +0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-08-17 16:47:30 +0400 |
commit | 5e186b57e7ede86aeb9db30e66315bde4e8b1815 (patch) | |
tree | 12f5057890c96b344165c65bba932d34562534fc /include/linux/security.h | |
parent | b09c3e3f1710b554348c98e78fbf4a661918779a (diff) | |
download | linux-5e186b57e7ede86aeb9db30e66315bde4e8b1815.tar.xz |
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/linux/security.h')
-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, 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); } |