summaryrefslogtreecommitdiff
path: root/core/src/main/resources
diff options
context:
space:
mode:
authorAdrien Grand <jpountz@gmail.com>2016-06-08 15:40:46 +0200
committerAdrien Grand <jpountz@gmail.com>2016-06-10 16:18:12 +0200
commit44c653f5a87337a02daf4737bcb34150df509dbe (patch)
tree2b9c2fe3a5afb6d39d3a38beb9f2ecaa0b2b934f /core/src/main/resources
parenta25b8ee1bf2e70bc28f688731ef43962a3ef18ce (diff)
Upgrade to lucene-6.1.0-snapshot-3a57bea.
Diffstat (limited to 'core/src/main/resources')
-rw-r--r--core/src/main/resources/org/elasticsearch/bootstrap/security.policy7
-rw-r--r--core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy4
2 files changed, 9 insertions, 2 deletions
diff --git a/core/src/main/resources/org/elasticsearch/bootstrap/security.policy b/core/src/main/resources/org/elasticsearch/bootstrap/security.policy
index ff0ea77366..b185289b58 100644
--- a/core/src/main/resources/org/elasticsearch/bootstrap/security.policy
+++ b/core/src/main/resources/org/elasticsearch/bootstrap/security.policy
@@ -31,7 +31,7 @@ grant codeBase "${codebase.securesm-1.0.jar}" {
//// Very special jar permissions:
//// These are dangerous permissions that we don't want to grant to everything.
-grant codeBase "${codebase.lucene-core-6.0.1.jar}" {
+grant codeBase "${codebase.lucene-core-6.1.0-snapshot-3a57bea.jar}" {
// needed to allow MMapDirectory's "unmap hack" (die unmap hack, die)
// java 8 package
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
@@ -42,6 +42,11 @@ grant codeBase "${codebase.lucene-core-6.0.1.jar}" {
permission java.lang.RuntimePermission "accessDeclaredMembers";
};
+grant codeBase "${codebase.lucene-misc-6.1.0-snapshot-3a57bea.jar}" {
+ // needed to allow shard shrinking to use hard-links if possible via lucenes HardlinkCopyDirectoryWrapper
+ permission java.nio.file.LinkPermission "hard";
+};
+
//// Everything else:
grant {
diff --git a/core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy b/core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy
index d4ab6e01ab..d7faab5eed 100644
--- a/core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy
+++ b/core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy
@@ -31,9 +31,11 @@ grant codeBase "${codebase.securemock-1.2.jar}" {
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
-grant codeBase "${codebase.lucene-test-framework-6.0.1.jar}" {
+grant codeBase "${codebase.lucene-test-framework-6.1.0-snapshot-3a57bea.jar}" {
// needed by RamUsageTester
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
+ // needed for testing hardlinks in StoreRecoveryTests since we install MockFS
+ permission java.nio.file.LinkPermission "hard";
};
grant codeBase "${codebase.randomizedtesting-runner-2.3.2.jar}" {