Mercurial > hg > icedtea11
view pax-mark-vm.in @ 2691:c848b93a8598 default tip
PR3833: Update tapsets following JDK-8015774, which removes '_heap'
2021-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR3833: Update tapsets following JDK-8015774,
which removes '_heap'
* NEWS: Updated.
* tapset/jstack.stp.in:
Replace hardcoded libjvm.so paths
from Severin's patch with @ABS_SERVER_LIBJVM_SO@.
2020-08-03 Severin Gehwolf <sgehwolf@redhat.com>
PR3833: Update tapsets following JDK-8015774,
which removes '_heap'
* tapset/jstack.stp.in:
Adapt to work with _heaps, following
JDK-8015774.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Mon, 22 Feb 2021 02:08:05 +0000 |
parents | 9e5bab0925d7 |
children |
line wrap: on
line source
#!/bin/sh JDK=${1} FAIL_ON_ERROR=${2} # Taken from Gentoo's pax-utils.eclass list_paxables() { file "$@" 2> /dev/null | grep -E 'ELF.*(executable|shared object)' | sed -e 's/: .*$//' } if test "x@PAX_COMMAND@" != "x"; then if @PAX_COMMAND@ -m "${JDK}"/bin/java; then for paxable in `list_paxables "${JDK}"/bin/* "${JDK}"/jre/bin/*`; do echo "PaX mark @PAX_COMMAND_ARGS@ ${paxable}" @PAX_COMMAND@ @PAX_COMMAND_ARGS@ "${paxable}" done else if test "x${FAIL_ON_ERROR}" = "xtrue"; then echo "ERROR: Could not apply PaX markings to files in ${JDK}"; exit -1; else echo "WARNING: Could not apply PaX markings to files in ${JDK}"; fi fi fi