mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-java/oracle-jdk-bin: Fix hardened + JAVA_PKG_STRICT breakage
We need to PaX mark javap before we run it on hardened systems. Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -184,6 +184,9 @@ src_prepare() {
|
||||
fi
|
||||
|
||||
if [[ -n ${JAVA_PKG_STRICT} ]] ; then
|
||||
# Mark this binary early to run it now.
|
||||
pax-mark Cm ./bin/javap
|
||||
|
||||
eqawarn "Ensure that this only calls trackJavaUsage(). If not, see bug #559936."
|
||||
eqawarn
|
||||
eqawarn "$(./bin/javap -J-Duser.home=${T} -c sun.misc.PostVMInitHook || die)"
|
||||
|
||||
Reference in New Issue
Block a user