static int pakfire_linter_file_check_ssp(struct pakfire_linter_file* lfile) {
// This check will be skipped for these files
static const char* whitelist[] = {
+ // Runtime Linker
+ "/usr/lib*/ld-*.so*",
+
+ // GCC
"/usr/lib64/libgcc_s.so.*",
"/usr/lib64/libmvec.so.*",
NULL,
};
- // Do not perform this check for runtime linkers
- if (pakfire_file_matches(lfile->file, "/usr/lib*/ld-*.so*"))
- return 0;
-
// Check if this file is whitelisted
for (const char** path = whitelist; *path; path++) {
if (pakfire_file_matches(lfile->file, *path)) {