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 09D97138CE3 for ; Sun, 9 Feb 2014 10:54:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98DD5E0AEB; Sun, 9 Feb 2014 10:54:44 +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 14EFBE0AE9 for ; Sun, 9 Feb 2014 10:54:39 +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 3990733F8AF for ; Sun, 9 Feb 2014 10:54:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id A277118852 for ; Sun, 9 Feb 2014 10:54:35 +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: <1391943155.d12bed7c1a2136edf8fc856c91d262e1d2725ca5.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/devices.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d12bed7c1a2136edf8fc856c91d262e1d2725ca5 X-VCS-Branch: master Date: Sun, 9 Feb 2014 10:54:35 +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: d04cf680-b3eb-4992-86e6-053688e15d49 X-Archives-Hash: 67b13de1e3b8504bfdd42818852d5352 commit: d12bed7c1a2136edf8fc856c91d262e1d2725ca5 Author: Luis Ressel aixah de> AuthorDate: Sat Feb 1 13:50:21 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Feb 9 10:52:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d12bed7c kernel/devices.if: Add dev_rw_loop_control interface --- policy/modules/kernel/devices.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if index 58ab7e9..b1c505f 100644 --- a/policy/modules/kernel/devices.if +++ b/policy/modules/kernel/devices.if @@ -2397,6 +2397,24 @@ interface(`dev_rw_lirc',` ###################################### ## +## Read and write the loop-control device. +## +## +## +## Domain allowed access. +## +## +# +interface(`dev_rw_loop_control',` + gen_require(` + type device_t, loop_control_device_t; + ') + + rw_chr_files_pattern($1, device_t, loop_control_device_t) +') + +###################################### +## ## Automatic type transition to the type ## for lirc device nodes when created in /dev. ##