Skip to content
Commit 9b064fc3 authored by Al Viro's avatar Al Viro
Browse files

new helper: compat_user_stack_pointer()



Compat counterpart of current_user_stack_pointer(); for most of the biarch
architectures those two are identical, but e.g. arm64 and arm use different
registers for stack pointer...

Note that amd64 variants of current_user_stack_pointer/compat_user_stack_pointer
do *not* rely on pt_regs having been through FIXUP_TOP_OF_STACK.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5c49574f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment