kernel-ark/arch/arm/kernel
Paul Brook 5247593c96 [ARM] 3335/1: Old-abi Thumb sys_syscall broken
Patch from Paul Brook

The old-abi sys_syscall syscall is broken when called from Thumb mode. It
assumes the syscall number is an Arm syscall number (ie. starts from
__NR_OABI_SYSCALL_BASE).  In thumb mode syscall numbers start from zero.

The patch below fixes this by clearing the nigh bits of the syscall number
instead of inverting them. Technically this means we accept some invalid
syscall numbers, but I can't see how that could be a problem. The two sets of
numbers far apart that unimplemented syscalls should still be rejected.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-06-18 16:16:57 +01:00
..
apm.c
armksyms.c [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00
arthur.c
asm-offsets.c [ARM] 3517/1: move definition of PROC_INFO_SZ from procinfo.h to asm-offsets.h 2006-05-16 11:39:30 +01:00
bios32.c
calls.S
compat.c
compat.h
debug.S
dma-isa.c [ARM] arch/arm/kernel/dma-isa.c: named initializers 2006-05-16 22:09:46 +01:00
dma.c
ecard.c
entry-armv.S
entry-common.S [ARM] 3335/1: Old-abi Thumb sys_syscall broken 2006-06-18 16:16:57 +01:00
entry-header.S
fiq.c
head-common.S
head-nommu.S [ARM] 3496/1: more constants for asm-offsets.h 2006-05-05 15:11:14 +01:00
head.S [ARM] 3496/1: more constants for asm-offsets.h 2006-05-05 15:11:14 +01:00
init_task.c
io.c
irq.c
isa.c
iwmmxt.S
Makefile [ARM] nommu: trivial fixups for head-nommu.S and the Makefile 2006-04-24 09:45:35 +01:00
module.c
process.c [ARM] arch/arm/kernel/process.c: Fix warning 2006-05-16 11:39:32 +01:00
ptrace.c
ptrace.h
semaphore.c
setup.c [ARM] for_each_possible_cpu 2006-04-20 21:48:02 +01:00
signal.c
signal.h
smp.c
sys_arm.c
sys_oabi-compat.c
time.c
traps.c
vmlinux.lds.S