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 BD73F1387FD for ; Sun, 30 Mar 2014 08:56:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFB4FE09AF; Sun, 30 Mar 2014 08:56:49 +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 7B0B7E09AF for ; Sun, 30 Mar 2014 08:56:49 +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 7C3B333FD22 for ; Sun, 30 Mar 2014 08:56:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id F3475188A2 for ; Sun, 30 Mar 2014 08:56:46 +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: <1396169795.f8b0c787a9141006afde81ea2b37df96abd12863.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/mozilla.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: f8b0c787a9141006afde81ea2b37df96abd12863 X-VCS-Branch: master Date: Sun, 30 Mar 2014 08:56:46 +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: f87e5afb-ea6c-43c8-a676-849dee7e21b6 X-Archives-Hash: f91996772e5593783694147fa859f8b8 commit: f8b0c787a9141006afde81ea2b37df96abd12863 Author: Sven Vermeulen siphos be> AuthorDate: Sun Mar 30 08:56:35 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Mar 30 08:56:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f8b0c787 Moving to USE flag triggered alsa support --- policy/modules/contrib/mozilla.te | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/policy/modules/contrib/mozilla.te b/policy/modules/contrib/mozilla.te index f08179d..b8d8c30 100644 --- a/policy/modules/contrib/mozilla.te +++ b/policy/modules/contrib/mozilla.te @@ -690,9 +690,11 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) ') ') - optional_policy(` - # HTML5 support is built-in (no plugin) - bug 464398 - alsa_domain(mozilla_t, mozilla_tmpfs_t) + ifdef(`use_alsa',` + optional_policy(` + # HTML5 support is built-in (no plugin) - bug 464398 + alsa_domain(mozilla_t, mozilla_tmpfs_t) + ') ') optional_policy(` @@ -738,8 +740,10 @@ gen_tunable(mozilla_plugin_connect_all_unreserved, false) corenet_dontaudit_tcp_connect_all_unreserved_ports(mozilla_plugin_t) ') - optional_policy(` - alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t) + ifdef(`use_alsa',` + optional_policy(` + alsa_domain(mozilla_plugin_t, mozilla_plugin_tmpfs_t) + ') ') optional_policy(`