]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7172d3e19cf38631d1e521b9a6f81f748910f40e
tree1cc936b6404054657d991f8a14f571062b2f3ba3
parentefd00f73a8c811ce1ef77aad13285cd4f0687b77
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