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
arm
arm26
cris
frv
h8300
i386 [PATCH] Fix bad apic fix on i386 2006-02-07 10:08:38 -08:00
ia64
m32r
m68k
m68knommu
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
ppc
s390
sh
sh64
sparc
sparc64
um [PATCH] uml: remove a dead file 2006-02-07 16:12:32 -08:00
v850
x86_64 [PATCH] x86_64: Fix the node cpumask of a cpu going down 2006-02-07 16:12:31 -08:00
xtensa