android_kernel_xiaomi_sm8350/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 sh: Initial gitignore list 2006-10-03 13:16:15 +09:00
apm.c sh: Kill off remaining config.h references. 2006-10-03 13:19:02 +09:00
asm-offsets.c
cf-enabler.c sh: Board updates for I/O routine rework. 2006-09-27 15:41:24 +09:00
cpufreq.c
early_printk.c sh: earlyprintk= support and cleanups. 2006-09-27 14:26:53 +09:00
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 [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
io_generic.c
io.c sh: Optimized readsl()/writesl() support. 2006-09-27 18:25:24 +09:00
irq.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
kgdb_jmp.S
kgdb_stub.c sh: kgdb stub cleanups. 2006-09-27 16:24:55 +09:00
machine_kexec.c sh: Update kexec support for API changes. 2006-09-27 18:26:05 +09:00
Makefile sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
module.c
pm.c sh: APM/PM support. 2006-09-27 16:20:22 +09:00
process.c sh: gcc4 support. 2006-12-06 10:45:38 +09:00
ptrace.c sh: Various cosmetic cleanups. 2006-09-27 12:31:01 +09:00
relocate_kernel.S
semaphore.c sh: Fixup some uninitialized spinlocks. 2006-09-27 11:31:32 +09:00
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 [PATCH] cpumask: export cpu_online_map and cpu_possible_map consistently 2006-10-02 07:57:17 -07:00
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