Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-21 Thread Michael Ellerman
Jann Horn writes: > +cc x86 folks > > On Thu, Oct 18, 2018 at 1:18 PM Christophe LEROY > wrote: >> Le 18/10/2018 à 13:12, Jann Horn a écrit : >> > On Thu, Oct 18, 2018 at 11:28 AM Christophe LEROY >> > wrote: >> >> Le 05/10/2018 à 15:21, Michael Ellerman a écrit : >> >>> Recently we implemented

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-18 Thread Michael Ellerman
Christophe LEROY writes: > Le 05/10/2018 à 15:21, Michael Ellerman a écrit : >> Recently we implemented show_user_instructions() which dumps the code >> around the NIP when a user space process dies with an unhandled >> signal. This was modelled on the x86 code, and we even went so far as >> to im

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-18 Thread Christophe LEROY
Le 18/10/2018 à 13:12, Jann Horn a écrit : On Thu, Oct 18, 2018 at 11:28 AM Christophe LEROY wrote: Le 05/10/2018 à 15:21, Michael Ellerman a écrit : Recently we implemented show_user_instructions() which dumps the code around the NIP when a user space process dies with an unhandled signal.

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-18 Thread Christophe LEROY
Le 05/10/2018 à 15:21, Michael Ellerman a écrit : Recently we implemented show_user_instructions() which dumps the code around the NIP when a user space process dies with an unhandled signal. This was modelled on the x86 code, and we even went so far as to implement the exact same bug, namely

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-08 Thread Michael Ellerman
Jann Horn writes: > On Fri, Oct 5, 2018 at 3:21 PM Michael Ellerman wrote: >> Recently we implemented show_user_instructions() which dumps the code >> around the NIP when a user space process dies with an unhandled >> signal. This was modelled on the x86 code, and we even went so far as >> to imp

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-08 Thread Michael Ellerman
Christophe LEROY writes: > Le 05/10/2018 à 15:21, Michael Ellerman a écrit : >> Recently we implemented show_user_instructions() which dumps the code ... >> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c >> index 913c5725cdb2..bb6ac471a784 100644 >> --- a/arch/powerpc/k

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-05 Thread Jann Horn
On Fri, Oct 5, 2018 at 3:21 PM Michael Ellerman wrote: > Recently we implemented show_user_instructions() which dumps the code > around the NIP when a user space process dies with an unhandled > signal. This was modelled on the x86 code, and we even went so far as > to implement the exact same bug

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-05 Thread Murilo Opsfelder Araujo
On Fri, Oct 05, 2018 at 11:21:23PM +1000, Michael Ellerman wrote: > Recently we implemented show_user_instructions() which dumps the code > around the NIP when a user space process dies with an unhandled > signal. This was modelled on the x86 code, and we even went so far as > to implement the exac

Re: [PATCH] powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-05 Thread Christophe LEROY
Le 05/10/2018 à 15:21, Michael Ellerman a écrit : Recently we implemented show_user_instructions() which dumps the code around the NIP when a user space process dies with an unhandled signal. This was modelled on the x86 code, and we even went so far as to implement the exact same bug, namely