mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
2fd6f58ba6
We were calling ptrace_notify() after auditing the syscall and arguments, but the debugger could have _changed_ them before the syscall was actually invoked. Reorder the calls to fix that. While we're touching ever call to audit_syscall_entry(), we also make it take an extra argument: the architecture of the syscall which was made, because some architectures allow more than one type of syscall. Also add an explicit success/failure flag to audit_syscall_exit(), for the benefit of architectures which return that in a condition register rather than only returning a single register. Change type of syscall return value to 'long' not 'int'. Signed-off-by: David Woodhouse <dwmw2@infradead.org> |
||
---|---|---|
.. | ||
arc | ||
au1000 | ||
boot | ||
cobalt | ||
configs | ||
ddb5xxx | ||
dec | ||
galileo-boards/ev96100 | ||
gt64120 | ||
ite-boards | ||
jazz | ||
jmr3927 | ||
kernel | ||
lasat | ||
lib | ||
lib-32 | ||
lib-64 | ||
math-emu | ||
mips-boards | ||
mm | ||
momentum | ||
oprofile | ||
pci | ||
pmc-sierra/yosemite | ||
sgi-ip22 | ||
sgi-ip27 | ||
sgi-ip32 | ||
sibyte | ||
sni | ||
tx4927 | ||
vr41xx | ||
vr4181 | ||
defconfig | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |