From 38a2d8e58150e717f5f8d986c17b9401f85baa3d Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Sat, 8 Feb 2014 10:48:50 -0500 Subject: [PATCH] Move loop control interface definition. --- policy/modules/kernel/devices.if | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if index eb5a6c724..1884413eb 100644 --- a/policy/modules/kernel/devices.if +++ b/policy/modules/kernel/devices.if @@ -2376,24 +2376,6 @@ interface(`dev_rw_lirc',` rw_chr_files_pattern($1, device_t, lirc_device_t) ') -###################################### -## -## 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 @@ -2418,6 +2400,24 @@ interface(`dev_filetrans_lirc',` filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2) ') +###################################### +## +## 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) +') + ######################################## ## ## Get the attributes of the lvm comtrol device.