19 lines
1013 B
Diff
19 lines
1013 B
Diff
|
commit bfd7c5dae9c15266799cb885b8c60199217b65b9
|
||
|
Author: Andrew Hughes <gnu.andrew@redhat.com>
|
||
|
Date: Mon Aug 30 16:14:14 2021 +0100
|
||
|
|
||
|
RH1996182: Extend default security policy to allow SunPKCS11 access to jdk.internal.access
|
||
|
|
||
|
diff --git openjdk.orig/src/java.base/share/lib/security/default.policy openjdk/src/java.base/share/lib/security/default.policy
|
||
|
index 8356e56367b..23925f048be 100644
|
||
|
--- openjdk.orig/src/java.base/share/lib/security/default.policy
|
||
|
+++ openjdk/src/java.base/share/lib/security/default.policy
|
||
|
@@ -128,6 +128,7 @@ grant codeBase "jrt:/jdk.crypto.ec" {
|
||
|
grant codeBase "jrt:/jdk.crypto.cryptoki" {
|
||
|
permission java.lang.RuntimePermission
|
||
|
"accessClassInPackage.com.sun.crypto.provider";
|
||
|
+ permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.access";
|
||
|
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc";
|
||
|
permission java.lang.RuntimePermission
|
||
|
"accessClassInPackage.sun.security.*";
|