linux-stable-rt/include/asm-sparc
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
..
Kbuild
a.out.h
apc.h
asi.h
asmmacro.h
atomic.h
auxio.h
auxvec.h
bitext.h
bitops.h
bpp.h
bsderrno.h
btfixup.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
clock.h
contregs.h
cpudata.h
cputime.h
current.h
cypress.h
delay.h
div64.h
dma-mapping.h
dma.h
ebus.h [SPARC]: Port of_device layer and make ebus use it. 2006-06-23 23:15:47 -07:00
ecc.h
eeprom.h
elf.h
emergency-restart.h
errno.h
fbio.h
fcntl.h
fixmap.h
floppy.h [PATCH] irq-flags: SPARC: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
futex.h
hardirq.h
head.h
highmem.h
hw_irq.h
ide.h
idprom.h
io-unit.h
io.h [SPARC]: Add iomap interfaces. 2006-06-25 23:24:24 -07:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
irq.h
jsflash.h
kdebug.h
kgdb.h
kmap_types.h
linkage.h
local.h
machines.h
mbus.h
mc146818rtc.h
memreg.h
mman.h [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
mmu.h
mmu_context.h
module.h
mostek.h
mpmbox.h
msgbuf.h
msi.h
mutex.h
mxcc.h
namei.h
obio.h
of_device.h [SPARC]: sparc32 side of of_device layer IRQ resolution. 2006-06-29 16:37:40 -07:00
openprom.h
openpromio.h
oplib.h [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
page.h
param.h
pbm.h [SPARC]: Port sparc64 in-kernel device tree code to sparc32. 2006-06-23 23:15:45 -07:00
pci.h
pcic.h
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h
pgtsrmmu.h
pgtsun4.h
pgtsun4c.h
poll.h
posix_types.h
processor.h
prom.h [SPARC]: Kill interrupt stuff and linux_phandle from device_node. 2006-06-29 16:37:25 -07:00
psr.h
ptrace.h
reg.h
resource.h
ross.h
rtc.h
sbi.h
sbus.h [SBUS]: Rewrite and plug into of_device framework. 2006-06-23 23:15:50 -07:00
scatterlist.h
sections.h
semaphore.h
sembuf.h
setup.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h [SPARC]: Fix SA_STATIC_ALLOC value. 2006-07-24 22:34:00 -07:00
smp.h
smpprim.h
socket.h [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
sockios.h
solerrno.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
sun4paddr.h
sun4prom.h
sunbpp.h
svr4.h
swift.h
sysen.h
system.h [PATCH] remove set_wmb - arch removal 2006-07-14 21:56:14 -07:00
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
tsunami.h
turbosparc.h
types.h
uaccess.h
unaligned.h
unistd.h
user.h
vac-ops.h
vaddrs.h
vfc_ioctls.h
vga.h
viking.h
winmacro.h
xor.h