android_kernel_xiaomi_sm8450/arch/sh
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
..
boards sh: R7780RP push-switch support. 2006-12-06 10:45:38 +09:00
boot sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
cchips sh: Cleanup board header directories. 2006-10-19 16:30:32 +09:00
configs sh: Add support for Solution Engine 7206 and 7619 boards. 2006-12-06 10:45:37 +09:00
drivers sh: generic push-switch framework. 2006-12-06 10:45:38 +09:00
kernel sh: Fix syscall tracing ordering. 2006-12-06 10:45:38 +09:00
lib sh: Fix memcpy() build error on sh4eb. 2006-09-27 17:50:03 +09:00
math-emu sh: Kill off remaining config.h references. 2006-10-03 13:19:02 +09:00
mm sh: TLB miss fast-path optimizations. 2006-12-06 10:45:38 +09:00
oprofile sh: Add SH7750S/SH7091 rules for SH7750 oprofile driver. 2006-09-27 14:30:11 +09:00
tools sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
Kconfig sh: TLB miss fast-path optimizations. 2006-12-06 10:45:38 +09:00
Kconfig.debug sh: Add support for 4K stacks. 2006-09-27 18:22:14 +09:00
Makefile sh: gcc4 support. 2006-12-06 10:45:38 +09:00