]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
coccinelle: ignore our own BPF programs
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 4 Mar 2026 18:04:26 +0000 (19:04 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 5 Mar 2026 09:27:58 +0000 (10:27 +0100)
Since they don't have access to systemd code, so we can't use our custom
functions/macros in them anyway.

coccinelle/run-coccinelle.sh

index ecefbf5302d4ec1219da27d8268b870aacc517e5..61e226e3338546ce9304e5742281620f683c2d82 100755 (executable)
@@ -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/*"