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