All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Extend AUDIT_EXE and AUDIT_DIR to more filter types
@ 2018-05-30  8:45 Ondrej Mosnacek
  2018-05-30  8:45 ` [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE Ondrej Mosnacek
  2018-05-30  8:45 ` [RFC PATCH 2/2] [WIP] audit: allow other filter list types for AUDIT_DIR Ondrej Mosnacek
  0 siblings, 2 replies; 15+ messages in thread
From: Ondrej Mosnacek @ 2018-05-30  8:45 UTC (permalink / raw)
  To: linux-audit; +Cc: Richard Guy Briggs

This patch set extends the previous AUDIT_EXE patch by also doing a similar
thing with the AUDIT_DIR field.

I am sending it as RFC since this change requires passing audit_context to
audit_filter and I'm not sure if I should also pass it when doing the
AUDIT_FILTER_USER filtering. The call site does not have the ctx variable,
although I suppose it could be extracted from the current task somehow, but I'm
not sure if it even makes sense to use it in that place. I am not enabling
AUDIT_DIR for AUDIT_FILTER_USER in this patch, but if it makes sense I will do
that in the final patch.

Paul/Richard, please advise. See the FIXME in the second patch for the
problematic location.

Ondrej Mosnacek (2):
  audit: allow other filter list types for AUDIT_EXE
  [WIP] audit: allow other filter list types for AUDIT_DIR

 kernel/audit.c       |  5 +++--
 kernel/audit.h       | 32 +++++++++++++++++++++++++++++++-
 kernel/audit_tree.c  |  4 +++-
 kernel/auditfilter.c | 13 ++++++++++---
 kernel/auditsc.c     | 28 ----------------------------
 5 files changed, 47 insertions(+), 35 deletions(-)

-- 
2.17.0

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

end of thread, other threads:[~2018-06-19 14:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-30  8:45 [RFC PATCH 0/2] Extend AUDIT_EXE and AUDIT_DIR to more filter types Ondrej Mosnacek
2018-05-30  8:45 ` [RFC PATCH 1/2] audit: allow other filter list types for AUDIT_EXE Ondrej Mosnacek
2018-05-31 16:29   ` Richard Guy Briggs
2018-06-04 20:41   ` Paul Moore
2018-06-05 11:13     ` Ondrej Mosnacek
2018-06-19 14:25   ` Paul Moore
2018-05-30  8:45 ` [RFC PATCH 2/2] [WIP] audit: allow other filter list types for AUDIT_DIR Ondrej Mosnacek
2018-05-31 20:52   ` Richard Guy Briggs
2018-06-01  8:12     ` Ondrej Mosnacek
2018-06-01 20:05       ` Richard Guy Briggs
2018-06-04 11:32         ` Ondrej Mosnacek
2018-06-04 20:47           ` Richard Guy Briggs
2018-06-04 22:19         ` Paul Moore
2018-06-05 11:23           ` Ondrej Mosnacek
2018-06-04 22:12       ` Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.