From: Tony Jones <tonyj@suse.de>
To: Paul Moore <pmoore@redhat.com>, linux-audit@redhat.com
Cc: linux-security-module@vger.kernel.org
Subject: Re: [RFC PATCH] audit: force seccomp event logging to honor the audit_enabled flag
Date: Mon, 23 Nov 2015 14:20:52 -0800 [thread overview]
Message-ID: <56539144.6000008@suse.de> (raw)
In-Reply-To: <20151123222006.15340.18040.stgit@localhost>
On 11/23/2015 02:20 PM, Paul Moore wrote:
> Previously we were emitting seccomp audit records regardless of the
> audit_enabled setting, a deparature from the rest of audit. This
> patch makes seccomp auditing consistent with the rest of the audit
> record generation code in that when audit_enabled=0 nothing is logged
> by the audit subsystem.
>
> The bulk of this patch is moving the CONFIG_AUDIT block ahead of the
> CONFIG_AUDITSYSCALL block in include/linux/audit.h; the only real
> code change was in the audit_seccomp() definition.
>
> Reported-by: Tony Jones <tonyj@suse.de>
> Signed-off-by: Paul Moore <pmoore@redhat.com>
Seems pretty much the same (functionally) as the patch I posted to audit
list on 10/12/2015 except that didn't hoist the entire block.
Signed-off-by: Tony Jones <tonyj@suse.de>
next prev parent reply other threads:[~2015-11-23 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 22:20 [RFC PATCH] audit: force seccomp event logging to honor the audit_enabled flag Paul Moore
2015-11-23 22:20 ` Tony Jones [this message]
2015-11-23 22:35 ` Paul Moore
2015-11-24 18:57 ` Paul Moore
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=56539144.6000008@suse.de \
--to=tonyj@suse.de \
--cc=linux-audit@redhat.com \
--cc=linux-security-module@vger.kernel.org \
--cc=pmoore@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