OSDN Git Service

x86: get rid of get_user_ex() in restore_sigcontext()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 15 Feb 2020 17:56:57 +0000 (12:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 19 Mar 2020 00:22:40 +0000 (20:22 -0400)
commit3add42c29cebb1d5f83c6205c59466a06ccf8da1
treef2c62e4f676ef77ce6f62f06c7bc1209cd30a07d
parent978727ca331ebd8b479f6a7afd27bb2e6504b2e3
x86: get rid of get_user_ex() in restore_sigcontext()

Just do copyin into a local struct and be done with that - we are
on a shallow stack here.

[reworked by tglx, removing the macro horrors while we are touching that]

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