1 |
commit: dde05ceb3056e00a2bff6e089fc0caa5d784d700 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sat Feb 1 11:35:03 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 11:35:34 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=dde05ceb |
7 |
|
8 |
Fix bug 496328 - Properly handle chroots |
9 |
|
10 |
Thanks to Luis Ressel for the patch. |
11 |
|
12 |
--- |
13 |
policy/modules/contrib/portage.if | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/policy/modules/contrib/portage.if b/policy/modules/contrib/portage.if |
17 |
index fe656fa..d58af63 100644 |
18 |
--- a/policy/modules/contrib/portage.if |
19 |
+++ b/policy/modules/contrib/portage.if |
20 |
@@ -203,6 +203,11 @@ interface(`portage_compile_domain',` |
21 |
allow $1 xdm_xserver_tmp_t:sock_file { create_file_perms delete_file_perms write_file_perms }; |
22 |
') |
23 |
') dnl end TODO |
24 |
+ |
25 |
+ ifdef(`distro_gentoo',` |
26 |
+ # Fix bug 496328 |
27 |
+ fs_getattr_tmpfs($1) |
28 |
+ ') |
29 |
') |
30 |
|
31 |
######################################## |