lkml.org 
[lkml]   [2008]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectinclude/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


\
 
 \ /
  Last update: 2008-08-18 20:47    [W:0.040 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site