1 |
commit: 33b7c9a38343e28f07782f4b9d582bc180a8803a |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Wed Oct 31 20:33:24 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Wed Oct 31 20:33:24 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=33b7c9a3 |
7 |
|
8 |
Fix context for chromium xdg related locations |
9 |
|
10 |
Add in a ?, otherwise this entry has a lower hitratio than the generic xdg hits. |
11 |
|
12 |
--- |
13 |
policy/modules/contrib/chromium.fc | 5 ++--- |
14 |
1 files changed, 2 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/policy/modules/contrib/chromium.fc b/policy/modules/contrib/chromium.fc |
17 |
index 86325e7..2302c85 100644 |
18 |
--- a/policy/modules/contrib/chromium.fc |
19 |
+++ b/policy/modules/contrib/chromium.fc |
20 |
@@ -5,7 +5,6 @@ |
21 |
|
22 |
/usr/lib/chromium-browser/nacl_helper_bootstrap -- gen_context(system_u:object_r:bin_t,s0) |
23 |
|
24 |
-HOME_DIR/\.cache/chromium(/.*) gen_context(system_u:object_r:chromium_xdg_cache_t,s0) |
25 |
-HOME_DIR/\.config/chromium(/.*) gen_context(system_u:object_r:chromium_xdg_config_t,s0) |
26 |
- |
27 |
+HOME_DIR/\.cache/chromium(/.*)? gen_context(system_u:object_r:chromium_xdg_cache_t,s0) |
28 |
+HOME_DIR/\.config/chromium(/.*)? gen_context(system_u:object_r:chromium_xdg_config_t,s0) |