Skip to content

Commit bd73e64

Browse files
authored
Merge pull request #216 from rhatdan/fix
Allow containers to watch sysfs_t directories
2 parents 16d4c66 + 016f1b3 commit bd73e64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

container.te

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
policy_module(container, 2.203.0)
1+
policy_module(container, 2.204.0)
22

33
gen_require(`
44
class passwd rootok;
@@ -865,6 +865,8 @@ allow container_domain container_runtime_tmpfs_t:dir mounton;
865865

866866
dev_getattr_mtrr_dev(container_domain)
867867
dev_list_sysfs(container_domain)
868+
allow container_domain sysfs_t:dir watch;
869+
868870
dev_rw_kvm(container_domain)
869871
dev_rwx_zero(container_domain)
870872

0 commit comments

Comments
 (0)