seccomp: remove duplicated failure logging
authorKees Cook <keescook@chromium.org>
Thu, 12 Apr 2012 21:47:58 +0000 (16:47 -0500)
committerJames Morris <james.l.morris@oracle.com>
Sat, 14 Apr 2012 01:13:20 +0000 (11:13 +1000)
commit3dc1c1b2d2ed7507ce8a379814ad75745ff97ebe
tree68ca991b7a3d2fc7623f6d86ba5827d6638974fd
parente2cfabdfd075648216f99c2c03821cf3f47c1727
seccomp: remove duplicated failure logging

This consolidates the seccomp filter error logging path and adds more
details to the audit log.

Signed-off-by: Will Drewry <wad@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Eric Paris <eparis@redhat.com>
v18: make compat= permanent in the record
v15: added a return code to the audit_seccomp path by wad@chromium.org
     (suggested by eparis@redhat.com)
v*: original by keescook@chromium.org
Signed-off-by: James Morris <james.l.morris@oracle.com>
include/linux/audit.h
kernel/auditsc.c
kernel/seccomp.c