Skip to content
Commit 44a1d996 authored by Al Viro's avatar Al Viro
Browse files

x86: ia32_setup_sigcontext(): lift user_access_{begin,end}() into the callers



What's left is just a sequence of stores to userland addresses, with all
error handling, etc. done out of line.  Calling that from user_access block
is safe, but rather than teaching objtool to recognize it as such we can
just make it always_inline - it is small enough and has few enough callers,
for the space savings not to be an issue.

	Rename the sucker to __unsafe_setup_sigcontext32() and provide
unsafe_put_sigcontext32() with usual kind of semantics.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 39f16c1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment