Skip to content

Commit a37b0c2

Browse files
authored
Merge pull request #1034 from WavyEbuilder/portage-sandbox
portage: grant compile domains getattr on chr_files in /dev
2 parents 59eab85 + 739ee69 commit a37b0c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

policy/modules/admin/portage.if

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ interface(`portage_compile_domain',`
149149
dev_read_rand($1)
150150
dev_read_urand($1)
151151

152+
# some packages test for nodes in /dev
153+
dev_getattr_all_chr_files($1)
154+
152155
domain_use_interactive_fds($1)
153156
domain_dontaudit_read_all_domains_state($1)
154157
# SELinux-aware installs doing relabels in the sandbox

0 commit comments

Comments
 (0)