Merge to Fedora kernel-2.6.18-1.2255_FC5-vs2.0.2.2-rc9 patched with stable patch...
[linux-2.6.git] / arch / s390 / kernel / compat_linux.c
index e41ba9f..86e5f99 100644 (file)
@@ -545,6 +545,9 @@ sys32_execve(struct pt_regs regs)
                                 compat_ptr(regs.gprs[4]), &regs);
        if (error == 0)
        {
+               task_lock(current);
+               current->ptrace &= ~PT_DTRACE;
+               task_unlock(current);
                current->thread.fp_regs.fpc=0;
                __asm__ __volatile__
                        ("sr  0,0\n\t"