diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-11-27 07:38:26 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-11-27 07:38:26 +0000 |
| commit | ccc3badf8e850615abe7c93c8badb9d5e027c854 (patch) | |
| tree | bb465c2ac15156a59563b3c2b6aaf62285698283 /tomcat-10.1-catalina-policy.patch | |
| parent | b2c2e545b019af5753f7935a994902010c220df3 (diff) | |
automatic import of tomcat10.1.54openeuler24.03_LTS_SP3
Diffstat (limited to 'tomcat-10.1-catalina-policy.patch')
| -rw-r--r-- | tomcat-10.1-catalina-policy.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tomcat-10.1-catalina-policy.patch b/tomcat-10.1-catalina-policy.patch new file mode 100644 index 0000000..1f78530 --- /dev/null +++ b/tomcat-10.1-catalina-policy.patch @@ -0,0 +1,16 @@ +--- a/conf/catalina.policy.orig 2024-05-22 16:12:23.809886452 +0300 ++++ b/conf/catalina.policy 2024-05-22 16:14:38.913939654 +0300 +@@ -55,6 +55,14 @@ + permission java.security.AllPermission; + }; + ++// ========== RHEL SPECIFIC CODE PERMISSIONS ======================================= ++ ++// Allowing everything in /usr/share/java allows too many unknowns to be permitted ++// Specifying the individual jars that tomcat needs to function with the security manager ++// is the safest way forward. ++grant codeBase "file:/usr/share/java/ecj/ecj.jar" { ++ permission java.security.AllPermission; ++}; + + // ========== CATALINA CODE PERMISSIONS ======================================= |
