Skip to content
Commit b7456536 authored by Will Drewry's avatar Will Drewry Committed by James Morris
Browse files

arch/x86: add syscall_get_arch to syscall.h



Add syscall_get_arch() to export the current AUDIT_ARCH_* based on system call
entry path.

Signed-off-by: default avatarWill Drewry <wad@chromium.org>
Acked-by: default avatarSerge Hallyn <serge.hallyn@canonical.com>
Reviewed-by: default avatarH. Peter Anvin <hpa@zytor.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>

v18: - update comment about x32 tasks
     - rebase to v3.4-rc2
v17: rebase and reviewed-by
v14: rebase/nochanges
v13: rebase on to 88ebdda6
Signed-off-by: default avatarJames Morris <james.l.morris@oracle.com>
parent 07bd18d0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment