kernel_optimize_test/arch/sh/kernel
Paul Mundt 2991be7252 sh: Fixup __strnlen_user() behaviour.
Drop TIF_USERSPACE and add addr_limit to the thread_info struct.
Subsequently, use that for address checking in strnlen_user() to
ward off bogus -EFAULTs.

Make __strnlen_user() return 0 on exception, rather than -EFAULT.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 17:07:07 +09:00
..
cpu sh: Consolidated SH7751/SH7780 PCI support. 2006-09-27 16:43:28 +09:00
timers sh: APM/PM support. 2006-09-27 16:20:22 +09:00
apm.c sh: APM/PM support. 2006-09-27 16:20:22 +09:00
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cf-enabler.c sh: Board updates for I/O routine rework. 2006-09-27 15:41:24 +09:00
cpufreq.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
early_printk.c sh: earlyprintk= support and cleanups. 2006-09-27 14:26:53 +09:00
entry.S sh: APM/PM support. 2006-09-27 16:20:22 +09:00
head.S sh: BSS init bugfix and barrier in entry point. 2006-09-27 15:00:04 +09:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io_generic.c [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
io.c [PATCH] sh: I/O routine cleanups and ioremap() overhaul 2006-01-16 23:15:28 -08:00
irq.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
kgdb_jmp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kgdb_stub.c sh: kgdb stub cleanups. 2006-09-27 16:24:55 +09:00
machine_kexec.c Storage class should be first 2006-06-26 18:57:34 +02:00
Makefile sh: APM/PM support. 2006-09-27 16:20:22 +09:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm.c sh: APM/PM support. 2006-09-27 16:20:22 +09:00
process.c sh: Fixup __strnlen_user() behaviour. 2006-09-27 17:07:07 +09:00
ptrace.c sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
relocate_kernel.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
semaphore.c sh: Fixup some uninitialized spinlocks. 2006-09-27 11:31:32 +09:00
setup.c sh: More cosmetic cleanups and trivial fixes. 2006-09-27 17:03:56 +09:00
sh_bios.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh_ksyms.c sh: More cosmetic cleanups and trivial fixes. 2006-09-27 17:03:56 +09:00
signal.c [PATCH] convert signal handling of NODEFER to act like other Unix boxes. 2005-08-29 10:03:11 -07:00
smp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys_sh.c sh: page table alloc cleanups and page fault optimizations. 2006-09-27 15:13:36 +09:00
syscalls.S sh: Wire up new syscalls. 2006-09-27 14:36:44 +09:00
time.c sh: APM/PM support. 2006-09-27 16:20:22 +09:00
traps.c sh: Fixup some uninitialized spinlocks. 2006-09-27 11:31:32 +09:00
vmlinux.lds.S sh: Kill off the .stack section. 2006-09-27 11:40:05 +09:00