1 |
commit: 3f175883ba264a130a2274c27622a6990f844994 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sat Aug 25 17:53:44 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sat Aug 25 17:53:44 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=3f175883 |
7 |
|
8 |
Type transition when initscript creates /run/ConsoleKit |
9 |
|
10 |
As the init script creates the /run/ConsoleKit location now, it needs this |
11 |
privilege with a named file transition. |
12 |
|
13 |
--- |
14 |
policy/modules/contrib/consolekit.te | 1 + |
15 |
1 files changed, 1 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/policy/modules/contrib/consolekit.te b/policy/modules/contrib/consolekit.te |
18 |
index 6f2896d..516328a 100644 |
19 |
--- a/policy/modules/contrib/consolekit.te |
20 |
+++ b/policy/modules/contrib/consolekit.te |
21 |
@@ -14,6 +14,7 @@ logging_log_file(consolekit_log_t) |
22 |
|
23 |
type consolekit_var_run_t; |
24 |
files_pid_file(consolekit_var_run_t) |
25 |
+init_daemon_run_dir(consolekit_var_run_t, "ConsoleKit") |
26 |
|
27 |
######################################## |
28 |
# |