Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Sun, 29 Oct 2017 20:43:11
Message-Id: 1509285448.34a5c9f83485ba36ea21940a6ecc3932636f51f3.perfinion@gentoo
1 commit: 34a5c9f83485ba36ea21940a6ecc3932636f51f3
2 Author: Luis Ressel <aranea <AT> aixah <DOT> de>
3 AuthorDate: Wed Oct 25 00:37:05 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 13:57:28 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=34a5c9f8
7
8 portage: Allow portage compile domains to map portage_tmpfs_t files
9
10 This is required by a python script in the firefox build system.
11
12 Bug: https://bugs.gentoo.org/635384
13
14 policy/modules/contrib/portage.if | 1 +
15 1 file changed, 1 insertion(+)
16
17 diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if
18 index 6388110e..637b0d0d 100644
19 --- a/policy/modules/contrib/portage.if
20 +++ b/policy/modules/contrib/portage.if
21 @@ -124,6 +124,7 @@ interface(`portage_compile_domain',`
22 manage_lnk_files_pattern($1, portage_tmpfs_t, portage_tmpfs_t)
23 manage_fifo_files_pattern($1, portage_tmpfs_t, portage_tmpfs_t)
24 manage_sock_files_pattern($1, portage_tmpfs_t, portage_tmpfs_t)
25 + allow $1 portage_tmpfs_t:file map;
26 fs_tmpfs_filetrans($1, portage_tmpfs_t, { dir file lnk_file sock_file fifo_file })
27
28 kernel_read_system_state($1)