[uml-devel] [PATCH] Audit: push audit success and retcode into arch ptrace.h

2011-06-02 Thread Eric Paris
]. Signed-off-by: Eric Paris epa...@redhat.com --- arch/ia64/include/asm/ptrace.h| 10 +- arch/ia64/kernel/ptrace.c |9 + arch/microblaze/include/asm/ptrace.h |2 ++ arch/microblaze/kernel/ptrace.c |3 +-- arch/mips/include

Re: [uml-devel] [PATCH] Audit: push audit success and retcode into arch ptrace.h

2011-06-02 Thread Eric Paris
On 06/02/2011 07:00 PM, Tony Luck wrote: But there seems to be another problem. Why is pt_regs of type void *? gcc complains: In file included from include/linux/fsnotify.h:15:0, from include/linux/security.h:26, from init/main.c:32: include/linux/audit.h:

[uml-devel] [PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-03 Thread Eric Paris
, kretprobe_example.c, won't notice and it makes the value signed consistently for the audit functions across all archs. Signed-off-by: Eric Paris epa...@redhat.com Acked-by: Acked-by: H. Peter Anvin h...@zytor.com [for x86 portion] --- arch/ia64/include/asm/ptrace.h| 13

Re: [uml-devel] [PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-07 Thread Eric Paris
On Tue, 2011-06-07 at 19:19 +0200, Oleg Nesterov wrote: On 06/03, Eric Paris wrote: The audit system previously expected arches calling to audit_syscall_exit to supply as arguments if the syscall was a success and what the return code was. Audit also provides a helper AUDITSC_RESULT

Re: [uml-devel] [PATCH -v2] Audit: push audit success and retcode into arch ptrace.h

2011-06-08 Thread Eric Paris
On Wed, 2011-06-08 at 18:36 +0200, Oleg Nesterov wrote: On 06/07, Eric Paris wrote: On Tue, 2011-06-07 at 19:19 +0200, Oleg Nesterov wrote: With or without this patch, can't we call audit_syscall_exit() twice if there is something else in _TIF_WORK_SYSCALL_EXIT mask apart from

[uml-devel] [PATCH -v3] Audit: push audit success and retcode into arch ptrace.h

2011-06-15 Thread Eric Paris
(), much like ia64 makes it negative before calling the audit code when appropriate. Signed-off-by: Eric Paris epa...@redhat.com Acked-by: H. Peter Anvin h...@zytor.com [for x86 portion] Acked-by: Tony Luck tony.l...@intel.com [for ia64] Acked-by: Richard Weinberger rich...@nod.at [for uml] Acked

[uml-devel] [PATCH 2/4] UM: implement syscall_get_arch()

2014-03-19 Thread Eric Paris
() function) Signed-off-by: Eric Paris epa...@redhat.com Cc: user-mode-linux-devel@lists.sourceforge.net --- arch/x86/um/asm/syscall.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 arch/x86/um/asm/syscall.h diff --git a/arch/x86/um/asm/syscall.h b/arch/x86/um/asm

Re: [uml-devel] [PATCH 2/4] UM: implement syscall_get_arch()

2014-03-23 Thread Eric Paris
On Fri, 2014-03-21 at 15:08 -0400, Richard Guy Briggs wrote: On 14/03/19, Eric Paris wrote: SH: define syscall_get_arch() for superh This patch defines syscall_get_arch() for the um platform. It adds a new syscall.h header file to define this. It copies the HOST_AUDIT_ARCH definition