From: Bodo Stroesser From: Bodo Stroesser This patch fixes a bug in SKAS3 host patch v8-rc2 for 2.6.11, that causes syscalls not to be intercepted, when PTRACE_SYSEMU is used. Signed-off-by: Bodo Stroesser --- Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- clean-linux-2.6.11-paolo/arch/i386/kernel/ptrace.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/kernel/ptrace.c~sysemu-2.6.11-v8-rc2-fix arch/i386/kernel/ptrace.c --- clean-linux-2.6.11/arch/i386/kernel/ptrace.c~sysemu-2.6.11-v8-rc2-fix 2005-07-10 16:55:40.000000000 +0200 +++ clean-linux-2.6.11-paolo/arch/i386/kernel/ptrace.c 2005-07-10 16:55:40.000000000 +0200 @@ -780,7 +780,7 @@ int do_syscall_trace(struct pt_regs *reg if (is_singlestep) send_sigtrap(current, regs, 0); - if (!test_thread_flag(TIF_SYSCALL_TRACE)) + if (!test_thread_flag(TIF_SYSCALL_TRACE) && !is_sysemu) return 0; /* the 0x80 provides a way for the tracing parent to distinguish _