mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Guy Briggs <rgb@redhat.com>
To: linux-audit@redhat.com, linux-kernel@vger.kernel.org
Cc: Richard Guy Briggs <rgb@redhat.com>,
	sgrubb@redhat.com, pmoore@redhat.com, eparis@redhat.com
Subject: [PATCH V3 3/3] audit: add sessionid filter extension to feature bitmap
Date: Thu, 18 Aug 2016 13:43:15 -0400	[thread overview]
Message-ID: <67b79e68f539e0462f16cdf8cecb4d4f1ef615d6.1471541331.git.rgb@redhat.com> (raw)
In-Reply-To: <cover.1471541331.git.rgb@redhat.com>
In-Reply-To: <cover.1471541331.git.rgb@redhat.com>

Add to the audit feature bitmap to indicate availability of the
extension of the exclude and user filters to include sessionID.

RFE: add a session ID filter to the kernel's user filter
https://github.com/linux-audit/audit-kernel/issues/4

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
---
 include/uapi/linux/audit.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h
index a4048bc..d4a9589 100644
--- a/include/uapi/linux/audit.h
+++ b/include/uapi/linux/audit.h
@@ -329,9 +329,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_SESSIONID_FILTER	0x00000010
 #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_SESSIONID_FILTER)
 
 /* deprecated: AUDIT_VERSION_* */
 #define AUDIT_VERSION_LATEST 		AUDIT_FEATURE_BITMAP_ALL
-- 
1.7.1

  parent reply	other threads:[~2016-08-19  0:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18 17:43 [PATCH V3 0/3] Add support for session ID user filtering Richard Guy Briggs
2016-08-18 17:43 ` [PATCH V3 1/3] audit: add support for session ID user filter Richard Guy Briggs
2016-08-18 17:43 ` [PATCH V3 2/3] audit: add AUDIT_SESSIONID_SET support Richard Guy Briggs
2016-08-18 17:43 ` Richard Guy Briggs [this message]
2016-08-18 23:53 ` [PATCH V3 0/3] Add support for session ID user filtering Paul Moore
2016-08-19  4:36   ` Richard Guy Briggs
2016-08-19 12:22     ` Paul Moore
2016-08-19 19:08   ` Paul Moore
2016-10-20 19:27 ` Paul Moore
2016-10-21  6:46   ` Richard Guy Briggs
2016-10-21 17:03     ` Paul Moore
2016-11-20 22:04 ` 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=67b79e68f539e0462f16cdf8cecb4d4f1ef615d6.1471541331.git.rgb@redhat.com \
    --to=rgb@redhat.com \
    --cc=eparis@redhat.com \
    --cc=linux-audit@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmoore@redhat.com \
    --cc=sgrubb@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®