[PATCH 0/2] Support auditing while still allowing a syscall

From: Tyler Hicks
Date: Mon Jan 02 2017 - 12:27:37 EST


Allow application authors to opt into auditing a syscall before allowing it.
This differs slightly from SECCOMP_RET_ALLOW in that an audit message is
generated for the syscall.

It can be useful when initially setting up a seccomp sandbox for your
application if you set the default action to audit instead of, for example,
kill when the application makes a restricted system call. The application
author can easily compile a list of syscalls that need to be allowed instead of
iteratively building the application, testing the application, updating the
filter, and repeating until all appropriate system calls have been allowed.

This patch set depends on the following patch set:

https://lkml.kernel.org/r/1483375990-14948-1-git-send-email-tyhicks@xxxxxxxxxxxxx

(At least, I hope it shows up at that link soon because marc.info doesn't yet
know of the message-id.)

The corresponding libseccomp changes can be found here:

https://github.com/seccomp/libseccomp/pull/64

Thanks!

Tyler