Bläddra i källkod

minecraft: update permissions to work with Java 8

Helmut Pozimski 7 år sedan
förälder
incheckning
0eb708dd3b
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      policy/modules/minecraft.te

+ 4 - 1
policy/modules/minecraft.te

@@ -1,4 +1,4 @@
-policy_module(minecraft, 1.1.8)
+policy_module(minecraft, 1.1.9)
 
 ########################################
 #
@@ -56,11 +56,14 @@ kernel_read_network_state(minecraft_t)
 kernel_read_system_state(minecraft_t)
 kernel_search_network_sysctl(minecraft_t)
 kernel_read_net_sysctls(minecraft_t)
+kernel_read_vm_overcommit_sysctl(minecraft_t)
 
 corenet_tcp_connect_http_port(minecraft_t)
 corenet_tcp_bind_all_unreserved_ports(minecraft_t)
 corenet_tcp_bind_generic_node(minecraft_t)
 
+java_exec(minecraft_t)
+
 optional_policy(`
   gen_require(`
     type supervisor_t;