From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3435413908F for ; Wed, 25 Jan 2017 11:59:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53EDCE0DEB; Wed, 25 Jan 2017 11:59:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E524E0DE0 for ; Wed, 25 Jan 2017 11:59:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23A3434169A for ; Wed, 25 Jan 2017 11:59:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 52B7F2EE9 for ; Wed, 25 Jan 2017 11:59:50 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1485328094.82777d9740f9c8cd39423eea988823647bdc68ea.perfinion@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/cups.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 82777d9740f9c8cd39423eea988823647bdc68ea X-VCS-Branch: master Date: Wed, 25 Jan 2017 11:59:50 +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: 099d1315-3767-4c88-b6a3-4ade6911294f X-Archives-Hash: ee88d587308a9ffd9453390baae5c6f9 commit: 82777d9740f9c8cd39423eea988823647bdc68ea Author: Chris PeBenito ieee org> AuthorDate: Mon Jan 23 23:50:08 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Jan 25 07:08:14 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=82777d97 cups: Move hplip_domtrans interface. policy/modules/contrib/cups.if | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/policy/modules/contrib/cups.if b/policy/modules/contrib/cups.if index f0261ca..6a2633c 100644 --- a/policy/modules/contrib/cups.if +++ b/policy/modules/contrib/cups.if @@ -326,6 +326,27 @@ interface(`cups_read_state',` ######################################## ## +## Execute HP Linux Imaging and +## Printing applications in their +## own domain. +## +## +## +## Domain allowed to transition. +## +## +# +interface(`cups_domtrans_hplip',` + gen_require(` + type hplip_t, hplip_exec_t; + ') + + corecmd_search_bin($1) + domtrans_pattern($1, hplip_exec_t, hplip_t) +') + +######################################## +## ## All of the rules required to ## administrate an cups environment. ## @@ -375,24 +396,3 @@ interface(`cups_admin',` admin_pattern($1, { cupsd_config_var_run_t cupsd_var_run_t hplip_var_run_t }) admin_pattern($1, { ptal_var_run_t cupsd_lpd_var_run_t }) ') - -######################################## -## -## Execute HP Linux Imaging and -## Printing applications in their -## own domain. -## -## -## -## Domain allowed to transition. -## -## -# -interface(`cups_domtrans_hplip',` - gen_require(` - type hplip_t, hplip_exec_t; - ') - - corecmd_search_bin($1) - domtrans_pattern($1, hplip_exec_t, hplip_t) -')