Skip to content

Commit

Permalink
Allow container domains to execute container_runtime_tmpfs_t files
Browse files Browse the repository at this point in the history
Fixes: #274

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Oct 11, 2023
1 parent 2411667 commit 7efdd3d
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.223.0)
policy_module(container, 2.224.0)

gen_require(`
class passwd rootok;
Expand Down Expand Up @@ -954,6 +954,7 @@ fs_mount_tmpfs(container_domain)

dontaudit container_domain container_runtime_tmpfs_t:dir read;
allow container_domain container_runtime_tmpfs_t:dir mounton;
can_exec(container_domain, container_runtime_tmpfs_t)

allow container_domain self:key manage_key_perms;
dontaudit container_domain container_domain:key search;
Expand Down

0 comments on commit 7efdd3d

Please sign in to comment.