From: Michael Vogt Date: Fri, 27 Mar 2026 10:20:40 +0000 (+0100) Subject: coccinelle: document why src/libc/ and src/test/ are excluded X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf91fef57f37000ad4dba7130e688267f97da931;p=thirdparty%2Fsystemd.git coccinelle: document why src/libc/ and src/test/ are excluded For some of the directories it makes more sense to keep them excluded from the coccinelle check. Specifically: - libc: compatibility, no asserts or systemd headers yet - test: uses NUL internally to test crashes etc --- diff --git a/meson.build b/meson.build index d820be416c1..e096992088c 100644 --- a/meson.build +++ b/meson.build @@ -2981,7 +2981,6 @@ if spatch.found() 'src/core/', 'src/import/', 'src/journal/', - 'src/libc/', 'src/libsystemd/', 'src/libsystemd-network/', 'src/network/', @@ -2989,6 +2988,9 @@ if spatch.found() 'src/nss-systemd/', 'src/resolve/', 'src/shared/', + # libc/ has no assert() or systemd-headers so leave it + 'src/libc/', + # test/ has some deliberate wonky pointers, just leave excluded 'src/test/', ]