2011-10-05 07:01:45 +02:00
|
|
|
# These zero-length files are correct:
|
2015-10-27 08:06:34 +01:00
|
|
|
addFilter("zero-length /usr/src/linux-.*-obj/.*/include/config.*h")
|
2012-01-06 07:02:55 +01:00
|
|
|
# vdsos are special
|
2015-10-27 08:06:34 +01:00
|
|
|
addFilter("shared-lib-without-dependency-information /lib/modules/[1-9].*/vdso/.*")
|
|
|
|
addFilter("missing-PT_GNU_STACK-section /lib/modules/[1-9].*/vdso/.*")
|
2012-01-06 07:02:55 +01:00
|
|
|
# This is a stale symlink until the kernel-source package is installed:
|
2015-10-27 08:06:34 +01:00
|
|
|
addFilter("dangling-symlink /lib/modules/[1-9].*/source")
|
2012-01-06 07:02:55 +01:00
|
|
|
# These hidden files are fine:
|
2015-10-27 08:06:34 +01:00
|
|
|
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")
|
2016-06-26 16:47:43 +02:00
|
|
|
# This check ensures that KMPs are built using the %kernel_module_package
|
|
|
|
# macro, but we are deliberately not doing this for KMPs built from the
|
|
|
|
# kernel spec file (fate#319339)
|
|
|
|
addFilter("suse-policy-kmp-missing-supplements")
|