Skip to contentSkip to conversation

Add userspace support for session ID user filter.

PATCH New Richard Guy Briggs 1 participant 1 message May 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add userspace support for session ID user filter.

Add support for the session ID user filter by adding the field name "sessionid" using the kernel defined macro value AUDIT_SESSIONID.

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

---
 trunk/lib/fieldtab.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
trunk/lib/fieldtab.h +1 -0
index bf48c95..88cf8ea 100644
@@ -31,6 +31,7 @@ _S(AUDIT_SGID,         "sgid"         )
 _S(AUDIT_FSGID,        "fsgid"        )
 _S(AUDIT_LOGINUID,     "auid"         )
 _S(AUDIT_LOGINUID,     "loginuid"     )
+_S(AUDIT_SESSIONID,    "sessionid"    )
 _S(AUDIT_PERS,         "pers"         )
 _S(AUDIT_ARCH,         "arch"         )
 _S(AUDIT_MSGTYPE,      "msgtype"      )
Signature · 1 line
1.7.1