2023-12-02 08:08:14 +01:00
|
|
|
# These zero-length files are correct:
|
|
|
|
addFilter("zero-length /usr/src/linux-.*-obj/.*/include/config.*h")
|
|
|
|
addFilter("zero-length /usr/src/linux-.*-obj/.*/include/config/.*")
|
|
|
|
# vdsos are special
|
|
|
|
addFilter("shared-lib-without-dependency-information .*/lib/modules/[1-9].*/vdso/.*")
|
|
|
|
addFilter("missing-PT_GNU_STACK-section .*/lib/modules/[1-9].*/vdso/.*")
|
|
|
|
# This is a stale symlink until the kernel-source package is installed:
|
|
|
|
addFilter("dangling-symlink .*/lib/modules/[1-9].*/source")
|
|
|
|
# These hidden files are fine:
|
|
|
|
addFilter("hidden-file-or-dir /usr/src/linux-.*-obj/.*/.config")
|
|
|
|
addFilter("hidden-file-or-dir /usr/src/linux-.*-obj/.*/.kernel-binary.spec.buildenv")
|
|
|
|
addFilter("hidden-file-or-dir /boot/\..*\.hmac")
|
2024-02-04 08:05:48 +01:00
|
|
|
# a precompiled eBPF test
|
|
|
|
addFilter("arch-independent-package-contains-binary-or-object /usr/src/linux-.*/.*/action-ebpf")
|