diff options
author | Stuart Menefy <stuart.menefy@st.com> | 2006-11-23 23:01:36 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-05 20:45:38 -0500 |
commit | e0969e0c9b609fdfe217e34f3e046179ffe88eb6 (patch) | |
tree | e0769039173233ea75d4e9ed87bbcfec690dc446 /include/asm-avr32/resource.h | |
parent | c9f0b1c1410e9e637b819c5050fc8c1f1971e178 (diff) |
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>
Diffstat (limited to 'include/asm-avr32/resource.h')
0 files changed, 0 insertions, 0 deletions