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 98D951393DD for ; Tue, 19 Aug 2014 20:07:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECE67E0810; Tue, 19 Aug 2014 20:07:34 +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 7B091E0810 for ; Tue, 19 Aug 2014 20:07:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A30BE33FEEF for ; Tue, 19 Aug 2014 20:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DABCC394B for ; Tue, 19 Aug 2014 20:07:30 +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: <1408478805.ff1afbaf2e0f1d8fd0b381167d735606024f29bc.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/fstools.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: ff1afbaf2e0f1d8fd0b381167d735606024f29bc X-VCS-Branch: master Date: Tue, 19 Aug 2014 20:07:30 +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: 3e59b802-4e0a-4b36-9dcc-985405e469d5 X-Archives-Hash: b91bb62f077c46d6a337acd4e1aff1cc commit: ff1afbaf2e0f1d8fd0b381167d735606024f29bc Author: Luis Ressel aixah de> AuthorDate: Mon Aug 11 13:33:17 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Aug 19 20:06:45 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=ff1afbaf system/fstools.if: Add fstools_use_fds interface --- policy/modules/system/fstools.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/policy/modules/system/fstools.if b/policy/modules/system/fstools.if index 016a770..c4bbd88 100644 --- a/policy/modules/system/fstools.if +++ b/policy/modules/system/fstools.if @@ -83,6 +83,24 @@ interface(`fstools_signal',` ######################################## ## +## Inherit fstools file descriptors. +## +## +## +## The type of the process performing this action. +## +## +# +interface(`fstools_use_fds',` + gen_require(` + type fsadm_t; + ') + + allow $1 fsadm_t:fd use; +') + +######################################## +## ## Read fstools unnamed pipes. ## ##