linux/arch
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
..
alpha [PATCH] alpha: key management syscalls 2005-04-21 11:28:26 -07:00
arm [PATCH] ARM: make entry*.S includes more logical 2005-04-26 15:21:02 +01:00
arm26 [PATCH] freepgt: arm26 FIRST_USER_ADDRESS PAGE_SIZE 2005-04-19 13:29:22 -07:00
cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
frv Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h8300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i386 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
ia64 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
m32r Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68k [PATCH] M68k: Update defconfigs for 2.6.12-rc2 2005-04-18 10:47:34 -07:00
m68knommu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
parisc [PATCH] add Big Endian variants of ioread/iowrite 2005-04-16 15:25:54 -07:00
ppc [PATCH] ppc user annotations: debug_setconetext(2) 2005-04-25 07:55:59 -07:00
ppc64 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
s390 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
sh [PATCH] fix u32 vs. pm_message_t in rest of the tree 2005-04-16 15:25:37 -07:00
sh64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sparc [SPARC]: dump_stack for sparc 2005-04-24 20:46:49 -07:00
sparc64 [PATCH] mostek bogus sparse annotations fixed 2005-04-24 12:28:36 -07:00
um [PATCH] uml: fix compilation for __CHOOSE_MODE addition 2005-04-16 15:25:39 -07:00
v850 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
x86_64 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00