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 6631C1384B4 for ; Thu, 17 Dec 2015 18:52:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD281E07EE; Thu, 17 Dec 2015 18:52:27 +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 56FC1E07EE for ; Thu, 17 Dec 2015 18:52:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BBA634069A for ; Thu, 17 Dec 2015 18:52:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72004A97 for ; Thu, 17 Dec 2015 18:52:24 +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: <1450378316.77e1231041b150b0180a556504e30cbdcd8fdfb7.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/mount.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 77e1231041b150b0180a556504e30cbdcd8fdfb7 X-VCS-Branch: next Date: Thu, 17 Dec 2015 18:52:24 +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: af7ed784-f331-405d-8c38-7d9beb3ab1b2 X-Archives-Hash: 4b7adef1a251a4933b455001ee65ecf8 commit: 77e1231041b150b0180a556504e30cbdcd8fdfb7 Author: Jason Zaman perfinion com> AuthorDate: Thu Dec 17 18:15:37 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Dec 17 18:51:56 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=77e12310 introduce mount_rw_pipes interface policy/modules/system/mount.if | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/policy/modules/system/mount.if b/policy/modules/system/mount.if index 8a2105b..279f6d7 100644 --- a/policy/modules/system/mount.if +++ b/policy/modules/system/mount.if @@ -209,3 +209,23 @@ interface(`mount_rw_loopback_files',` allow $1 mount_loopback_t:file rw_file_perms; ') + +# gentoo specific under here + +######################################## +## +## Read and write mount unnamed pipes +## +## +## +## Domain allowed access. +## +## +# +interface(`mount_rw_pipes',` + gen_require(` + type mount_t; + ') + + allow $1 mount_t:fifo_file rw_fifo_file_perms; +')