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/kernel/
Date: Sat, 30 Jan 2016 17:21:31
Message-Id: 1454174216.482a3e8b03cf77c4b3113a5d340aece78da232c0.perfinion@gentoo
1 commit: 482a3e8b03cf77c4b3113a5d340aece78da232c0
2 Author: Chris PeBenito <cpebenito <AT> tresys <DOT> com>
3 AuthorDate: Wed Jan 6 14:09:36 2016 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 17:16:56 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=482a3e8b
7
8 Add neverallow for mac_override capability. It is not used by SELinux.
9
10 policy/modules/kernel/domain.te | 5 ++++-
11 1 file changed, 4 insertions(+), 1 deletion(-)
12
13 diff --git a/policy/modules/kernel/domain.te b/policy/modules/kernel/domain.te
14 index dfcf4a7..fa24e36 100644
15 --- a/policy/modules/kernel/domain.te
16 +++ b/policy/modules/kernel/domain.te
17 @@ -1,4 +1,4 @@
18 -policy_module(domain, 1.13.0)
19 +policy_module(domain, 1.13.1)
20
21 ########################################
22 #
23 @@ -35,6 +35,9 @@ attribute set_curr_context;
24 # dynamic transition, you should not be using it!!!
25 neverallow { domain -set_curr_context } self:process setcurrent;
26
27 +# No domain needs mac_override as it is unused by SELinux.
28 +neverallow domain self:capability2 mac_override;
29 +
30 # entrypoint executables
31 attribute entry_type;