Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/
Date: Fri, 28 Nov 2014 11:16:40
Message-Id: 1417173228.dcb74d6325828450be6f367f787b0494ed32c7d9.swift@gentoo
1 commit: dcb74d6325828450be6f367f787b0494ed32c7d9
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Fri Nov 28 11:13:48 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 28 11:13:48 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=dcb74d63
7
8 Add file context definitions for dhcpcd sockets
9
10 ---
11 policy/modules/system/sysnetwork.fc | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc
15 index fbb935c..a809d61 100644
16 --- a/policy/modules/system/sysnetwork.fc
17 +++ b/policy/modules/system/sysnetwork.fc
18 @@ -80,3 +80,7 @@ ifdef(`distro_debian',`
19 /var/run/network(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
20 ')
21
22 +ifdef(`distro_gentoo',`
23 +/var/run/dhcpcd\.sock -s gen_context(system_u:object_r:dhcpc_var_run_t,s0)
24 +/var/run/dhcpcd\.unpriv\.sock -s gen_context(system_u:object_r:dhcpc_var_run_t,s0)
25 +')