diff options
author | Serkan Kaba <serkan@gentoo.org> | 2011-10-02 07:38:43 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2011-10-02 07:38:43 +0000 |
commit | df919c8080db36342067de8a7b560e0070a477ee (patch) | |
tree | 1e7306cb5eef19e9f3694b608eed7b0c5df2ab37 /eclass | |
parent | Version bump. Update to EAPI 4. (diff) | |
download | historical-df919c8080db36342067de8a7b560e0070a477ee.tar.gz historical-df919c8080db36342067de8a7b560e0070a477ee.tar.bz2 historical-df919c8080db36342067de8a7b560e0070a477ee.zip |
Add sandbox exceptions for icedtea:7. Reported by sera.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 0b949e332c82..45a9de74cc9d 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.143 2011/09/10 14:32:58 serkan Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.144 2011/10/02 07:38:43 serkan Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -2521,6 +2521,9 @@ java-pkg_setup-vm() { elif [[ "${vendor}" == "oracle" ]]; then addpredict "/dev/random" addpredict "/proc/self/coredump_filter" + elif [[ "${vendor}" == "icedtea" ]] && java-pkg_is-vm-version-ge "1.7" ; then + addpredict "/dev/random" + addpredict "/proc/self/coredump_filter" elif [[ "${vendor}" == "jrockit" ]]; then addpredict "/proc/cpuinfo" fi |