From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9ABAB13877A for ; Sat, 5 Jul 2014 16:26:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A88CAE07D5; Sat, 5 Jul 2014 16:26:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D2A9E07D5 for ; Sat, 5 Jul 2014 16:26:47 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E53A33FF9F for ; Sat, 5 Jul 2014 16:26:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id C6DD3182D3 for ; Sat, 5 Jul 2014 16:26:44 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1404577541.d26c82938d92e243bd011c1e21d8444035ac8f89.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/nut.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d26c82938d92e243bd011c1e21d8444035ac8f89 X-VCS-Branch: master Date: Sat, 5 Jul 2014 16:26:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 79a40a98-b066-48d1-8092-07871b5b0f30 X-Archives-Hash: 3ebbc712fb06bef07c57e5553f4790d0 commit: d26c82938d92e243bd011c1e21d8444035ac8f89 Author: Sven Vermeulen siphos be> AuthorDate: Sat Jul 5 16:25:41 2014 +0000 Commit: Sven Vermeulen gentoo 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) +')