Skip to content

audit: rebalance and remove extra layers of watch references

Richard Guy Briggs linux-audit lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest2 patches 2 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2audit: eliminate unnecessary extra layer of watch referenceskernel/audit_watch.c kernel/auditfilter.c+5 -161 reply
2/2audit: eliminate unnecessary extra layer of watch parent referenceskernel/audit_watch.c+2 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 (was V6) 0/2] audit: rebalance and remove extra layers of watch references

While working on the audit by executable path feature, it was discovered that watches and parent references were slightly imbalanced and deeper than necessary.

Only bump up references when they are actually used and decrease when removed.

v4: Eliminate unnecessary gotos and call return directly.
Expand patch description with answer to mailing list query.

Richard Guy Briggs (2):
audit: eliminate unnecessary extra layer of watch references
audit: eliminate unnecessary extra layer of watch parent references

 kernel/audit_watch.c |   11 ++++-------
 kernel/auditfilter.c |   16 +++-------------
 2 files changed, 7 insertions(+), 20 deletions(-)