coccinelle: ignore our own BPF programs

Since they don't have access to systemd code, so we can't use our custom
functions/macros in them anyway.
This commit is contained in:
Frantisek Sumsal
2026-03-04 19:04:26 +01:00
parent 240675efeb
commit 86867d1240

View File

@@ -9,6 +9,8 @@ EXCLUDED_PATHS=(
# Symlinked to test-bus-vtable-cc.cc, which causes issues with the IN_SET macro
"src/libsystemd/sd-bus/test-bus-vtable.c"
"src/libsystemd/sd-journal/lookup3.c"
# Our BPF programs don't have access to systemd stuff
"src/network/bpf/*"
# Ignore man examples, as they redefine some macros we use internally, which makes Coccinelle complain
# and ignore code that tries to use the redefined stuff
"man/*"