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/system/
Date: Sun, 09 Dec 2018 11:49:06
Message-Id: 1542538757.892c088f75d2df27a501850dae2ef05c8759a591.perfinion@gentoo
1 commit: 892c088f75d2df27a501850dae2ef05c8759a591
2 Author: Luis Ressel <aranea <AT> aixah <DOT> de>
3 AuthorDate: Wed Oct 3 17:10:39 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 10:59:17 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=892c088f
7
8 Enable the tmpfiles_manage_all_non_security boolean by default
9
10 This sucks, not only because I don't like granting tmpfiles_t this
11 access, but also since it's one more unneccessary difference between
12 gentoo and refpolicy.
13
14 Nevertheless, it's the most reasonable fix I can think of.
15
16 Bug: https://bugs.gentoo.org/667122
17 Signed-off-by: Jason Zaman <jason <AT> perfinion.com>
18
19 policy/modules/system/tmpfiles.te | 3 ++-
20 1 file changed, 2 insertions(+), 1 deletion(-)
21
22 diff --git a/policy/modules/system/tmpfiles.te b/policy/modules/system/tmpfiles.te
23 index 1366fbff..9063ca3e 100644
24 --- a/policy/modules/system/tmpfiles.te
25 +++ b/policy/modules/system/tmpfiles.te
26 @@ -13,7 +13,8 @@ policy_module(tmpfiles, 1.0.0)
27 ## /run, /tmp, /dev and /var/lock.
28 ## </p>
29 ## </desc>
30 -gen_tunable(tmpfiles_manage_all_non_security, false)
31 +# Enabled by default on Gentoo to fix https://bugs.gentoo.org/667122
32 +gen_tunable(tmpfiles_manage_all_non_security, true)
33
34 type tmpfiles_t;
35 type tmpfiles_exec_t;