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 678A11381F3 for ; Mon, 3 Dec 2012 09:36:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E03021C1D1; Mon, 3 Dec 2012 09:35:26 +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 3DD4721C1D1 for ; Mon, 3 Dec 2012 09:35:26 +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 F006133D953 for ; Mon, 3 Dec 2012 09:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 10759E5458 for ; Mon, 3 Dec 2012 09:35:22 +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: <1354527258.6fa9d73b6bc377111ff9d5af4f5c538b1344fcbe.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/mcs.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 6fa9d73b6bc377111ff9d5af4f5c538b1344fcbe X-VCS-Branch: master Date: Mon, 3 Dec 2012 09:35:22 +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: 20078601-2ba6-41b7-b5d5-bbe5e5067628 X-Archives-Hash: 7ddf01f72ea1c009af51feb1fae77b43 commit: 6fa9d73b6bc377111ff9d5af4f5c538b1344fcbe Author: Chris PeBenito tresys com> AuthorDate: Wed Nov 28 21:26:05 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Dec 3 09:34:18 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6fa9d73b Move mcs_constrained() impementation. --- policy/modules/kernel/mcs.if | 56 +++++++++++++++++++++--------------------- 1 files changed, 28 insertions(+), 28 deletions(-) diff --git a/policy/modules/kernel/mcs.if b/policy/modules/kernel/mcs.if index 508e609..b08a6e8 100644 --- a/policy/modules/kernel/mcs.if +++ b/policy/modules/kernel/mcs.if @@ -5,6 +5,34 @@ ######################################## ## +## Constrain by category access control (MCS). +## +## +##

+## Constrain the specified type by category based +## access control (MCS) This prevents this domain from +## interacting with subjects and operating on objects +## that it otherwise would be able to interact +## with or operate on respectively. +##

+##
+## +## +## Type to be constrained by MCS. +## +## +## +# +interface(`mcs_constrained',` + gen_require(` + attribute mcs_constrained_type; + ') + + typeattribute $1 mcs_constrained_type; +') + +######################################## +## ## This domain is allowed to read files and directories ## regardless of their MCS category set. ## @@ -102,31 +130,3 @@ interface(`mcs_process_set_categories',` typeattribute $1 mcssetcats; ') - -######################################## -## -## Constrain by category access control (MCS). -## -## -##

-## Constrain the specified type by category based -## access control (MCS) This prevents this domain from -## interacting with subjects and operating on objects -## that it otherwise would be able to interact -## with or operate on respectively. -##

-##
-## -## -## Type to be constrained by MCS. -## -## -## -# -interface(`mcs_constrained',` - gen_require(` - attribute mcs_constrained_type; - ') - - typeattribute $1 mcs_constrained_type; -')