All of lore.kernel.org
 help / color / mirror / Atom feed
* include/linux/security.h: In function ‘security_ptrace_traceme’: error: ‘parent’ undeclared
@ 2008-08-18 18:43 Vegard Nossum
  2008-08-18 18:51 ` [PATCH] security: fix build breakage Vegard Nossum
  2008-08-19 17:22 ` include/linux/security.h: In function ‘security_ptrace_traceme’: error: ‘parent’ undeclared David Howells
  0 siblings, 2 replies; 3+ messages in thread
From: Vegard Nossum @ 2008-08-18 18:43 UTC (permalink / raw)
  To: David Howells, James Morris; +Cc: Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-19 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18 18:43 include/linux/security.h: In function ‘security_ptrace_traceme’: error: ‘parent’ undeclared Vegard Nossum
2008-08-18 18:51 ` [PATCH] security: fix build breakage Vegard Nossum
2008-08-19 17:22 ` include/linux/security.h: In function ‘security_ptrace_traceme’: error: ‘parent’ undeclared David Howells

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.