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 6FB631381F3 for ; Fri, 16 Aug 2013 10:46:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80BFDE0D94; Fri, 16 Aug 2013 10:45:59 +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 B6AC3E0D94 for ; Fri, 16 Aug 2013 10:45:58 +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 A570833ECB2 for ; Fri, 16 Aug 2013 10:45:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 91630E468F for ; Fri, 16 Aug 2013 10:45:55 +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: <1376638999.239dd07650ca1a23a6adffd815c716a8e5fbe73f.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/dnsmasq.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 239dd07650ca1a23a6adffd815c716a8e5fbe73f X-VCS-Branch: master Date: Fri, 16 Aug 2013 10:45:55 +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: a89730b7-d33a-4d62-bdbb-0e9263bf86bb X-Archives-Hash: 7c1cc525b39efc9239744ef05d15d683 commit: 239dd07650ca1a23a6adffd815c716a8e5fbe73f Author: Sven Vermeulen siphos be> AuthorDate: Fri Aug 16 07:43:19 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Fri Aug 16 07:43:19 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=239dd076 Move to distro_gentoo (man always forget this) --- policy/modules/contrib/dnsmasq.te | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/dnsmasq.te b/policy/modules/contrib/dnsmasq.te index f88f752..66aa6d7 100644 --- a/policy/modules/contrib/dnsmasq.te +++ b/policy/modules/contrib/dnsmasq.te @@ -53,7 +53,6 @@ files_pid_filetrans(dnsmasq_t, dnsmasq_var_run_t, { dir file }) kernel_read_kernel_sysctls(dnsmasq_t) kernel_read_network_state(dnsmasq_t) -kernel_read_net_sysctls(dnsmasq_t) kernel_read_system_state(dnsmasq_t) kernel_request_load_module(dnsmasq_t) @@ -128,3 +127,13 @@ optional_policy(` virt_read_pid_files(dnsmasq_t) virt_pid_filetrans(dnsmasq_t, dnsmasq_var_run_t, { dir file }) ') + +ifdef(`distro_gentoo',` + #################################### + # + # dnsmasq_t policy + # + + + kernel_read_net_sysctls(dnsmasq_t) +')