From: Andy Lutomirski <luto@amacapital.net>
To: Kees Cook <keescook@chromium.org>
Cc: linux-audit@redhat.com,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Richard Guy Briggs <rgb@redhat.com>
Subject: Re: Should audit_seccomp check audit_enabled?
Date: Fri, 23 Oct 2015 14:07:25 -0700 [thread overview]
Message-ID: <CALCETrUTKaYvQXGeKsMP-61sgFNpfpZZ6kmqBpBoUb+WxPR-KQ@mail.gmail.com> (raw)
In-Reply-To: <CAGXu5j+TnB3=H1zx8j_RW1kEU3GQXDhPcP8Odej7oAyAoW_ZuQ@mail.gmail.com>
On Oct 23, 2015 10:01 AM, "Kees Cook" <keescook@chromium.org> wrote:
>
> On Fri, Oct 23, 2015 at 9:19 AM, Andy Lutomirski <luto@amacapital.net> wrote:
> > I would argue that, if auditing is off, audit_seccomp shouldn't do
> > anything. After all, unlike e.g. selinux, seccomp is not a systemwide
> > policy, and seccomp signals might be ordinary behavior that's internal
> > to the seccomp-using application. IOW, for people with audit compiled
> > in and subscribed by journald but switched off, I think that the
> > records shouldn't be emitted.
> >
> > If you agree, I can send the two-line patch.
>
> I think signr==0 states (which I would identify as "intended
> behavior") don't need to be reported under any situation, but audit
> folks wanted to keep it around.
Even if there is a nonzero signr, it could just be a program opting to
trap and emulate one of its own syscalls.
--Andy
next prev parent reply other threads:[~2015-10-23 21:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 16:19 Andy Lutomirski
2015-10-23 17:01 ` Kees Cook
2015-10-23 19:38 ` Paul Moore
2015-10-23 20:51 ` Steve Grubb
2015-10-23 20:58 ` Paul Moore
2015-10-23 21:08 ` Andy Lutomirski
2015-10-23 21:07 ` Andy Lutomirski [this message]
2015-10-23 21:22 ` Kees Cook
2015-10-23 21:24 ` Andy Lutomirski
2015-10-24 2:24 ` Paul Moore
2015-10-23 19:13 ` Richard Guy Briggs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALCETrUTKaYvQXGeKsMP-61sgFNpfpZZ6kmqBpBoUb+WxPR-KQ@mail.gmail.com \
--to=luto@amacapital.net \
--cc=keescook@chromium.org \
--cc=linux-audit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rgb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®