Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-17 Thread Michael Ellerman
On Thu, 10 Jun 2021 17:29:49 +1000, Michael Ellerman wrote: > When delivering a signal to a sigaction style handler (SA_SIGINFO), we > pass pointers to the siginfo and ucontext via r4 and r5. > > Currently we populate the values in those registers by reading the > pointers out of the sigframe in u

Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-14 Thread Christophe Leroy
Le 14/06/2021 à 13:49, Christophe Leroy a écrit : Le 14/06/2021 à 07:49, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of June 14, 2021 3:30 pm: Le 14/06/2021 à 03:32, Nicholas Piggin a écrit : Excerpts from Michael Ellerman's message of June 10, 2021 5:29 pm: When

Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-14 Thread Christophe Leroy
Le 14/06/2021 à 07:49, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of June 14, 2021 3:30 pm: Le 14/06/2021 à 03:32, Nicholas Piggin a écrit : Excerpts from Michael Ellerman's message of June 10, 2021 5:29 pm: When delivering a signal to a sigaction style handler (SA

Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-13 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of June 14, 2021 3:30 pm: > > > Le 14/06/2021 à 03:32, Nicholas Piggin a écrit : >> Excerpts from Michael Ellerman's message of June 10, 2021 5:29 pm: >>> When delivering a signal to a sigaction style handler (SA_SIGINFO), we >>> pass pointers to the sigin

Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-13 Thread Christophe Leroy
Le 14/06/2021 à 03:32, Nicholas Piggin a écrit : Excerpts from Michael Ellerman's message of June 10, 2021 5:29 pm: When delivering a signal to a sigaction style handler (SA_SIGINFO), we pass pointers to the siginfo and ucontext via r4 and r5. Currently we populate the values in those regist

Re: [PATCH] powerpc/signal64: Don't read sigaction arguments back from user memory

2021-06-13 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of June 10, 2021 5:29 pm: > When delivering a signal to a sigaction style handler (SA_SIGINFO), we > pass pointers to the siginfo and ucontext via r4 and r5. > > Currently we populate the values in those registers by reading the > pointers out of the sigfra