kernel-ark/include
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
..
acpi
asm-alpha
asm-arm [PATCH] ARM: AMBA CLCD: X resolutions must be multiples of 16 2005-04-28 10:46:15 +01:00
asm-arm26
asm-cris
asm-frv
asm-generic [PATCH] __get_unaligned() turned into macro 2005-04-24 12:28:35 -07:00
asm-h8300
asm-i386
asm-ia64 [IA64] re-enable preempt before page allocation for pgtable quicklist 2005-04-26 09:04:31 -07:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-ppc [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
asm-ppc64
asm-s390
asm-sh
asm-sh64
asm-sparc [SPARC]: Fix mxcc warning 2005-04-24 20:46:00 -07:00
asm-sparc64 [SPARC64]: Fix SMP build. 2005-04-24 21:04:02 -07:00
asm-um
asm-v850
asm-x86_64
linux [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
math-emu
media
mtd
net [PKT_SCHED]: Fix range in psched_tod_diff() to 0..bound 2005-04-28 12:14:37 -07:00
pcmcia
rxrpc
scsi
sound
video