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/admin/
Date: Sun, 21 Nov 2021 23:20:29
Message-Id: 1637536489.192f62919b5866ad4de5558b7a69f03f81ed4ad3.perfinion@gentoo
1 commit: 192f62919b5866ad4de5558b7a69f03f81ed4ad3
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 21 23:12:40 2021 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 21 23:14:49 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=192f6291
7
8 portage: Allow sandbox to map /dev/zero
9
10 Bug: https://bugs.gentoo.org/738546
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 policy/modules/admin/portage.te | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/policy/modules/admin/portage.te b/policy/modules/admin/portage.te
17 index 6cab80bd..1db76efe 100644
18 --- a/policy/modules/admin/portage.te
19 +++ b/policy/modules/admin/portage.te
20 @@ -511,6 +511,7 @@ gen_tunable(portage_enable_test, false)
21 dontaudit portage_sandbox_t self:capability sys_admin;
22
23 dev_getattr_xserver_misc_dev(portage_sandbox_t)
24 + dev_rwx_zero(portage_sandbox_t)
25
26 kernel_read_vm_overcommit_sysctl(portage_sandbox_t)