]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
QA: Skip startfiles in relro check.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Apr 2010 12:28:37 +0000 (14:28 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Apr 2010 12:28:37 +0000 (14:28 +0200)
tools/quality-agent.d/050-relro

index f11c07ec8a17953d203c49d3c736a957e51c9651..061a00183b2189a7242ab590a5c4b99a61a19f16 100755 (executable)
@@ -12,6 +12,10 @@ function check() {
 
        local file
        for file in $(find_elf_files ${BINARY_PATHS}); do
+               if filter_startfiles ${file}; then
+                       continue
+               fi
+
                if ! is_relro_full ${file}; then
                        log_error "  Is not full relro: ${file}"
                        failed=1