commit | 887f3ceb51cd34109ac17bfc98695162e299e657 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@csgroup.eu> | Fri Mar 19 11:06:58 2021 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Apr 03 21:22:19 2021 +1100 |
tree | fc3b7922ff22c24d09ac628b1bea4b6523fd76fc | |
parent | 627b72bee84d6652e0af26617e71ce2b3c18fcd5 [diff] |
powerpc/signal32: Convert do_setcontext[_tm]() to user access block Add unsafe_get_user_sigset() and transform PPC32 get_sigset_t() into an unsafe version unsafe_get_sigset_t(). Then convert do_setcontext() and do_setcontext_tm() to use user_read_access_begin/end. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/9273ba664db769b8d9c7540ae91395e346e4945e.1616151715.git.christophe.leroy@csgroup.eu