Mercurial > hg > icedtea14
view pax-mark-vm.in @ 2686:fabce78297b7 default tip
PR3788: Update elliptic curve patch to include jdk.disabled.namedCurves
2020-05-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR3788: Update elliptic curve patch to include
jdk.disabled.namedCurves
* AUTHORS: Add Martin Balao.
* NEWS: Updated.
* fsg.sh.in: Update patch name.
2020-04-01 Martin Balao <mbalao@redhat.com>
PR3788: Update elliptic curve patch to include
jdk.disabled.namedCurves
* patches/pr3788.patch: Renamed from pr3782.patch.
Remove unsupported curves from the
jdk.disabled.namedCurves property.
author | Andrew John Hughes <gnu_andrew@member.fsf.org> |
---|---|
date | Mon, 18 May 2020 13:34:03 +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