Re: [patch] x86: ptrace and core-dump extensions for xstate

From: Oleg Nesterov
Date: Tue Feb 09 2010 - 12:29:15 EST


Sorry for delay!

On 02/05, Suresh Siddha wrote:
>
> On Fri, 2010-02-05 at 13:15 -0800, Roland McGrath wrote:
>
> > (OTOH, my suggestion requires a whole extra 5 lines of code or so
> > in compat_sys_ptrace because the indirection in the ABI is sensitive to
> > userland word size.) But I don't feel strongly about the particulars of
> > the ptrace API addition, just that it be generic to cover any regset and
> > not be prone to implicit buffer-size miscommunications. I'll leave it to
> > whatever Oleg wants to implement.
>
> Ok. I will split the previous patch in to two patches and re-post it. I
> can help Oleg with reviewing and testing the generic implementation
> whenever it is ready.

OK, I'll try to do this "asap", this generic implementation looks easy.

Except, I am not sure I really understand the problem, need to read
the regset code and then re-read this thread ;)

Oleg.

--
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/