linux/arch/parisc
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
..
configs [PARISC] Update b180_defconfig 2006-01-22 20:26:29 -05:00
hpux [PATCH] sys_hpux: fix strlen_user() race 2006-02-07 16:12:33 -08:00
kernel [PARISC] New syscalls (inotify, *at, pselect6/ppoll, migrate_pages) 2006-01-30 00:53:14 -05:00
lib
math-emu [PARISC] Fix floating point invalid exception trap handler 2006-01-22 20:26:39 -05:00
mm [PARISC] Use DEBUG_KERNEL to catch used-after-free __init data 2006-01-22 20:26:55 -05:00
oprofile
defconfig [PARISC] defconfig updates 2005-10-21 23:11:03 -04:00
defpalo.conf
install.sh
Kconfig [PARISC] Simplify DISCONTIGMEM in Kconfig 2006-01-29 19:33:40 -05:00
Kconfig.debug [PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data 2006-01-22 20:26:54 -05:00
Makefile
nm