On Tue, 01 Dec 2009 20:39:40 +0100, Roland McGrath wrote:
I think the best bet is to link with -Wl,-z,now and then minimize the
library code you rely on.
Checked-in the fix of at least Fedora 12 x86_64 below.
getppid() does not look to be needed there - PTRACE_SYSCALL does stop
(WIFSTOPPED) on
On 11/30, Oleg Nesterov wrote:
On 11/29, Roland McGrath wrote:
Please file this test case on bugzilla.redhat.com for Fedora 12 glibc.
https://bugzilla.redhat.com/show_bug.cgi?id=542731
It was closed as NOTABUG, Andreas Schwab wrote:
If you call clone directly you are responsible for
So. Any ptrace test which uses clone() is broken, at least on x86_64.
If you use clone() directly then you need to have the code run in that
child be purely under your control. You can't use miscellaneous libc
calls nor any libpthread calls, only ones you are sure do not require
any thread
On 11/29, Roland McGrath wrote:
Please file this test case on bugzilla.redhat.com for Fedora 12 glibc.
https://bugzilla.redhat.com/show_bug.cgi?id=542731
Oleg.
(add cc's)
On 11/27, caiq...@redhat.com wrote:
I have consistently reproduced the failure with clone-multi-ptrace
with both the patched and unpatched F13 kernels.
# ./clone-multi-ptrace
clone-multi-ptrace: clone-multi-ptrace.c:205: try_to_reproduce: Assertion
`__extension__ (((union {