mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH ghau51/ghau40 v5 0/6] add support for audit container identifier
@ 2019-03-15 18:37 Richard Guy Briggs
  2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 1/6] AUDIT_CONTAINER_OP message type basic support Richard Guy Briggs
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Richard Guy Briggs @ 2019-03-15 18:37 UTC (permalink / raw)
  To: containers, Linux-Audit Mailing List, LKML
  Cc: eparis, Steve Grubb, omosnace, Paul Moore, Richard Guy Briggs

Add support for audit kernel container identifiers to userspace tools.

The first and second add new record types.  The third adds filter
support.  The fourth and 5th start to add search support.

The last is intended for debugging and not for upstream, matching the
kernel /proc read patch.

See: https://github.com/linux-audit/audit-userspace/issues/51
See: https://github.com/linux-audit/audit-userspace/issues/40
See: https://github.com/linux-audit/audit-kernel/issues/90
See: https://github.com/linux-audit/audit-kernel/issues/91
See: https://github.com/linux-audit/audit-testsuite/issues/64
See: https://github.com/linux-audit/audit-kernel/wiki/RFE-Audit-Container-ID

Changelog:
v5
- updated aux record from AUDIT_CONTAINER to AUDIT_CONTAINER_ID
- add AUDIT_CONTAINER_ID to normalization
- rebase on AUDIT_ANOM_LINK and AUDIT_MAC_CALIPSO_ADD

v4
- change from AUDIT_CONTAINER_ID to AUDIT_CONTAINER_OP
- change from AUDIT_FEATURE_BITMAP_CONTAINERID_FILTER to
  AUDIT_FEATURE_BITMAP_CONTAINERID
- change from event_container_id to event_contid internally
- change from container_id to contid and event_container_id to
  event_contid internally
- change command line option from --container-id to --contid

v3
- change from AUDIT_CONTAINER to AUDIT_CONTAINER_ID
- change from AUDIT_CONTAINER_INFO to AUDIT_CONTAINER
- change from AUDIT_CONTAINERID to AUDIT_CONTID
- update github issue refs
- add audit_get_containerid
- change event_container_id default value
- add --containerid to ausearch options help text
- update ausearch parser and error codes
v2
- rebase on UINT_MAX patch
- add patches for AUDIT_CONTAINER, AUDIT_CONTAINER_INFO, ausearch,
  normalization

Richard Guy Briggs (6):
  AUDIT_CONTAINER_OP message type basic support
  AUDIT_CONTAINER_ID message type basic support
  auditctl: add support for AUDIT_CONTID filter
  add ausearch containerid support
  start normalization containerid support
  libaudit: add support to get the task audit container identifier

 auparse/normalize_record_map.h |   2 +
 docs/Makefile.am               |   2 +-
 docs/audit_get_containerid.3   |  25 ++++++
 docs/auditctl.8                |   3 +
 lib/fieldtab.h                 |   1 +
 lib/libaudit.c                 |  65 ++++++++++++++
 lib/libaudit.h                 |  16 ++++
 lib/msg_typetab.h              |   2 +
 lib/netlink.c                  |   1 +
 src/auditctl-listing.c         |  21 +++++
 src/aureport-options.c         |   1 +
 src/ausearch-llist.c           |   2 +
 src/ausearch-llist.h           |   1 +
 src/ausearch-match.c           |   3 +
 src/ausearch-options.c         |  47 +++++++++-
 src/ausearch-options.h         |   1 +
 src/ausearch-parse.c           | 199 +++++++++++++++++++++++++++++++++++++++++
 17 files changed, 390 insertions(+), 2 deletions(-)
 create mode 100644 docs/audit_get_containerid.3

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-15 18:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-15 18:37 [PATCH ghau51/ghau40 v5 0/6] add support for audit container identifier Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 1/6] AUDIT_CONTAINER_OP message type basic support Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 2/6] AUDIT_CONTAINER_ID " Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 3/6] auditctl: add support for AUDIT_CONTID filter Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 4/6] add ausearch containerid support Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 5/6] start normalization " Richard Guy Briggs
2019-03-15 18:37 ` [PATCH ghau51/ghau40 v5 6/6] libaudit: add support to get the task audit container identifier Richard Guy Briggs

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®