android_kernel_xiaomi_sm8350/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
cf-enabler.c sh: Board updates for I/O routine rework. 2006-09-27 15:41:24 +09:00
cpufreq.c
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
io_generic.c
io.c
irq.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
kgdb_jmp.S
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
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
sh_ksyms.c sh: More cosmetic cleanups and trivial fixes. 2006-09-27 17:03:56 +09:00
signal.c
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