Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/
Date: Sun, 03 Jul 2016 11:28:06
Message-Id: 1467545232.54607cc91b1bf9ca7dbf3b9527776b5a0effefb1.swift@gentoo
1 commit: 54607cc91b1bf9ca7dbf3b9527776b5a0effefb1
2 Author: Garrett Holmstrom <gholms <AT> devzero <DOT> com>
3 AuthorDate: Wed Jun 29 23:27:13 2016 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 11:27:12 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=54607cc9
7
8 corecmd: Remove fcontext for /etc/sysconfig/libvirtd
9
10 /etc/sysconfig/libvirtd does not have the executable bit set, so it does
11 not make sense for it to be labelled bin_t. I can't seem to find the
12 reason it was set that way originally.
13
14 Signed-off-by: Garrett Holmstrom <gholms <AT> devzero.com>
15
16 policy/modules/kernel/corecommands.fc | 1 -
17 1 file changed, 1 deletion(-)
18
19 diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc
20 index 90541eb..c265d1f 100644
21 --- a/policy/modules/kernel/corecommands.fc
22 +++ b/policy/modules/kernel/corecommands.fc
23 @@ -105,7 +105,6 @@ ifdef(`distro_redhat',`
24
25 /etc/sysconfig/crond -- gen_context(system_u:object_r:bin_t,s0)
26 /etc/sysconfig/init -- gen_context(system_u:object_r:bin_t,s0)
27 -/etc/sysconfig/libvirtd -- gen_context(system_u:object_r:bin_t,s0)
28 /etc/sysconfig/netconsole -- gen_context(system_u:object_r:bin_t,s0)
29 /etc/sysconfig/readonly-root -- gen_context(system_u:object_r:bin_t,s0)