RE: BUG: 2.6.8/2.6.9 register corruption with PTRACE_SYSCALL

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2004-09-14 05:09:54
>Thanks for tracking this down.  If I'm affected, should I 
>expect something like ls to SEGV when run under strace?
>If so, I'm not seeing this problem with the Debian kernels.
>They are built w/ gcc 3.3.4 and have CONFIG_AUDIT disabled.
>I'm running Debian/sid which uses libc6.1 2.3.2.ds1-16.

The test program that Stephane showed to me just did:

	int pv[2];

	pipe(pv);

	printf("%d %d\n", pv[0], pv[1]);

This coredumps when run under strace on 2.6.8 or later kernel.

The fix is to add -fno-optimize-sibling-calls to cflags-y
in arch/ia64/Makefile.  I just put it into my tree.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Sep 13 15:11:56 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:30 EST