OpenCloudOS-Kernel/arch/mips/kernel
Linus Torvalds e28cc71572 Relax the rw_verify_area() error checking.
In particular, allow over-large read- or write-requests to be downgraded
to a more reasonable range, rather than considering them outright errors.

We want to protect lower layers from (the sadly all too common) overflow
conditions, but prefer to do so by chopping the requests up, rather than
just refusing them outright.

Cc: Peter Anvin <hpa@zytor.com>
Cc: Ulrich Drepper <drepper@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-04 16:20:40 -08:00
..
Makefile Fixup a few lose ends in explicit support for MIPS R1/R2. 2005-10-29 19:32:37 +01:00
asm-offsets.c Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
binfmt_elfn32.c Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 2005-10-29 19:30:19 +01:00
binfmt_elfo32.c Signed-off-by: Ralf Baechle <ralf@linux-mips.org> 2005-10-29 19:30:19 +01:00
branch.c Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
cpu-bugs64.c [PATCH] mips: nuke trailing whitespace 2005-09-05 00:06:07 -07:00
cpu-probe.c [MIPS] R10000 and R12000 need to set MIPS_CPU_4K_CACHE ... 2005-12-01 11:05:12 +00:00
dma-no-isa.c Dummy ISA DMA functions for systems that don't have ISA but share 2005-10-29 19:30:17 +01:00
entry.S Fix excessive signal latencies. 2005-10-29 19:32:23 +01:00
gdb-low.S Get 64-bit right in the kgdb stub. 2005-10-29 19:32:43 +01:00
gdb-stub.c Define and initialize kdb_lock using DEFINE_SPINLOCK. 2005-10-29 19:32:35 +01:00
genex.S Virtual SMP support for the 34K. 2005-10-29 19:32:10 +01:00
head.S Support for MIPSsim, the cycle accurate MIPS simulator. 2005-10-29 19:32:30 +01:00
i8259.c Date: Fri Jan 14 03:03:23 2005 +0000 2005-10-29 19:32:39 +01:00
init_task.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioctl32.c [PATCH] remove ioctl32_handler_t 2005-11-09 07:56:00 -08:00
irix5sys.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irixelf.c [PATCH] Don't uselessly export task_struct to userspace in core dumps 2005-10-30 17:37:18 -08:00
irixinv.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
irixioctl.c Reformatting, remove debugging code. 2005-10-29 19:30:57 +01:00
irixsig.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
irq-msc01.c More AP / SP bits for the 34K, the Malta bits and things. Still wants 2005-10-29 19:31:53 +01:00
irq-mv6434x.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq-rm7000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq-rm9000.c Convert struct hw_interrupt_type initializations to ISO C99 named 2005-10-29 19:30:46 +01:00
irq.c [PATCH] mips: nuke trailing whitespace 2005-09-05 00:06:07 -07:00
irq_cpu.c MT bulletproofing. 2005-10-29 19:32:09 +01:00
linux32.c Relax the rw_verify_area() error checking. 2006-01-04 16:20:40 -08:00
mips_ksyms.c [PATCH] mips: clean up 32/64-bit configuration 2005-09-05 00:06:06 -07:00
module.c Improved modules loader, more robust and works on 64bit kernels. 2005-10-29 19:30:39 +01:00
proc.c Add support for SB1A CPU. 2005-10-29 19:32:46 +01:00
process.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
ptrace.c [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
ptrace32.c Protect manipulation of c0_status against preemption and multithreading. 2005-10-29 19:32:36 +01:00
r4k_fpu.S Support the MIPS32 / MIPS64 DSP ASE. 2005-10-29 19:31:17 +01:00
r4k_switch.S Fixup a few lose ends in explicit support for MIPS R1/R2. 2005-10-29 19:32:37 +01:00
r2300_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r2300_switch.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
r6000_fpu.S kbuild: mips use generic asm-offsets.h support 2005-09-09 22:32:31 +02:00
reset.c [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. 2005-07-26 14:35:42 -07:00
rtlx.c Turn rtlx upside down. 2005-11-07 18:05:33 +00:00
scall32-o32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-64.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-n32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
scall64-o32.S [MIPS] Fix register handling in syscalls when debugging. 2005-12-01 11:05:17 +00:00
semaphore.c Always use ".set mips3" rather than select between "mips2" or "mips3" 2005-10-29 19:31:31 +01:00
setup.c Mark a few variables __read_mostly. 2005-10-29 19:31:46 +01:00
signal-common.h Redo RM9000 workaround which along with other DSP ASE changes was 2005-10-29 19:31:23 +01:00
signal.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
signal32.c [MIPS] Avoid duplicate do_syscall_trace calls on return from sigreturn. 2005-12-01 11:05:18 +00:00
signal_n32.c Setup_frame is now returning a success value. 2005-10-29 19:31:41 +01:00
smp.c [PATCH] sched: disable preempt in idle tasks 2005-11-09 07:56:33 -08:00
smp_mt.c Virtual SMP support for the 34K. 2005-10-29 19:32:10 +01:00
syscall.c NPTL, round one. 2005-10-29 19:31:06 +01:00
sysirix.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
time.c [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
traps.c [MIPS] Generate SIGILL again 2005-12-01 11:05:14 +00:00
unaligned.c Sparseify MIPS. 2005-10-29 19:30:50 +01:00
vmlinux.lds.S Get rid of the the remains of 2.4-style ramdisk support. 2005-10-29 19:30:57 +01:00
vpe.c VPE loader janitoring 2005-11-07 18:05:36 +00:00