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/contrib/
Date: Mon, 20 Jan 2014 20:34:01
Message-Id: 1390249947.966f8dfaae29ab6192222828a396ca3f38458f6b.swift@gentoo
1 commit: 966f8dfaae29ab6192222828a396ca3f38458f6b
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Mon Jan 20 20:32:27 2014 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 20 20:32:27 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=966f8dfa
7
8 Fix bug #497986 - Scripts provided by consolekit should be bin_t
9
10 ---
11 policy/modules/contrib/consolekit.fc | 5 +++++
12 1 file changed, 5 insertions(+)
13
14 diff --git a/policy/modules/contrib/consolekit.fc b/policy/modules/contrib/consolekit.fc
15 index 23c9558..0ce1e53 100644
16 --- a/policy/modules/contrib/consolekit.fc
17 +++ b/policy/modules/contrib/consolekit.fc
18 @@ -5,3 +5,8 @@
19 /var/run/ConsoleKit(/.*)? gen_context(system_u:object_r:consolekit_var_run_t,s0)
20 /var/run/consolekit\.pid -- gen_context(system_u:object_r:consolekit_var_run_t,s0)
21 /var/run/console-kit-daemon\.pid -- gen_context(system_u:object_r:consolekit_var_run_t,s0)
22 +
23 +ifdef(`distro_gentoo',`
24 +# Bug 497986
25 +/usr/lib/ConsoleKit/.* -- gen_context(system_u:object_r:bin_t,s0)
26 +')