Re: [PATCH] powerpc: Interrupt handler stack randomisation

2022-11-07 Thread Nicholas Piggin
On Tue Oct 25, 2022 at 1:38 PM AEST, Rohan McLure wrote: > Stack frames used by syscall handlers support random offsets as of > commit f4a0318f278d (powerpc: add support for syscall stack randomization). > Implement the same for general interrupt handlers, by applying the > random stack offset and

Re: [PATCH] powerpc: Interrupt handler stack randomisation

2022-11-03 Thread Christophe Leroy
Le 25/10/2022 à 05:38, Rohan McLure a écrit : > Stack frames used by syscall handlers support random offsets as of > commit f4a0318f278d (powerpc: add support for syscall stack randomization). > Implement the same for general interrupt handlers, by applying the > random stack offset and then upda

[PATCH] powerpc: Interrupt handler stack randomisation

2022-10-24 Thread Rohan McLure
Stack frames used by syscall handlers support random offsets as of commit f4a0318f278d (powerpc: add support for syscall stack randomization). Implement the same for general interrupt handlers, by applying the random stack offset and then updating this offset from within the DEFINE_INTERRUPT_HANDLE