Ernie Petrides
103efcd9aa
[PATCH] x86-64: fix perms/range of vsyscall vma in /proc/*/maps
...
The final line of /proc/<pid>/maps on x86_64 for native 64-bit
tasks shows an incorrect ending address and incorrect permissions. There
is only a single page mapped in this vsyscall region, and it is accessible
for both read and execute.
The patch below fixes this. (Since 32-bit-compat tasks have a real vma
with correct perms/range, no change is necessary for that scenario.)
Before the patch, a "cat /proc/self/maps | tail -1" shows this:
ffffffffff600000-ffffffffffe00000 ---p 00000000 [...]
After the patch, this is the output:
ffffffffff600000-ffffffffff601000 r-xp 00000000 [...]
Signed-off-by: Ernie Petrides <petrides@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
2006-12-07 02:14:09 +01:00
..
2006-11-14 16:57:46 +01:00
2006-10-04 03:38:54 -04:00
2006-12-07 02:14:08 +01:00
2006-10-05 15:10:12 +01:00
2006-09-26 10:52:38 +02:00
2006-10-03 23:01:26 +02:00
2006-12-07 02:14:07 +01:00
2006-12-02 21:23:14 -08:00
2006-12-07 02:14:01 +01:00
2006-12-07 02:14:07 +01:00
2006-12-07 02:14:04 +01:00
2006-12-07 02:14:04 +01:00
2006-12-01 14:52:01 -08:00
2006-09-29 09:18:10 -07:00
2006-09-26 10:52:41 +02:00
2006-09-27 08:26:11 -07:00
2006-12-04 02:00:22 -05:00
2006-09-26 10:52:29 +02:00
2006-10-05 15:10:12 +01:00
2006-10-08 12:24:02 -07:00
2006-10-04 07:55:28 -07:00
2006-10-25 01:00:23 +02:00
2006-10-04 07:55:29 -07:00
2006-09-26 10:52:39 +02:00
2006-09-26 10:52:27 +02:00
2006-11-08 10:23:03 -08:00
2006-10-11 11:14:23 -07:00
2006-10-05 15:10:12 +01:00
2006-10-04 07:55:29 -07:00
2006-07-03 15:27:03 -07:00
2006-09-26 08:49:10 -07:00
2006-07-03 15:27:02 -07:00
2006-09-26 10:52:38 +02:00
2006-07-31 13:28:38 -07:00
2006-09-26 10:52:29 +02:00
2006-10-08 12:24:02 -07:00
2006-09-26 10:52:42 +02:00
2006-09-26 10:52:30 +02:00
2006-10-04 07:55:28 -07:00
2006-12-07 02:14:02 +01:00
2006-09-26 10:52:32 +02:00
2006-12-07 02:14:01 +01:00
2006-07-28 19:28:00 -07:00
2006-09-26 10:52:41 +02:00
2006-11-14 16:57:46 +01:00
2006-10-06 08:53:41 -07:00
2006-10-21 18:37:02 +02:00
2006-10-14 00:35:39 -04:00
2006-10-21 18:37:03 +02:00
2006-09-26 08:49:10 -07:00
2006-10-02 07:57:16 -07:00
2006-12-07 02:14:06 +01:00
2006-09-26 10:52:32 +02:00
2006-09-26 10:52:28 +02:00
2006-09-30 01:47:55 +02:00
2006-09-26 10:52:26 +02:00
2006-12-07 02:14:01 +01:00
2006-12-07 02:14:00 +01:00
2006-09-26 10:52:34 +02:00
2006-07-29 20:59:55 -07:00
2006-09-26 10:52:41 +02:00
2006-09-26 10:52:31 +02:00
2006-09-26 10:52:42 +02:00
2006-09-26 10:52:28 +02:00
2006-09-26 10:52:29 +02:00
2006-10-03 08:04:06 -07:00
2006-12-04 19:41:15 -08:00
2006-12-04 02:00:26 -05:00
2006-10-02 07:57:23 -07:00
2006-09-26 10:52:42 +02:00
2006-12-07 02:14:09 +01:00