Mercurial > hg > icedtea
view pax-mark-vm.in @ 2680:8c8a4be37087 default tip
Start next major release cycle (9.0.0/OpenJDK 14)
2019-10-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
Start next major release cycle (9.0.0/OpenJDK 14)
* Makefile.am:
(ICEDTEA_MAJOR): Bump to icedtea14.
* NEWS: Add section for 9.0.0.
* configure.ac: Bump to 9.0.0pre00.
author | andrew |
---|---|
date | Tue, 01 Oct 2019 21:45:29 +0100 |
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