android_kernel_xiaomi_sm8350/arch/arm
Lennert Buytenhek 51635ad282 [ARM] 3813/1: prevent >= 4G /dev/mem mmap()
Prevent userland from mapping in physical address regions >= 4G by
checking for that in valid_mmap_phys_addr_range().

Unfortunately, we cannot override valid_mmap_phys_addr_range() without
also overriding valid_phys_addr_range(), so copy drivers/char/mem.c's
version of valid_phys_addr_range() over to arch/arm/mm/mmap.c as well.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-09-25 10:25:26 +01:00
..
boot Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
common [ARM] 3741/1: remove sa1111.c build warning on non-sa1100 systems 2006-08-27 13:09:14 +01:00
configs [ARM] 3811/1: ep93xx: add cirrus logic edb9312 support 2006-09-25 10:25:25 +01:00
kernel [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mach-aaec2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-at91rm9200 [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-clps711x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-clps7500 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ebsa110 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ep93xx [ARM] 3811/1: ep93xx: add cirrus logic edb9312 support 2006-09-25 10:25:25 +01:00
mach-footbridge [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
mach-h720x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-imx [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-integrator [ARM] Add Integrator support for glibc outb() and friends 2006-08-28 12:47:05 +01:00
mach-iop3xx [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-ixp4xx [ARM] 3772/1: Fix compilation error in mach-ixp4xx/nslu2* 2006-09-06 19:03:24 +01:00
mach-ixp23xx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ixp2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-l7200 [ARM] 3684/1: ARM: Convert l7200 to generic irq handling 2006-07-01 22:32:19 +01:00
mach-lh7a40x [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-netx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-omap1 [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-omap2 [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-pnx4008 [ARM] 3709/1: pnx4008: convert to generic irq subsystem 2006-07-05 14:47:20 +01:00
mach-pxa [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en 2006-08-27 12:54:56 +01:00
mach-realview [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-rpc [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-s3c2410 [ARM] 3802/1: S3C24XX: PM tidy up cache flushing 2006-09-25 10:25:21 +01:00
mach-sa1100 [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en 2006-08-27 12:54:56 +01:00
mach-shark [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
mach-versatile [ARM] 3752/1: fix versatile flash resource map 2006-08-13 14:17:12 +01:00
mm [ARM] 3813/1: prevent >= 4G /dev/mem mmap() 2006-09-25 10:25:26 +01:00
nwfpe [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 2006-07-13 13:04:24 +01:00
oprofile [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
plat-omap [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name 2006-08-01 22:26:25 +01:00
tools
vfp [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
Kconfig [ARM] Add ARM irqtrace support 2006-09-20 14:58:35 +01:00
Kconfig-nommu
Kconfig.debug
Makefile [ARM] 3761/1: fix armv4t breakage after adding thumb interworking to userspace helpers 2006-08-28 12:51:20 +01:00