WSL2-Linux-Kernel/arch/mips
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
..
arc
au1000
boot
cobalt
configs
ddb5xxx
dec
galileo-boards/ev96100
gt64120
ite-boards
jazz
jmr3927
kernel
lasat
lib
lib-32
lib-64
math-emu
mips-boards
mm
momentum
oprofile
pci
philips/pnx8550
pmc-sierra
qemu
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
tx4927
tx4938
vr41xx
Kconfig
Kconfig.debug
Makefile
defconfig