diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-12-25 11:10:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-12-25 11:10:19 +0000 |
commit | bf630872c3ac123d0e071f86d6f47d07f0597807 (patch) | |
tree | 2d94483b547016cf3dbb1b441e8d3e7d6531afa0 | |
parent | ba25accca3325797fd0ea3087a0bf2637b28f728 (diff) | |
download | portage-bf630872c3ac123d0e071f86d6f47d07f0597807.tar.gz portage-bf630872c3ac123d0e071f86d6f47d07f0597807.tar.bz2 portage-bf630872c3ac123d0e071f86d6f47d07f0597807.zip |
scan archives of objects for exec stacks
svn path=/main/trunk/; revision=12345
-rwxr-xr-x | bin/misc-functions.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 8ce82a2a8..e20626522 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -98,7 +98,7 @@ install_qa_check() { export QA_TEXTRELS="${QA_TEXTRELS} lib*/modules/*.ko" f=$(scanelf -qyRF '%t %p' "${D}" | grep -v 'usr/lib/debug/') if [[ -n ${f} ]] ; then - scanelf -qyRF '%T %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-textrel.log + scanelf -qyRAF '%T %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-textrel.log vecho -ne '\a\n' eqawarn "QA Notice: The following files contain runtime text relocations" eqawarn " Text relocations force the dynamic linker to perform extra" @@ -136,14 +136,14 @@ install_qa_check() { [[ -n ${QA_STRICT_WX_LOAD} ]] && QA_WX_LOAD="" export QA_EXECSTACK="${QA_EXECSTACK} lib*/modules/*.ko" export QA_WX_LOAD="${QA_WX_LOAD} lib*/modules/*.ko" - f=$(scanelf -qyRF '%e %p' "${D}" | grep -v 'usr/lib/debug/') + f=$(scanelf -qyRAF '%e %p' "${D}" | grep -v 'usr/lib/debug/') ;; esac ;; esac if [[ -n ${f} ]] ; then # One more pass to help devs track down the source - scanelf -qyRF '%e %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-execstack.log + scanelf -qyRAF '%e %p' "${PORTAGE_BUILDDIR}"/ &> "${T}"/scanelf-execstack.log vecho -ne '\a\n' eqawarn "QA Notice: The following files contain executable stacks" eqawarn " Files with executable stacks will not work properly (or at all!)" |