kernel-ark/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
..
irq
power
acct.c
audit.c audit_log_untrustedstring() warning fix 2005-04-29 15:59:11 +01:00
auditsc.c [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. 2005-04-29 16:08:28 +01:00
capability.c
compat.c
configs.c
cpu.c
cpuset.c [PATCH] cpuset: remove function attribute const 2005-04-16 15:25:59 -07:00
dma.c
exec_domain.c
exit.c [PATCH] reparent_to_init cleanup 2005-04-16 15:26:01 -07:00
extable.c
fork.c
futex.c
intermodule.c
itimer.c
kallsyms.c
kfifo.c
kmod.c
kprobes.c
ksysfs.c
kthread.c
Makefile
module.c
panic.c [SPARC]: Stop-A printk cleanup 2005-04-24 20:38:02 -07:00
params.c
pid.c
posix-cpu-timers.c
posix-timers.c
printk.c
profile.c
ptrace.c
rcupdate.c
resource.c [PATCH] pci enumeration on ixp2000: overflow in kernel/resource.c 2005-04-16 15:25:58 -07:00
sched.c [PATCH] sched: fix signed comparisons of long long 2005-04-18 10:58:36 -07:00
seccomp.c
signal.c [PATCH] kill #ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER in signal.c 2005-04-16 15:25:47 -07:00
softirq.c
spinlock.c
stop_machine.c
sys_ni.c
sys.c
sysctl.c
time.c [PATCH] time interpolator: Fix settimeofday inaccuracy 2005-04-28 08:13:58 -07:00
timer.c
uid16.c
user.c
wait.c
workqueue.c