Skip to content

Commit

Permalink
Allow unconfined domains to talk to unlabled sockets
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Mar 30, 2021
1 parent d89a599 commit 9e769d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.159.0)
policy_module(container, 2.160.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -648,6 +648,7 @@ allow container_runtime_domain spc_t:process { setsched signal_perms };
ps_process_pattern(container_runtime_domain, spc_t)
allow container_runtime_domain spc_t:socket_class_set { relabelto relabelfrom };
allow spc_t unlabeled_t:key manage_key_perms;
allow spc_t unlabeled_t:socket_class_set create_socket_perms;

init_dbus_chat(spc_t)

Expand Down

0 comments on commit 9e769d3

Please sign in to comment.