Move loop control interface definition.

This commit is contained in:
Chris PeBenito 2014-02-08 10:48:50 -05:00
parent 7ac64b8a5a
commit 38a2d8e581
1 changed files with 18 additions and 18 deletions

View File

@ -2376,24 +2376,6 @@ interface(`dev_rw_lirc',`
rw_chr_files_pattern($1, device_t, lirc_device_t) rw_chr_files_pattern($1, device_t, lirc_device_t)
') ')
######################################
## <summary>
## Read and write the loop-control device.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')
###################################### ######################################
## <summary> ## <summary>
## Automatic type transition to the type ## 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) filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
') ')
######################################
## <summary>
## Read and write the loop-control device.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')
######################################## ########################################
## <summary> ## <summary>
## Get the attributes of the lvm comtrol device. ## Get the attributes of the lvm comtrol device.