From: Schantl Stefan Date: Fri, 10 Sep 2010 18:31:05 +0000 (+0200) Subject: QA: Add workaround for relo and disabled BIND_NOW at x packages. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=729b4521d5d6add4f93d6bf27e949b75ddf1b77d;p=ipfire-3.x.git QA: Add workaround for relo and disabled BIND_NOW at x packages. --- diff --git a/pkgs/Constants b/pkgs/Constants index b1adf570a..83bfac45a 100644 --- a/pkgs/Constants +++ b/pkgs/Constants @@ -84,3 +84,4 @@ export QUALITY_AGENT_WHITELIST_EXECSTACK export QUALITY_AGENT_WHITELIST_NX export QUALITY_AGENT_WHITELIST_RPATH export QUALITY_AGENT_WHITELIST_SONAME +export QUALITY_AGENT_PERMIT_NOT_FULL_RELRO diff --git a/tools/quality-agent.d/050-relro b/tools/quality-agent.d/050-relro index 061a00183..d80da0b9a 100755 --- a/tools/quality-agent.d/050-relro +++ b/tools/quality-agent.d/050-relro @@ -17,8 +17,12 @@ function check() { fi if ! is_relro_full ${file}; then - log_error " Is not full relro: ${file}" - failed=1 + if [ "${QUALITY_AGENT_PERMIT_NOT_FULL_RELRO}" = "yes" ]; then + log_warning " Is not full relro: ${file}" + else + log_error " Is not relro: ${file}" + failed=1 + fi fi done