RFC Extend AUDIT_EXE and AUDIT_DIR to more filter types
Status from this message: Merged, thanks.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 12 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | audit: allow other filter list types for AUDIT_EXEkernel/ | +5 | 4 replies | |
| 2/2 | audit: allow other filter list types for AUDIT_DIRkernel/ kernel/ kernel/ +2 more | +42 | 8 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Ondrej Mosnacek | Richard Guy Briggs |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | Not-yet-signed-off-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/2] Extend AUDIT_EXE and AUDIT_DIR to more filter types
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(-)
Signature · 1 line
2.17.0