Skip to content

Commit

Permalink
Merge pull request #303 from rhatdan/main
Browse files Browse the repository at this point in the history
Allow container domains to communicate with spc_t unix_stream_sockets
  • Loading branch information
rhatdan authored Apr 23, 2024
2 parents a8e389d + 0e7f166 commit 5d98341
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.230.0)
policy_module(container, 2.231.0)

gen_require(`
class passwd rootok;
Expand Down Expand Up @@ -1087,6 +1087,7 @@ allow container_net_domain self:rawip_socket create_stream_socket_perms;
allow container_net_domain self:netlink_kobject_uevent_socket create_socket_perms;
allow container_net_domain self:netlink_xfrm_socket create_netlink_socket_perms;

allow container_domain spc_t:unix_stream_socket { read write };
kernel_unlabeled_domtrans(container_runtime_domain, spc_t)
kernel_unlabeled_entry_type(spc_t)
allow container_runtime_domain unlabeled_t:key manage_key_perms;
Expand Down

1 comment on commit 5d98341

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.