Skip to content

Commit 8d1f141

Browse files
committed
Fix spc_t transition rules on tmpfs_t
Signed-off-by: Daniel J Walsh <[email protected]>
1 parent 94b2618 commit 8d1f141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

container.te

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
policy_module(container, 2.197.0)
1+
policy_module(container, 2.198.0)
22

33
gen_require(`
44
class passwd rootok;
@@ -686,6 +686,7 @@ role system_r types spc_t;
686686
domtrans_pattern(container_runtime_domain, container_ro_file_t, spc_t)
687687
domtrans_pattern(container_runtime_domain, container_var_lib_t, spc_t)
688688
domtrans_pattern(container_runtime_domain, fusefs_t, spc_t)
689+
fs_tmpfs_filetrans(spc_t, container_file_t, { dir file lnk_file })
689690

690691
allow container_runtime_domain spc_t:process2 nnp_transition;
691692
admin_pattern(spc_t, kubernetes_file_t)

0 commit comments

Comments
 (0)