For virtd

Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
This commit is contained in:
Dominick Grift 2012-10-30 19:39:44 +01:00 committed by Chris PeBenito
parent 35bb8cbf62
commit 4c68e48950
1 changed files with 18 additions and 0 deletions

View File

@ -4165,6 +4165,24 @@ interface(`dev_read_generic_usb_dev',`
read_chr_files_pattern($1, device_t, usb_device_t)
')
########################################
## <summary>
## Relabel generic the USB devices.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`dev_relabel_generic_usb_dev',`
gen_require(`
type usb_device_t;
')
relabel_chr_files_pattern($1, device_t, usb_device_t)
')
########################################
## <summary>
## Read and write generic the USB devices.