1 |
commit: d26c82938d92e243bd011c1e21d8444035ac8f89 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sat Jul 5 16:25:41 2014 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 5 16:25:41 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d26c8293 |
7 |
|
8 |
Fix bug #516238 - /usr/sbin/upsdrvctl is symlink to /lib64/nut/upsdrvctl |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/nut.fc | 4 ++++ |
12 |
1 file changed, 4 insertions(+) |
13 |
|
14 |
diff --git a/policy/modules/contrib/nut.fc b/policy/modules/contrib/nut.fc |
15 |
index 379af96..40338b3 100644 |
16 |
--- a/policy/modules/contrib/nut.fc |
17 |
+++ b/policy/modules/contrib/nut.fc |
18 |
@@ -21,3 +21,7 @@ |
19 |
/var/www/nut-cgi-bin/upsimage\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) |
20 |
/var/www/nut-cgi-bin/upsset\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) |
21 |
/var/www/nut-cgi-bin/upsstats\.cgi -- gen_context(system_u:object_r:httpd_nutups_cgi_script_exec_t,s0) |
22 |
+ |
23 |
+ifdef(`distro_gentoo',` |
24 |
+/lib/nut/upsdrvctl -- gen_context(system_u:object_r:nut_upsdrvctl_exec_t,s0) |
25 |
+') |