Re: [uml-user] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-23 Thread Jeff Dike
On Tue, Jul 22, 2008 at 11:27:13AM +0300, Boaz Harrosh wrote: > I'm not sure I fully understand. Could you please explain what you > found. arch/um/include/init.h copies enough definitions from linux/compiler.h and linux/init.h to implement initcall and exitcall et al. It can't include the kernel

Re: [uml-user] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-22 Thread Peter Teoh
Thanks, the patch worked for me too. As an aside, may be u would want to sync with mainline: http://lkml.org/lkml/2007/5/3/460 which would solve the problem Boaz posed as well? (the patch above seemed to indicate a problem of post-3.4 vs pre-3.4 GCC: http://www.gnu.org/software/gcc/gcc-3.4/cha

Re: [uml-user] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-21 Thread vincent-perrier
Hello, I also had the crash with a lot of zeros in a vertical line with kernel 2.6.26, I was sad then. But I am now happy, I applied the patch: bash-3.1# cd linux-2.6.26 bash-3.1# patch -p1 < ../jeff.patch patching file arch/um/include/init.h Hunk #1 succeeded at 45 with fuzz 2. Hunk #2 succeeded

[uml-user] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-21 Thread Jeff Dike
I believe I figured out the ptrace crash that showed up with 2.6.26, thanks to Toralf Förster. The patch is below. I have one confirmation that this fixes the problem - I'd like a few more just to be sure. Jeff -- Work email - jdike at linux dot intel dot com Index: li