File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
- policy_module(container, 2 .124 .0 )
1
+ policy_module(container, 2 .125 .0 )
2
2
gen_require(`
3
3
class passwd rootok;
4
4
')
@@ -452,6 +452,7 @@ tunable_policy(`virt_use_samba',`
452
452
gen_require(`
453
453
type cephfs_t;
454
454
')
455
+
455
456
tunable_policy(`container_use_cephfs',`
456
457
manage_files_pattern(container_domain, cephfs_t, cephfs_t)
457
458
manage_lnk_files_pattern(container_domain, cephfs_t, cephfs_t)
@@ -1041,3 +1042,14 @@ dontaudit container_domain device_node:chr_file setattr;
1041
1042
dontaudit container_domain sysctl_type:file write;
1042
1043
1043
1044
allow container_t proc_t:filesystem remount;
1045
+
1046
+ # Container kvm - Policy for running kata containers
1047
+ container_domain_template(container_kvm)
1048
+ typeattribute container_kvm_t container_net_domain;
1049
+
1050
+ dev_rw_kvm(container_kvm_t)
1051
+
1052
+ dev_read_sysfs(container_kvm_t)
1053
+ dev_getattr_mtrr_dev(container_kvm_t)
1054
+ dev_read_rand(container_kvm_t)
1055
+ dev_read_urand(container_kvm_t)
You can’t perform that action at this time.
0 commit comments