kernel-ark/arch
Kyle McMartin 1fcbf053e5 [PATCH] sys_hpux: fix strlen_user() race
Userspace can alter the string after the kernel has run strlen_user().

Also: the strlen_user() return value includes the \0, so fix that.

Also: handle EFAULT from strlen_user().

It's unlikely anyone is using this code.  Very, very unlikely.  If I
remember correctly, CONFIG_HPUX turns this code on, but one would actually
need CONFIG_BINFMT_SOM to load a binary that could cause a problem, and
BINFMT_SOM has had an #error in it for quite some time.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-07 16:12:33 -08:00
..
alpha [PATCH] alpha show_interrups() trashes argument 2006-02-01 08:53:21 -08:00
arm [ARM] Remove ARCH_CAMELOT from at91 defconfigs 2006-02-03 23:03:21 +00:00
arm26 [PATCH] arm26: select BLK_DEV_FD only on A5K 2006-02-01 08:53:22 -08:00
cris cris: asm-offsets related build failure 2006-01-21 12:04:14 +01:00
frv [PATCH] Handle TIF_RESTORE_SIGMASK for FRV 2006-01-18 19:20:29 -08:00
h8300 [PATCH] h8300: task_stack_page() 2006-01-12 09:08:55 -08:00
i386 [PATCH] Fix bad apic fix on i386 2006-02-07 10:08:38 -08:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2006-02-06 15:46:39 -08:00
m32r [PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info() 2006-01-12 09:08:54 -08:00
m68k [PATCH] m68k: console code in head.S needs framebuffer support built in 2006-01-12 09:09:06 -08:00
m68knommu [PATCH] m68knommu: task_stack_page() 2006-01-12 09:08:55 -08:00
mips [MIPS] Clear ST0_RE on bootup. 2006-02-07 13:30:26 +00:00
parisc [PATCH] sys_hpux: fix strlen_user() race 2006-02-07 16:12:33 -08:00
powerpc [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
ppc [PATCH] mv643xx_eth: Fix for building as a module 2006-01-27 11:09:24 -05:00
s390 [PATCH] s390: fix compat syscall wrapper 2006-02-03 08:32:01 -08:00
sh [PATCH] sh: machine_halt()/machine_power_off() cleanups 2006-02-01 08:53:20 -08:00
sh64 [PATCH] arch/sh64/kernel/time.c: add module.h 2006-02-01 08:53:20 -08:00
sparc [SPARC]: Fix compile failures in math-emu. 2006-01-30 16:46:24 -08:00
sparc64 [SPARC64]: Update defconfig. 2006-02-05 00:15:12 -08:00
um [PATCH] uml: remove a dead file 2006-02-07 16:12:32 -08:00
v850 [PATCH] Fix some ucLinux breakage from the tty updates 2006-02-03 08:32:04 -08:00
x86_64 [PATCH] x86_64: Fix the node cpumask of a cpu going down 2006-02-07 16:12:31 -08:00
xtensa [PATCH] Fix some ucLinux breakage from the tty updates 2006-02-03 08:32:04 -08:00