]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix gate_vma.vm_flags
authorRoland McGrath <roland@redhat.com>
Fri, 26 Jan 2007 08:56:47 +0000 (00:56 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Jan 2007 21:50:58 +0000 (13:50 -0800)
commitb6558c4a2378af06f2beca6c8a3304e21d1cf135
tree9d04e1d79305ec7df586001301fca8ce72e2a5c3
parenta1f3bb9ae4497a2ed3eac773fd7798ac33a0371f
[PATCH] Fix gate_vma.vm_flags

This patch fixes the initialization of gate_vma.vm_flags and
gate_vma.vm_page_prot to reflect reality.  This makes the "[vdso]" line in
/proc/PID/maps correctly show r-xp instead of ---p, when gate_vma is used
(CONFIG_COMPAT_VDSO on i386).

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c