From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-666225-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 67D4D138CE3
	for <garchives@archives.gentoo.org>; Sun,  9 Feb 2014 10:54:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2828FE0ADD;
	Sun,  9 Feb 2014 10:54:40 +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 2585DE0ADC
	for <gentoo-commits@lists.gentoo.org>; 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 5036D33F8BA
	for <gentoo-commits@lists.gentoo.org>; 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 2C8F518879
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2014 10:54:36 +0000 (UTC)
From: "Sven Vermeulen" <swift@gentoo.org>
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" <swift@gentoo.org>
Message-ID: <1391943164.d0d2ffe60be2a9fda03bcac8dabde1d51a67dff0.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: d0d2ffe60be2a9fda03bcac8dabde1d51a67dff0
X-VCS-Branch: master
Date: Sun,  9 Feb 2014 10:54:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: c10cacf6-6a74-4ae2-91c9-9ccc4a7841cf
X-Archives-Hash: 3b00972f1569268dd0eb278cd4e3fb53

commit:     d0d2ffe60be2a9fda03bcac8dabde1d51a67dff0
Author:     Chris PeBenito <pebenito <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 15:48:50 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 10:52:44 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d0d2ffe6

Move loop control interface definition.

---
 policy/modules/kernel/devices.if | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index b1c505f..41eb2ca 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -2397,44 +2397,44 @@ interface(`dev_rw_lirc',`
 
 ######################################
 ## <summary>
-##	Read and write the loop-control device.
+##	Automatic type transition to the type
+##	for lirc device nodes when created in /dev.
 ## </summary>
 ## <param name="domain">
 ##	<summary>
 ##	Domain allowed access.
 ##	</summary>
 ## </param>
+## <param name="name" optional="true">
+##	<summary>
+##	The name of the object being created.
+##	</summary>
+## </param>
 #
-interface(`dev_rw_loop_control',`
+interface(`dev_filetrans_lirc',`
 	gen_require(`
-		type device_t, loop_control_device_t;
+		type device_t, lirc_device_t;
 	')
 
-	rw_chr_files_pattern($1, device_t, loop_control_device_t)
+	filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
 ')
 
 ######################################
 ## <summary>
-##	Automatic type transition to the type
-##	for lirc device nodes when created in /dev.
+##	Read and write the loop-control device.
 ## </summary>
 ## <param name="domain">
 ##	<summary>
 ##	Domain allowed access.
 ##	</summary>
 ## </param>
-## <param name="name" optional="true">
-##	<summary>
-##	The name of the object being created.
-##	</summary>
-## </param>
 #
-interface(`dev_filetrans_lirc',`
+interface(`dev_rw_loop_control',`
 	gen_require(`
-		type device_t, lirc_device_t;
+		type device_t, loop_control_device_t;
 	')
 
-	filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
+	rw_chr_files_pattern($1, device_t, loop_control_device_t)
 ')
 
 ########################################