include/linux/security.h: In function ‘securi

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vegard Nossum
Date: Monday, August 18, 2008 - 11:43 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
include/linux/security.h: In function ‘securi, Vegard Nossum, (Mon Aug 18, 11:43 am)
[PATCH] security: fix build breakage, Vegard Nossum, (Mon Aug 18, 11:51 am)
Re: , David Howells, (Tue Aug 19, 10:22 am)