Skip to content

Commit

Permalink
Allow uncontined domains to transition to container domains
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Jul 24, 2020
1 parent 965c7fb commit 2750e78
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.140.0)
policy_module(container, 2.141.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -544,7 +544,7 @@ optional_policy(`
role_transition unconfined_r container_runtime_exec_t system_r;
allow container_domain unconfined_t:fifo_file { rw_fifo_file_perms map };
allow container_runtime_domain unconfined_t:fifo_file setattr;
allow unconfined_t container_domain:process dyntransition;
allow unconfined_domain_type container_domain:process {transition dyntransition };
allow unconfined_t unlabeled_t:key manage_key_perms;
allow container_runtime_t unconfined_t:process transition;
allow unconfined_t { container_var_lib_t container_ro_file_t }:file entrypoint;
Expand Down

0 comments on commit 2750e78

Please sign in to comment.