diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if index 76f285ea6..eb5a6c724 100644 --- a/policy/modules/kernel/devices.if +++ b/policy/modules/kernel/devices.if @@ -2376,6 +2376,24 @@ 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