Skip to content

Commit

Permalink
Allow container entrypoints to uncontined 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 2750e78 commit fe6a25c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.141.0)
policy_module(container, 2.142.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -542,13 +542,13 @@ optional_policy(`
unconfined_domain(container_runtime_t)
unconfined_run_to(container_runtime_t, container_runtime_exec_t)
role_transition unconfined_r container_runtime_exec_t system_r;
allow container_domain unconfined_t:fifo_file { rw_fifo_file_perms map };
allow container_domain unconfined_domain_type:fifo_file { rw_fifo_file_perms map };
allow container_runtime_domain unconfined_t:fifo_file setattr;
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;
fs_fusefs_entrypoint(unconfined_t)
allow unconfined_domain_type { container_var_lib_t container_ro_file_t }:file entrypoint;
fs_fusefs_entrypoint(unconfined_domain_type)
')

optional_policy(`
Expand Down

0 comments on commit fe6a25c

Please sign in to comment.