Skip to content

Commit 7ff89ac

Browse files
rgbriggspcmoore
authored andcommitted
audit: add exclude filter extension to feature bitmap
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 linux-audit/audit-kernel#5 Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent fa2bea2 commit 7ff89ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎include/uapi/linux/audit.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ enum {
327327
#define AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT 0x00000001
328328
#define AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME 0x00000002
329329
#define AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH 0x00000004
330+
#define AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND 0x00000008
330331
#define AUDIT_FEATURE_BITMAP_ALL (AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT | \
331332
AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME | \
332-
AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH)
333+
AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH | \
334+
AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND)
333335

334336
/* deprecated: AUDIT_VERSION_* */
335337
#define AUDIT_VERSION_LATEST AUDIT_FEATURE_BITMAP_ALL

0 commit comments

Comments
 (0)