Files
kernel_arpi/arch/arm64/include/asm
Will Deacon 3168a74346 arm64: report correct stack pointer in KSTK_ESP for compat tasks
The KSTK_ESP macro is used to determine the user stack pointer for a
given task. In particular, this is used to to report the '[stack]' VMA
in /proc/self/maps, which is used by Android to determine the stack
location for children of the main thread.

This patch fixes the macro to use user_stack_pointer instead of directly
returning sp. This means that we report w13 instead of sp, since the
former is used as the stack pointer when executing in AArch32 state.

Cc: <stable@vger.kernel.org>
Reported-by: Serban Constantinescu <Serban.Constantinescu@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2014-08-29 16:11:10 +01:00
..
2014-04-18 11:40:33 +02:00
2014-05-15 10:16:30 -04:00
2014-07-18 15:24:08 +01:00
2014-04-07 16:36:15 -07:00
2013-06-14 09:52:40 +01:00
2014-05-29 09:04:31 +01:00
2013-10-25 11:33:21 +01:00
2014-02-26 11:16:25 +00:00
2013-06-07 14:03:38 +01:00
2014-02-28 16:12:25 +00:00
2013-10-25 11:33:21 +01:00
2014-07-10 11:06:00 +01:00
2014-07-10 10:10:21 +01:00
2014-03-20 17:41:27 +00:00