Re: [patch 0/5] lightweight robust futexes: -V1

From: Daniel Jacobowitz
Date: Fri Feb 17 2006 - 16:57:30 EST


On Wed, Feb 15, 2006 at 11:14:34PM +0100, Ingo Molnar wrote:
> > Why do we need sys_get_robust_list(other task)?
>
> just for completeness for debuggers - when i added the TLS syscalls
> debugging people complained that there was no easy way to query the TLS
> settings of a thread. I didnt want to add yet another ptrace op - but
> maybe that's the right solution? ptrace is a bit clumsy for things like
> this - the task might not be ptrace-able, while querying the list head
> is such an easy thing.

If it isn't ptraceable, then why should we need to ask the kernel for a
pointer into its memory? Except maybe for attacking it :-)

--
Daniel Jacobowitz
CodeSourcery
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/