kernel-ark/arch/sh/kernel
Stuart Menefy e0969e0c9b sh: Fix syscall tracing ordering.
The implementation of system call tracing in the kernel has a
couple of ordering problems:

 - the validity of the system call number is checked before
   calling out to system call tracing code, and should be
   done after

 - the system call number used when tracing is the one the
   system call was invoked with, while the system call tracing
   code can legitimatly change the call number (for example
   strace permutes fork into clone)

This patch fixes both of these problems, and also reoders the
code slightly to make the direct path through the code the
common case.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-12-06 10:45:38 +09:00
..
cpu sh: TLB miss fast-path optimizations. 2006-12-06 10:45:38 +09:00
timers sh: Configurable timer IRQ. 2006-12-06 10:45:37 +09:00
vsyscall
apm.c
asm-offsets.c
cf-enabler.c
cpufreq.c
early_printk.c
entry-common.S sh: Fix syscall tracing ordering. 2006-12-06 10:45:38 +09:00
head.S sh: Exception vector rework and SH-2/SH-2A support. 2006-12-06 10:45:36 +09:00
init_task.c
io_generic.c
io.c
irq.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
kgdb_jmp.S
kgdb_stub.c
machine_kexec.c
Makefile sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
module.c
pm.c
process.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
ptrace.c
relocate_kernel.S
semaphore.c
setup.c sh: Hook SH7785 in to the build system. 2006-12-06 10:45:37 +09:00
sh_bios.c
sh_ksyms.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
signal.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
smp.c
sys_sh.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
syscalls.S sh: Wire up new syscalls. 2006-10-31 12:53:28 +09:00
time.c sh: Updates for IRQ handler changes. 2006-10-06 15:31:16 +09:00
traps.c sh: Set up correct siginfo structures for page faults. 2006-12-06 10:45:38 +09:00
vmlinux.lds.S [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00