Is PTRACE_SINGLEBLOCK buggy?

2008-06-02 Thread Renzo Davoli
Hi Roland, hi everybody, I have finished teaching my spring term so I am back working on utrace. I am porting my stuff about virtualquare kmview on the new version of kernels. I ran into something that seems to be a bug on PTRACE_SINGLEBLOCK. The source code here enclosed says OKAY on a

Re: Is PTRACE_SINGLEBLOCK buggy?

2008-06-02 Thread Jan Kratochvil
On Mon, 02 Jun 2008 11:09:56 +0200, Renzo Davoli wrote: Jan Kratochvil has just sent me an E-mail saying that it seems to be a kvm bug (or a bug caused by kvm). KVM bug details at https://bugzilla.redhat.com/show_bug.cgi?id=437028 . He is right: using qemu/kqemu instead of kvm it does not

ptrace testsuite: reparent-zombie* race

2008-06-02 Thread Jan Kratochvil
Hi Roland, I get randomly a race reparent-zombie: reparent-zombie.c:88: create_zombie: Assertion `fd != -1' failed. Aborted on kernel-2.6.25.3-18.fc9.x86_64. I hope the attached patch is right (tested only for reparent-zombie.c as reparent-zombie-clone.c is crashing the kernel).