Re: [PATCH] ptrace RSE bug

From: Petr Tesarik <>
Date: 2007-10-18 05:55:45
Petr Tesarik wrote:
>   2. You must couple it with the (planned) changes to ptrace,
> because otherwise PTRACE_{PEEK,POKE}{TEXT,DATA} still access the kernel
> RBS, but it gets later overwritten back from userspace when it is synced.

I have verified that failing to do so breaks "strace -f", because strace
relies on intercepting the clone() system call and setting the
CLONE_PTRACE bit in the flags argument. Of course, if the bit is only
set in the kernel RBS, which is overwritten with the (old) value from
the user RBS on a PTRACE_CONT, the new process is not traced.

Petr Tesarik
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Oct 18 05:52:42 2007

This archive was generated by hypermail 2.1.8 : 2007-10-18 05:52:58 EST