linux-kernel-test/arch/x86_64
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
..
boot [PATCH] x86-64: shorten the x86_64 boot setup GDT to what the comment says 2006-11-14 16:57:46 +01:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
ia32 [PATCH] x86-64: Support -mregparm arguments for signals with SA_SIGINFO in compat mode 2006-12-07 02:14:06 +01:00
kernel [PATCH] x86-64: fix perms/range of vsyscall vma in /proc/*/maps 2006-12-07 02:14:09 +01:00
lib [PATCH] x86-64: Don't force inlining of do_csum 2006-12-07 02:14:07 +01:00
mm [PATCH] x86-64: fix perms/range of vsyscall vma in /proc/*/maps 2006-12-07 02:14:09 +01:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
pci Revert "[PATCH] MMCONFIG and new Intel motherboards" 2006-11-14 16:56:33 +01:00
defconfig [PATCH] x86-64: Update defconfig 2006-12-07 02:14:00 +01:00
Kconfig [PATCH] x86-64: Add option to compile for Core2 2006-12-07 02:14:09 +01:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
Makefile [PATCH] x86-64: Add option to compile for Core2 2006-12-07 02:14:09 +01:00