original_kernel/include
Robin Holt bd1d6e2451 [IA64] Change SET_PERSONALITY to comply with comment in binfmt_elf.c.
We have a customer application which trips a bug.  The problem arises
when a driver attempts to call do_munmap on an area which is mapped, but
because current->thread.task_size has been set to 0xC0000000, the call
to do_munmap fails thinking it is an unmap beyond the user's address
space.

The comment in fs/binfmt_elf.c in load_elf_library() before the call
to SET_PERSONALITY() indicates that task_size must not be changed for
the running application until flush_thread, but is for ia64 executing
ia32 binaries.

This patch moves the setting of task_size from SET_PERSONALITY() to
flush_thread() as indicated.  The customer application no longer is able
to trip the bug.

Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2005-12-06 09:12:34 -08:00
..
acpi
asm-alpha [PATCH] mm: fill arch atomic64 gaps 2005-11-23 16:08:39 -08:00
asm-arm [ARM] sema_count() removal 2005-12-01 20:58:01 +00:00
asm-arm26
asm-cris
asm-frv [PATCH] FRV: Make the FRV arch work again 2005-11-28 14:42:23 -08:00
asm-generic
asm-h8300
asm-i386
asm-ia64 [IA64] Change SET_PERSONALITY to comply with comment in binfmt_elf.c. 2005-12-06 09:12:34 -08:00
asm-m32r [PATCH] m32r: M3A-2170(Mappi-III) IDE support 2005-11-28 14:42:24 -08:00
asm-m68k
asm-m68knommu
asm-mips [MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC. 2005-12-01 11:05:15 +00:00
asm-parisc
asm-powerpc [PATCH] powerpc: More hugepage boundary case fixes 2005-11-25 22:12:45 +11:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [PATCH] sparc: convert IO remapping to VM_PFNMAP 2005-11-28 14:35:36 -08:00
asm-um
asm-v850
asm-x86_64 [PATCH] mm: fill arch atomic64 gaps 2005-11-23 16:08:39 -08:00
asm-xtensa
keys
linux [PATCH] V4L: Some funcions now static and I2C hw code for IR 2005-12-01 15:48:57 -08:00
math-emu
media [PATCH] V4L: Add workaround for Hauppauge PVR150 with certain NTSC tuner models 2005-12-01 15:48:58 -08:00
mtd
net
pcmcia
rdma
rxrpc
scsi
sound
video