auditsc: for seccomp events, log syscall compat state using in_compat_syscall
authorAndy Lutomirski <luto@kernel.org>
Tue, 22 Mar 2016 21:24:58 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2016 22:36:02 +0000 (15:36 -0700)
commitefbc0fbf34927bd4d3d49b50b370990be82809c2
tree1c8e1007d585b6d073cc3b9773849f3e3d2d3f6e
parent5c465217a930d4bbb7dd35a56bde1eea5bbd14d6
auditsc: for seccomp events, log syscall compat state using in_compat_syscall

Except on SPARC, this is what the code always did.  SPARC compat seccomp
was buggy, although the impact of the bug was limited because SPARC
32-bit and 64-bit syscall numbers are the same.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Paul Moore <paul@paul-moore.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/auditsc.c