powerpc/signal32: Switch handle_rt_signal32() to user_access_begin() logic
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 18 Aug 2020 17:19:30 +0000 (17:19 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:13 +0000 (01:01 +1100)
commit9504db3e90b22dca19d8152ed5a82c68512dac0e
tree1cc936b6404054657d991f8a14f571062b2f3ba3
parentad65f4909fd3736d84533784cd9ab76905536b34
powerpc/signal32: Switch handle_rt_signal32() to user_access_begin() logic

On the same way as handle_signal32(), replace all user
accesses with equivalent unsafe_ versions, and move the
trampoline code icache flush outside the user access block.

Functions that have no unsafe_ equivalent also remains outside
the access block.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/2974314226256f958e2984912b48883ef1754185.1597770847.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/signal_32.c