From: Serkan Kaba Date: Sat, 10 Sep 2011 14:32:58 +0000 (+0000) Subject: Fix sandbox violations reported in bugs #371827 and #382465. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=96b96271b0380766d55190eddb08d1295ba8bf38;p=gentoo.git Fix sandbox violations reported in bugs #371827 and #382465. --- diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index de70d1f05e04..0b949e332c82 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.142 2011/08/29 01:28:10 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.143 2011/09/10 14:32:58 serkan Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -2517,6 +2517,10 @@ java-pkg_setup-vm() { elif [[ "${vendor}" == "ibm" ]]; then addpredict "/proc/self/maps" addpredict "/proc/cpuinfo" + addpredict "/proc/self/coredump_filter" + elif [[ "${vendor}" == "oracle" ]]; then + addpredict "/dev/random" + addpredict "/proc/self/coredump_filter" elif [[ "${vendor}" == "jrockit" ]]; then addpredict "/proc/cpuinfo" fi