]> err.no Git - linux-2.6/commit
[PATCH] fix ia64 syscall auditing
authorAmy Griffis <amy.griffis@hp.com>
Fri, 29 Apr 2005 15:12:55 +0000 (16:12 +0100)
committer <dwmw2@shinybook.infradead.org> <>
Fri, 29 Apr 2005 15:12:55 +0000 (16:12 +0100)
commit3ac3ed555bec5b1f92bb22cb94823a0e99d0f320
tree0133d690f115c47026a316b8b8e2a0a403443d84
parentc7fcb0ee74ef4cfdea02befacb55945c93641e44
[PATCH] fix ia64 syscall auditing

Attached is a patch against David's audit.17 kernel that adds checks
for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and
signal handling code paths.The patch enables auditing of system
calls set up via fsys_bubble_down, as well as ensuring that
audit_syscall_exit() is called on return from sigreturn.

Neglecting to check for TIF_SYSCALL_AUDIT at these points results in
incorrect information in audit_context, causing frequent system panics
when system call auditing is enabled on an ia64 system.

Signed-off-by: Amy Griffis <amy.griffis@hp.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
arch/ia64/kernel/fsys.S
arch/ia64/kernel/signal.c