[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhSJfEF-C-A_CQdZXM6YrDiJofodf7X0-nW_VGkqdTs6Fg@mail.gmail.com>
Date: Thu, 29 Sep 2016 13:37:23 -0400
From: Paul Moore <paul@...l-moore.com>
To: Richard Guy Briggs <rgb@...hat.com>
Cc: linux-audit@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] audit: add exclude filter extension to feature bitmap
On Thu, Aug 18, 2016 at 12:05 PM, Richard Guy Briggs <rgb@...hat.com> wrote:
> Add to the audit feature bitmap to indicate availability of the
> extension of the exclude filter to include PID, UID, AUID, GID, SUBJ_*.
>
> RFE: add additional fields for use in audit filter exclude rules
> https://github.com/linux-audit/audit-kernel/issues/5
>
> Signed-off-by: Richard Guy Briggs <rgb@...hat.com>
> ---
> include/uapi/linux/audit.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
Somehow this fell through the cracks - merged into the audit next branch.
> diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
> index d820aa9..76c5e7e 100644
> --- a/include/uapi/linux/audit.h
> +++ b/include/uapi/linux/audit.h
> @@ -327,9 +327,11 @@ enum {
> #define AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT 0x00000001
> #define AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME 0x00000002
> #define AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH 0x00000004
> +#define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008
> #define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \
> AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \
> - AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH)
> + AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \
> + AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND)
>
> /* deprecated: AUDIT_VERSION_* */
> #define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists