[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhSmAUg-mVrHpmgr3bF_+MeFd3p6W9N3b_kptzEY5YrsiA@mail.gmail.com>
Date: Fri, 21 May 2021 16:19:26 -0400
From: Paul Moore <paul@...l-moore.com>
To: Casey Schaufler <casey@...aufler-ca.com>
Cc: casey.schaufler@...el.com, James Morris <jmorris@...ei.org>,
linux-security-module@...r.kernel.org, selinux@...r.kernel.org,
linux-audit@...hat.com, keescook@...omium.org,
john.johansen@...onical.com, penguin-kernel@...ove.sakura.ne.jp,
Stephen Smalley <sds@...ho.nsa.gov>,
linux-kernel@...r.kernel.org, Richard Guy Briggs <rgb@...hat.com>
Subject: Re: [PATCH v26 21/25] audit: add support for non-syscall auxiliary records
On Thu, May 13, 2021 at 4:31 PM Casey Schaufler <casey@...aufler-ca.com> wrote:
>
> Standalone audit records have the timestamp and serial number generated
> on the fly and as such are unique, making them standalone. This new
> function audit_alloc_local() generates a local audit context that will
> be used only for a standalone record and its auxiliary record(s). The
> context is discarded immediately after the local associated records are
> produced.
>
> Signed-off-by: Richard Guy Briggs <rgb@...hat.com>
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
> Cc: linux-audit@...hat.com
> To: Richard Guy Briggs <rgb@...hat.com>
> ---
> include/linux/audit.h | 8 ++++++++
> kernel/audit.h | 1 +
> kernel/auditsc.c | 33 ++++++++++++++++++++++++++++-----
> 3 files changed, 37 insertions(+), 5 deletions(-)
At some point I suspect we will need to add filtering for these
"local" records, but that is a problem for another day.
Acked-by: Paul Moore <paul@...l-moore.com>
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists