android_kernel_xiaomi_sm8350/arch/mips
Vlad Malov e807f9574e MIPS: Fix potential DOS by untrusted user app.
On a 64 bit kernel if an o32 syscall was made with a syscall number less
than 4000, we would read the function from outside of the bounds of the
syscall table.  This led to non-deterministic behavior including system
crashes.

While we were at it we reworked the 32 bit version as well to use fewer
instructions.  Both 32 and 64 bit versions are use the same code now.

Signed-off-by: Vlad Malov <Vlad.Malov@caviumnetworks.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2008-12-04 17:47:26 +00:00
..
alchemy MIPS: Alchemy: Wire up SD controller on DB/PB1200 boards. 2008-10-27 16:18:27 +00:00
basler/excite
bcm47xx MIPS: WGT634U: Add reset button support 2008-10-15 12:46:51 +01:00
boot
cobalt
configs CHAR: Delete old and now unused M48T35 RTC driver for SGI IP27. 2008-10-30 14:44:35 +00:00
dec mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
emma MIPS: Markeins: Remove unnecessary define and cleanup comments, etc. 2008-10-27 16:18:31 +00:00
fw
gt64120/wrppmc
include/asm remove __ARCH_WANT_COMPAT_SYS_PTRACE 2008-11-30 11:00:15 -08:00
jazz
kernel MIPS: Fix potential DOS by untrusted user app. 2008-12-04 17:47:26 +00:00
lasat sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
lemote/lm2e MIPS: lemote/lm2e: Added io_map_base to pci controller 2008-10-27 16:18:31 +00:00
lib MIPS: Add CONFIG_CPU_R5500 for NEC VR5500 series processors 2008-10-27 16:18:29 +00:00
math-emu MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
mipssim
mm MIPS: IP22: Make indy_sc_ops variable static 2008-11-20 19:42:33 +00:00
mti-malta MIPS: Malta: Fix include paths in malta-amon.c 2008-11-20 19:42:32 +00:00
nxp MIPS: Add support for NXP PNX833x (STB222/5) into linux kernel 2008-10-27 16:18:29 +00:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci MIPS: EMMA: Move <asm/emma2rh> to <asm/emma> dir 2008-10-27 16:18:29 +00:00
pmc-sierra mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
rb532 MIPS: RB532: Provide functions for gpio configuration 2008-11-20 19:42:33 +00:00
sgi-ip22 MIPS: IP22: ip22-int.c header file weeding. 2008-10-27 16:18:28 +00:00
sgi-ip27 MIPS: IP27: Switch over to RTC class driver 2008-10-15 12:46:51 +01:00
sgi-ip32 MIPS: IP32: Add platform device for CMOS RTC; remove dead code 2008-10-15 12:46:52 +01:00
sibyte mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
sni
txx9 MIPS: RBTX4927: Add GPIO-LED support 2008-10-30 14:44:33 +00:00
vr41xx
Kconfig CHAR: Delete old and now unused DS1286 driver. 2008-10-30 14:44:35 +00:00
Kconfig.debug
Makefile MIPS: EMMA: Move arch/mips/emma2rh/ into arch/mips/emma/ 2008-10-27 16:18:29 +00:00