linux/arch/mips
2fd6f58ba6 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls.
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>
2005-04-29 16:08:28 +01:00
..
arc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1000 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cobalt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ddb5xxx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dec Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
galileo-boards/ev96100 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64120 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ite-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jazz Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jmr3927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
lasat Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lib Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lib-32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lib-64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips-boards Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
momentum Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [PATCH] mips: update VR41xx CPU-PCI bridge support 2005-04-16 15:24:40 -07:00
pmc-sierra/yosemite Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi-ip22 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi-ip27 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgi-ip32 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sibyte Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx4927 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vr41xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vr4181 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00