Declare a loop control device node type and label /dev/loop-control accordingly

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
Dominick Grift 2012-08-31 19:38:21 +02:00 committed by Chris PeBenito
parent 4a865b3830
commit d204c4cd07
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,7 @@
/dev/lirc[0-9]+ -c gen_context(system_u:object_r:lirc_device_t,s0)
/dev/lircm -c gen_context(system_u:object_r:mouse_device_t,s0)
/dev/logibm -c gen_context(system_u:object_r:mouse_device_t,s0)
/dev/loop-control -c gen_context(system_u:object_r:loop_control_device_t,s0)
/dev/lp.* -c gen_context(system_u:object_r:printer_device_t,s0)
/dev/mcelog -c gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
/dev/mei -c gen_context(system_u:object_r:mei_device_t,s0)

View File

@ -115,6 +115,9 @@ dev_node(kvm_device_t)
type lirc_device_t;
dev_node(lirc_device_t)
type loop_control_device_t;
dev_node(loop_control_device_t)
#
# Type for /dev/mapper/control
#