Files
linux/arch/arm64/include/asm
Colin Cross fa2ec3ea10 arm64: implement TASK_SIZE_OF
include/linux/sched.h implements TASK_SIZE_OF as TASK_SIZE if it
is not set by the architecture headers.  TASK_SIZE uses the
current task to determine the size of the virtual address space.
On a 64-bit kernel this will cause reading /proc/pid/pagemap of a
64-bit process from a 32-bit process to return EOF when it reads
past 0xffffffff.

Implement TASK_SIZE_OF exactly the same as TASK_SIZE with
test_tsk_thread_flag instead of test_thread_flag.

Cc: stable@vger.kernel.org
Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-07-08 17:30:59 +01:00
..
2014-04-18 11:40:33 +02:00
2012-09-17 13:42:21 +01:00
2014-05-15 10:16:30 -04:00
2012-09-17 13:41:59 +01:00
2014-04-30 19:49:59 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2014-04-07 16:36:15 -07:00
2013-06-14 09:52:40 +01:00
2012-09-17 13:42:14 +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
2012-09-17 13:41:56 +01:00
2014-07-08 17:30:59 +01:00
2012-09-17 13:42:19 +01:00
2014-02-28 16:12:25 +00:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:42:07 +01:00
2013-10-25 11:33:21 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 10:24:46 +01:00
2014-03-20 17:41:27 +00:00
2014-04-23 10:22:33 +01:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00