linux-stable-rt/arch/sparc/kernel
Kirill Korotaev 3a45975681 [PATCH] IA64,sparc: local DoS with corrupted ELFs
This prevents cross-region mappings on IA64 and SPARC which could lead
to system crash.  They were correctly trapped for normal mmap() calls,
but not for the kernel internal calls generated by executable loading.

This code just moves the architecture-specific cross-region checks into
an arch-specific "arch_mmap_check()" macro, and defines that for the
architectures that needed it (ia64, sparc and sparc64).

Architectures that don't have any special requirements can just ignore
the new cross-region check, since the mmap() code will just notice on
its own when the macro isn't defined.

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
[ Cleaned up to not affect architectures that don't need it ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-08 08:40:46 -07:00
..
Makefile
apc.c
asm-offsets.c
auxio.c
cpu.c
devices.c [SPARC]: Simplify and correct __cpu_find_by() 2006-07-21 14:18:15 -07:00
ebus.c
entry.S
errtbls.c
etrap.S
head.S
idprom.c
init_task.c
ioport.c
irq.c [SPARC]: Do not call sun4m_irq_rotate on sun4d. 2006-07-21 14:18:18 -07:00
led.c
module.c
muldiv.c
of_device.c [SPARC]: Fix initialization of sun4d SBUS interrupts. 2006-07-21 14:18:11 -07:00
pcic.c [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
pmc.c
process.c
prom.c [SPARC]: Fix property name acquisition in prom.c 2006-07-21 14:18:04 -07:00
ptrace.c
rtrap.S
sclow.S
semaphore.c
setup.c [SPARC]: enabling of the 2nd CPU in 2.6.18-rc4 2006-08-26 17:52:51 -07:00
signal.c
smp.c [SPARC]: Small smp cleanup. 2006-08-26 17:52:56 -07:00
sparc-stub.c
sparc_ksyms.c [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
sun4c_irq.c [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sun4d_irq.c [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sun4d_smp.c [SPARC]: Small smp cleanup. 2006-08-26 17:52:56 -07:00
sun4m_irq.c [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
sun4m_smp.c [SPARC]: Small smp cleanup. 2006-08-26 17:52:56 -07:00
sun4setup.c
sunos_asm.S
sunos_ioctl.c
sys_solaris.c
sys_sparc.c [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
sys_sunos.c
systbls.S
tadpole.c
tick14.c [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
time.c [SPARC]: Defer clock_probe to fs_initcall() 2006-07-27 22:08:01 -07:00
trampoline.S
traps.c
unaligned.c
vmlinux.lds.S
windows.c
wof.S
wuf.S