OSDN Git Service

x86: get rid of put_user_try in __setup_rt_frame() (both 32bit and 64bit)
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 00:54:56 +0000 (19:54 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 26 Mar 2020 18:41:22 +0000 (14:41 -0400)
commit119cd59fcfbe70fb3fcab4e64cd232bcc3807585
tree9b687382863d2425ba11121b14ed4e936079d4f7
parent57d563c8292569f2849569853e846bf740df5032
x86: get rid of put_user_try in __setup_rt_frame() (both 32bit and 64bit)

Straightforward, except for save_altstack_ex() stuck in those.
Replace that thing with an analogue that would use unsafe_put_user()
instead of put_user_ex() (called compat_save_altstack()) and be done
with that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/kernel/signal.c
include/linux/signal.h