[PATCH] selftests/powerpc: Add a test of sigreturn vs VDSO

Christophe Leroy christophe.leroy at csgroup.eu
Thu Jun 17 19:00:26 AEST 2021



Le 26/03/2020 à 13:06, Michael Ellerman a écrit :
> On Wed, 2020-03-04 at 11:04:02 UTC, Michael Ellerman wrote:
>> There's two different paths through the sigreturn code, depending on
>> whether the VDSO is mapped or not. We recently discovered a bug in the
>> unmapped case, because it's not commonly used these days.
>>
>> So add a test that sends itself a signal, then moves the VDSO, takes
>> another signal and finally unmaps the VDSO before sending itself
>> another signal. That tests the standard signal path, the code that
>> handles the VDSO being moved, and also the signal path in the case
>> where the VDSO is unmapped.
>>
>> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> 
> Applied to powerpc next.
> 
> https://git.kernel.org/powerpc/c/a0968a025c04702427a4aee2c618f451a5098cd8
> 
> cheers
> 

Doesn't work anymore since the split of VDSO and VVAR.

Christophe


More information about the Linuxppc-dev mailing list