Skip to content

Commit

Permalink
Merge pull request #248 from rhatdan/fedora
Browse files Browse the repository at this point in the history
Allow container runtime to dyntransition to spc_t
  • Loading branch information
lsm5 authored May 22, 2023
2 parents 1890e10 + 7b0e34e commit 730f696
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.214.0)
policy_module(container, 2.215.0)

gen_require(`
class passwd rootok;
Expand Down Expand Up @@ -728,7 +728,7 @@ admin_pattern(spc_t, kubernetes_file_t)
allow spc_t container_runtime_domain:fifo_file manage_fifo_file_perms;
allow spc_t { container_ro_file_t container_file_t }:system module_load;

allow container_runtime_domain spc_t:process { setsched signal_perms };
allow container_runtime_domain spc_t:process { dyntransition setsched signal_perms };
ps_process_pattern(container_runtime_domain, spc_t)
allow container_runtime_domain spc_t:socket_class_set { relabelto relabelfrom };
allow spc_t unlabeled_t:key manage_key_perms;
Expand Down

0 comments on commit 730f696

Please sign in to comment.