Messages in this thread | | | Date | Mon, 18 Aug 2008 20:43:50 +0200 | From | "Vegard Nossum" <> | Subject | include/linux/security.h: In function ‘securi ty ptrace traceme’: err or: ‘parent’ undeclared |
| |
Hi,
Is this known and/or fixed?
commit b09c3e3f1710b554348c98e78fbf4a661918779a:
In file included from arch/x86/kernel/ptrace.c:19: include/linux/security.h: In function 'security_ptrace_traceme': include/linux/security.h:1760: error: 'parent' undeclared (first use in this function) include/linux/security.h:1760: error: (Each undeclared identifier is reported only once include/linux/security.h:1760: error: for each function it appears in.)
Was introduced by:
commit 5cd9c58fbe9ec92b45b27e131719af4f2bd9eb40 Author: David Howells <dhowells@redhat.com> Date: Thu Aug 14 11:37:28 2008 +0100
security: Fix setting of PF_SUPERPRIV by __capable()
+static inline int security_ptrace_traceme(struct task_struct *child) { - return cap_ptrace(parent, child, mode); + return cap_ptrace_traceme(parent); }
Vegard
-- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036
| |