From cded84d30efea094b99bfedbbca7dae59a3cac0f Mon Sep 17 00:00:00 2001 From: Dominick Grift Date: Fri, 15 Jul 2011 12:37:12 +0200 Subject: [PATCH] Not sure if this is the right thing to do but systemd_logind_t needs this and since init_systemd_domain has not had much use yet, it may be applicable to all long running systemd domains. By the way we should probably differentiate between long running systemd domains and one shot systemd domains. --- policy/modules/system/init.if | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index 5e4571c1..0d7aa40c 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -110,6 +110,7 @@ interface(`init_systemd_domain',` domtrans_pattern(init_t,$2,$1) allow init_t $1:unix_stream_socket create_stream_socket_perms; allow init_t $1:unix_dgram_socket create_socket_perms; + allow $1 init_t:unix_stream_socket ioctl; allow $1 init_t:unix_dgram_socket sendto; ') ') -- 2.47.2