]> git.ipfire.org Git - pakfire.git/commitdiff
file: Skip checking files in /usr/lib/valgrind
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Sep 2023 13:39:49 +0000 (13:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 26 Sep 2023 17:00:55 +0000 (17:00 +0000)
valgrind is a special case which we cannot harden very well, so we just
skip checking those files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/file.c

index dbdff2c4d1285a56e4f3597f0965b79375e60f9b..993e7229c1086ef31bf7425befc5174cc5b0ec84 100644 (file)
@@ -1408,6 +1408,7 @@ static const struct pattern {
        { "**.pc", PAKFIRE_FILE_PKGCONFIG },
        { "/usr/lib/firmware/**", PAKFIRE_FILE_FIRMWARE },
        { "/usr/lib/grub/**", PAKFIRE_FILE_FIRMWARE },
+       { "/usr/lib/valgrind/*", PAKFIRE_FILE_FIRMWARE },
        { "/usr/lib*/ld-*.so*", PAKFIRE_FILE_RUNTIME_LINKER },
        { NULL },
 };