audit: log 32-bit socketcalls
authorRichard Guy Briggs <rgb@redhat.com>
Tue, 17 Jan 2017 16:07:15 +0000 (11:07 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 18 Jan 2017 20:05:25 +0000 (15:05 -0500)
commit62bc306e2083436675e33b5bdeb6a77907d35971
treec209cd6b56b331e8dcc1f4bff2eb75ce822226da
parent92c82e8a322b32a6cabe7d8800dc10401157a623
audit: log 32-bit socketcalls

32-bit socketcalls were not being logged by audit on x86_64 systems.
Log them.  This is basically a duplicate of the call from
net/socket.c:sys_socketcall(), but it addresses the impedance mismatch
between 32-bit userspace process and 64-bit kernel audit.

See: https://github.com/linux-audit/audit-kernel/issues/14

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/audit.h
net/compat.c