diff options
| author | Phil Sutter <phil@nwl.cc> | 2023-09-23 03:53:50 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2023-10-04 15:57:06 +0200 |
| commit | 0d880dc6f032e0b541520e9926f398a77d3d433c (patch) | |
| tree | af98d737bcc503a93dfe3aaebcd214393d18816d /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | selftests: netfilter: Extend nft_audit.sh (diff) | |
| download | linux-0d880dc6f032e0b541520e9926f398a77d3d433c.tar.gz linux-0d880dc6f032e0b541520e9926f398a77d3d433c.zip | |
netfilter: nf_tables: Deduplicate nft_register_obj audit logs
When adding/updating an object, the transaction handler emits suitable
audit log entries already, the one in nft_obj_notify() is redundant. To
fix that (and retain the audit logging from objects' 'update' callback),
Introduce an "audit log free" variant for internal use.
Fixes: c520292f29b8 ("audit: log nftables configuration change events once per table")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Acked-by: Paul Moore <paul@paul-moore.com> (Audit)
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
