Vasily Gorbik
d1befa6582
s390/vdso: avoid 64-bit vdso mapping for compat tasks
...
vdso_fault used is_compat_task function (on s390 it tests "current"
thread_info flags) to distinguish compat tasks and map 31-bit vdso
pages. But "current" task might not correspond to mm context.
When 31-bit compat inferior is executed under gdb, gdb does
PTRACE_PEEKTEXT on vdso page, causing vdso_fault with "current" being
64-bit gdb process. So, 31-bit inferior ends up with 64-bit vdso mapped.
To avoid this problem a new compat_mm flag has been introduced into
mm context. This flag is used in vdso_fault and vdso_mremap instead
of is_compat_task.
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com >
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com >
2018-09-20 13:20:29 +02:00
..
2018-07-28 10:34:10 +09:00
2017-12-13 10:51:36 +01:00
2017-12-13 10:51:36 +01:00
2012-05-16 14:42:41 +02:00
2018-03-28 08:38:24 +02:00
2018-08-21 15:57:58 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-07 21:12:39 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-02 20:16:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-10 07:38:54 +02:00
2018-07-04 08:35:18 +02:00
2017-11-02 11:10:55 +01:00
2018-08-16 14:49:15 +02:00
2018-06-12 16:19:22 -07:00
2017-11-02 11:10:55 +01:00
2017-11-24 15:37:12 +01:00
2017-11-24 15:37:12 +01:00
2018-05-09 10:55:01 +02:00
2018-09-20 13:20:23 +02:00
2018-07-02 11:25:05 +02:00
2018-08-23 18:48:43 -07:00
2018-06-25 10:14:38 +02:00
2018-07-04 08:35:18 +02:00
2017-11-02 11:10:55 +01:00
2018-08-15 22:39:53 -04:00
2017-11-13 11:47:01 -08:00
2018-07-02 11:24:59 +02:00
2017-11-02 11:10:55 +01:00
2018-04-10 07:39:00 +02:00
2018-05-07 21:12:42 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-16 09:10:23 +02:00
2018-04-16 09:10:22 +02:00
2018-06-21 12:33:19 +02:00
2017-11-24 15:37:12 +01:00
2018-04-16 09:10:23 +02:00
2018-04-10 07:39:00 +02:00
2018-06-25 10:14:38 +02:00
2018-08-15 22:39:53 -04:00
2018-06-12 16:19:22 -07:00
2018-04-05 21:36:27 -07:00
2018-07-18 08:32:17 +02:00
2018-07-18 08:32:17 +02:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2017-11-24 15:37:20 +01:00
2018-08-21 13:47:29 -07:00
2017-11-24 15:37:20 +01:00
2018-07-02 11:24:54 +02:00
2017-11-02 11:10:55 +01:00
2018-04-23 07:57:17 +02:00
2018-02-05 14:48:50 +01:00
2017-11-28 17:33:15 +01:00
2018-05-07 21:12:39 +02:00
2018-04-10 07:38:59 +02:00
2018-02-05 07:34:50 +01:00
2018-06-25 10:14:41 +02:00
2018-07-04 08:35:18 +02:00
2018-04-05 21:36:27 -07:00
2017-11-24 15:37:12 +01:00
2018-06-12 16:19:22 -07:00
2018-02-27 08:05:23 +01:00
2018-09-20 13:20:23 +02:00
2018-04-02 20:16:11 +02:00
2018-07-02 12:32:20 +02:00
2018-07-20 00:02:41 +02:00
2018-07-06 08:47:53 +02:00
2017-11-02 11:10:55 +01:00
2018-04-25 10:44:08 -05:00
2018-04-23 07:57:16 +02:00
2018-09-20 13:20:29 +02:00
2018-07-02 11:25:00 +02:00
2017-11-24 15:37:12 +01:00