kernel-ark/arch/i386/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 [PATCH] x86: fix acpi compile without CONFIG_ACPI_BUS 2005-04-18 08:01:30 -07:00
cpu [PATCH] fix subarch breakage in amd dual core updates 2005-04-21 16:20:35 -07:00
timers
apic.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
apm.c
asm-offsets.c
bootflag.c
cpuid.c
dmi_scan.c
doublefault.c
early_printk.c
efi_stub.S
efi.c [PATCH] efi: eliminate bad section references 2005-04-16 15:25:53 -07:00
entry.S
head.S
i386_ksyms.c
i387.c
i8259.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
init_task.c
io_apic.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
ioport.c
irq.c
kprobes.c
ldt.c
Makefile [PATCH] i386 vDSO: add PT_NOTE segment 2005-04-16 15:24:48 -07:00
mca.c
microcode.c
module.c
mpparse.c
msr.c
nmi.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
numaq.c
pci-dma.c
process.c [PATCH] i386: Use loaddebug macro consistently 2005-04-16 15:24:46 -07:00
ptrace.c [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
quirks.c
reboot.c
scx200.c
semaphore.c
setup.c
sigframe.h
signal.c [PATCH] i386: Use loaddebug macro consistently 2005-04-16 15:24:46 -07:00
smp.c
smpboot.c [PATCH] x86_64: add support for Intel dual-core detection and displaying 2005-04-16 15:25:15 -07:00
srat.c
summit.c
sys_i386.c
sysenter.c
time_hpet.c
time.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
trampoline.S
traps.c
vm86.c
vmlinux.lds.S
vsyscall-int80.S
vsyscall-note.S [PATCH] i386 vDSO: add PT_NOTE segment 2005-04-16 15:24:48 -07:00
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.lds.S [PATCH] i386 vDSO: add PT_NOTE segment 2005-04-16 15:24:48 -07:00
vsyscall.S