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 4452A138247 for ; Fri, 20 Dec 2013 21:00:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0337BE0B18; Fri, 20 Dec 2013 21:00:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A5F1E0B14 for ; Fri, 20 Dec 2013 21:00:14 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 898D133F5B5 for ; Fri, 20 Dec 2013 21:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3B8E6110354 for ; Fri, 20 Dec 2013 21:00:12 +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: <1387573004.72efbc0af95e08b240cc27dbdcf83ace10dc2cbf.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/init.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 72efbc0af95e08b240cc27dbdcf83ace10dc2cbf X-VCS-Branch: master Date: Fri, 20 Dec 2013 21:00:12 +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: 70f4eaab-aa60-4680-acc1-13002d65d8d1 X-Archives-Hash: f4ceb1d51ef0677c4c7ff8c12c3b14cf commit: 72efbc0af95e08b240cc27dbdcf83ace10dc2cbf Author: Dominick Grift gmail com> AuthorDate: Sat Nov 9 09:45:11 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 20 20:56:44 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=72efbc0a init: the gdomap and minissdpd init scripts read the respective environ files in /etc/default. We need to give them a private type so that we can give the gdomap_admin() and minissdpd_admin() access to it, but it seems overengineering to create private environ types for these files Signed-off-by: Dominick Grift gmail.com> --- policy/modules/system/init.te | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te index a0afe45..fc36620 100644 --- a/policy/modules/system/init.te +++ b/policy/modules/system/init.te @@ -453,6 +453,14 @@ ifdef(`distro_debian',` optional_policy(` exim_manage_var_lib_files(initrc_t) ') + + optional_policy(` + gdomap_read_config(initrc_t) + ') + + optional_policy(` + minissdpd_read_config(initrc_t) + ') ') ifdef(`distro_gentoo',`