Skip to content

Commit

Permalink
Allow containers to use fifo files handed to them by users
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 9, 2020
1 parent 6b721da commit 9884317
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.137.0)
policy_module(container, 2.138.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -538,6 +538,7 @@ 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_runtime_domain unconfined_t:fifo_file setattr;
allow unconfined_t container_domain:process dyntransition;
allow unconfined_t unlabeled_t:key manage_key_perms;
Expand Down

0 comments on commit 9884317

Please sign in to comment.