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
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-cris
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-frv
[PATCH] FRV: Make the FRV arch work again
2005-11-28 14:42:23 -08:00
asm-generic
Merge x86-64 update from Andi
2005-11-14 19:56:02 -08:00
asm-h8300
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-i386
x86: Fix silly typo in recent <asm/signal.h> fixes
2005-11-17 10:04:31 -08:00
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
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-m68knommu
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-mips
[MIPS] Qemu: Qemu is emulating a 1193.182kHz i8254 PIC.
2005-12-01 11:05:15 +00:00
asm-parisc
[PARISC] Always spinlock tlb flush operations to ensure preempt safety
2005-11-17 16:44:14 -05:00
asm-powerpc
[PATCH] powerpc: More hugepage boundary case fixes
2005-11-25 22:12:45 +11:00
asm-ppc
Merge branch 'mymerge' of ssh://ozlabs.org/home/sfr/kernel-sfr
2005-11-19 14:25:23 +11:00
asm-s390
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-sh
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-sh64
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-sparc
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
asm-sparc64
[PATCH] sparc: convert IO remapping to VM_PFNMAP
2005-11-28 14:35:36 -08:00
asm-um
[PATCH] uml: eliminate anonymous union and clean up symlink lossage
2005-11-22 09:13:41 -08:00
asm-v850
[PATCH] v850: use generic hardirq code
2005-11-15 08:59:20 -08:00
asm-x86_64
[PATCH] mm: fill arch atomic64 gaps
2005-11-23 16:08:39 -08:00
asm-xtensa
[PATCH] atomic: inc_not_zero
2005-11-13 18:14:16 -08:00
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
[IPV4]: Fix secondary IP addresses after promotion
2005-11-22 14:47:37 -08:00
pcmcia
rdma
[IB] uverbs: have kernel return QP capabilities
2005-11-10 10:22:50 -08:00
rxrpc
scsi
sound
video