Skip to content

Commit dbed5c5

Browse files
committed
Moar
1 parent 46bef55 commit dbed5c5

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/initialization/EntitlementInitialization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private static PolicyManager createPolicyManager() {
128128
),
129129
new Scope("org.apache.httpcomponents.httpclient", List.of(new OutboundNetworkEntitlement())),
130130
new Scope("io.netty.transport", List.of(new InboundNetworkEntitlement(), new OutboundNetworkEntitlement())),
131-
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement())),
131+
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement(), new InterruptThreadEntitlement())),
132132
new Scope("org.elasticsearch.nativeaccess", List.of(new LoadNativeLibrariesEntitlement()))
133133
)
134134
);

x-pack/plugin/core/src/main/plugin-metadata/entitlement-policy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ org.apache.httpcomponents.httpclient:
66
- set_thread_property
77
org.apache.httpcomponents.httpcore.nio:
88
- outbound_network
9+
- create_thread
910
unboundid.ldapsdk:
1011
- write_system_properties:
1112
properties:
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALL-UNNAMED:
2+
- create_thread

0 commit comments

Comments
 (0)