summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-06-24 12:10:59 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-06-24 12:10:59 -0400
commit4b32c33ed06f4eaac1e01b22a53164885c628003 (patch)
tree8162ffb83f488ddbb542c926e35b516c1d06dbca /net-libs/webkit-gtk/files/gir-paxctl-lt-wrapper
parentAdd DEPRECATED notice. (diff)
downloadhardened-dev-musl.tar.gz
hardened-dev-musl.tar.bz2
hardened-dev-musl.zip
Clear out the repo to discourage its use. See DEPRECATED.musl
Diffstat (limited to 'net-libs/webkit-gtk/files/gir-paxctl-lt-wrapper')
-rwxr-xr-xnet-libs/webkit-gtk/files/gir-paxctl-lt-wrapper33
1 files changed, 0 insertions, 33 deletions
diff --git a/net-libs/webkit-gtk/files/gir-paxctl-lt-wrapper b/net-libs/webkit-gtk/files/gir-paxctl-lt-wrapper
deleted file mode 100755
index d4f270c2..00000000
--- a/net-libs/webkit-gtk/files/gir-paxctl-lt-wrapper
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-# Wrapper for $(LIBTOOL) that performs PaX marking on the dumper binary
-# generated by g-ir-scanner.
-# PaX marking code stolen from pax-utils.eclass
-
-flags=${1//-}; shift
-
-echo ${LIBTOOL} "$@"
-${LIBTOOL} "$@"
-
-retval=$?
-
-files=$(find . -path "*tmp-introspect*/.libs/*")
-
-if type -p paxctl > /dev/null; then
- echo "PT PaX marking -${flags} ${files}"
- for f in ${files}; do
- # First, try modifying the existing PAX_FLAGS header
- paxctl -q${flags} "${f}" && continue
- # Second, try stealing the (unused under PaX) PT_GNU_STACK header
- paxctl -qc${flags} "${f}" && continue
- # Third, try pulling the base down a page, to create space and
- # insert a PT_GNU_STACK header (works on ET_EXEC)
- paxctl -qC${flags} "${f}" && continue
- done
-elif type -p scanelf > /dev/null; then
- # Try scanelf, the Gentoo swiss-army knife ELF utility
- # Currently this sets PT if it can, no option to control what it does.
- echo "Fallback PaX marking -${flags} ${files}"
- scanelf -Xxz ${flags} ${files}
-fi
-
-exit ${retval}