mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Improved seccomp logging
@ 2017-02-03  5:37 Tyler Hicks
  2017-02-03  5:37 ` [PATCH v2 1/4] seccomp: Add sysctl to display available actions Tyler Hicks
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Tyler Hicks @ 2017-02-03  5:37 UTC (permalink / raw)
  To: Paul Moore, Eric Paris, Kees Cook, Andy Lutomirski, Will Drewry
  Cc: linux-audit, linux-kernel

This patch set is the second revision of the following two previously
submitted patch sets:

http://lkml.kernel.org/r/1483375990-14948-1-git-send-email-tyhicks@canonical.com
http://lkml.kernel.org/r/1483377999-15019-2-git-send-email-tyhicks@canonical.com

The patch set aims to address some known deficiencies in seccomp's current
logging capabilities:

  1. Inability to log all filter actions.
  2. Inability to selectively enable filtering; e.g. devs want noisy logging,
     users want relative quiet.
  3. Consistent behavior with audit enabled and disabled.
  4. Inability to easily develop a filter due to the lack of a
     permissive/complain mode.

The first three items were outlined by Paul Moore and are issues that I agree
with. The last one is one that I'm particularly interested in.

I deviated a little from the plan that he laid out to address the third issue.
Looking back at Paul's feedback, he wanted a way to log seccomp actions even
when the audit subsystem is disabled at build time. I felt like the bigger
problem is that, while it is common for kernels to be built with audit support,
it is far less common to actually have auditd running. Therefore, my approach
was to improve the situation when kernel audit support is enabled at build time
but audit_enabled is false at runtime. The audit subsystem forwards messages
onto syslog in that situation.

Tyler

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-02-14  0:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03  5:37 [PATCH v2 0/4] Improved seccomp logging Tyler Hicks
2017-02-03  5:37 ` [PATCH v2 1/4] seccomp: Add sysctl to display available actions Tyler Hicks
2017-02-08  0:03   ` Kees Cook
2017-02-08  0:25     ` Tyler Hicks
2017-02-08  0:43       ` Kees Cook
2017-02-14  0:25         ` Tyler Hicks
2017-02-14  0:26           ` Kees Cook
2017-02-03  5:37 ` [PATCH v2 2/4] seccomp: Add sysctl to configure actions that should be logged Tyler Hicks
2017-02-08  0:24   ` Kees Cook
2017-02-10 23:56     ` Tyler Hicks
2017-02-11  0:05       ` Kees Cook
2017-02-03  5:37 ` [PATCH v2 3/4] seccomp: Create an action to log before allowing Tyler Hicks
2017-02-08  0:33   ` Kees Cook
2017-02-09 21:49     ` Kees Cook
2017-02-11  0:01     ` Tyler Hicks
2017-02-11  0:08       ` Kees Cook
2017-02-11  0:15         ` Tyler Hicks
2017-02-03  5:37 ` [PATCH v2 4/4] seccomp: Add tests for SECCOMP_RET_LOG Tyler Hicks
2017-02-08  0:39   ` Kees Cook
2017-02-07 23:58 ` [PATCH v2 0/4] Improved seccomp logging Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®