summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-25 11:10:19 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-25 11:10:19 +0000
commitbf630872c3ac123d0e071f86d6f47d07f0597807 (patch)
tree2d94483b547016cf3dbb1b441e8d3e7d6531afa0
parentba25accca3325797fd0ea3087a0bf2637b28f728 (diff)
downloadportage-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-xbin/misc-functions.sh6
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!)"