1 |
commit: 7f89194367dde12d9a96fafa5cb19ba563595cb6 |
2 |
Author: Laurent Bigonville <bigon <AT> bigon <DOT> be> |
3 |
AuthorDate: Sat Jan 11 14:23:22 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 28 08:07:05 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=7f891943 |
7 |
|
8 |
Allow unconfined users to transition to dpkg_t domain |
9 |
|
10 |
dpkg is now using rpm_execcon()/setexecfilecon()-like function to |
11 |
transition to the dpkg_script_t domain. This function will fail in |
12 |
enforcing mode if the transition is not allowed. |
13 |
|
14 |
--- |
15 |
policy/modules/system/unconfined.te | 4 ++++ |
16 |
1 file changed, 4 insertions(+) |
17 |
|
18 |
diff --git a/policy/modules/system/unconfined.te b/policy/modules/system/unconfined.te |
19 |
index 55276f0..51a2992 100644 |
20 |
--- a/policy/modules/system/unconfined.te |
21 |
+++ b/policy/modules/system/unconfined.te |
22 |
@@ -80,6 +80,10 @@ optional_policy(` |
23 |
') |
24 |
|
25 |
optional_policy(` |
26 |
+ dpkg_run(unconfined_t, unconfined_r) |
27 |
+') |
28 |
+ |
29 |
+optional_policy(` |
30 |
firstboot_run(unconfined_t, unconfined_r) |
31 |
') |