Re: s390: stepping PT_PTRACED (Was: utrace failed to compile for s390x)

2009-12-09 Thread Heiko Carstens
On Wed, Dec 09, 2009 at 08:54:28PM +0100, Oleg Nesterov wrote: (add cc's) On 12/03, Roland McGrath wrote: Not sure what should we do right now, s390 needs more attention. Also, it uses PT_PTRACED bit, I am afraid this is not what we wan with utrace. This looks simple. Its one

Re: s390: stepping PT_PTRACED (Was: utrace failed to compile for s390x)

2009-12-09 Thread Roland McGrath
But... I tried to understand these check and failed. Why do we need them? They look unneeded to me, but of course I know nothing about s390. It's not specific to s390. Other arch's have equivalent logic. As with all things ptrace, I strongly suspect that they just blindly copied the logic