Skip to content

Commit

Permalink
Allow containers to shutdown & setopt userdomain: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 May 24, 2022
1 parent 15c20d7 commit 72d1b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.185.0)
policy_module(container, 2.186.0)

gen_require(`
class passwd rootok;
Expand Down Expand Up @@ -1168,7 +1168,7 @@ optional_policy(`

allow staff_t container_runtime_t:process signal_perms;
allow staff_t container_domain:process signal_perms;
allow container_domain userdomain:socket_class_set { accept ioctl read getattr lock write append getopt };
allow container_domain userdomain:socket_class_set { accept ioctl read getattr lock write append getopt shutdown setopt };
')

gen_require(`
Expand Down

0 comments on commit 72d1b72

Please sign in to comment.