kernel-ark/arch/x86_64/kernel
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
cpufreq
aperture.c
apic.c
asm-offsets.c
e820.c
early_printk.c
entry.S
genapic_cluster.c
genapic_flat.c
genapic.c
head64.c
head.S
i387.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c
kprobes.c
ldt.c
Makefile
mce_intel.c
mce.c
module.c
mpparse.c
msr.c
nmi.c
pci-dma.c
pci-gart.c
pci-nommu.c
process.c
ptrace.c [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
reboot.c
semaphore.c
setup64.c
setup.c
signal.c
smp.c
smpboot.c
suspend_asm.S
suspend.c
sys_x86_64.c
syscall.c
time.c
trampoline.S
traps.c
vmlinux.lds.S
vsyscall.c
x8664_ksyms.c