Chris PeBenito 0f3be6
Chris PeBenito abc73a
/dev			-d	gen_context(system_u:object_r:device_t,s0)
Chris PeBenito abc73a
/dev/.*				gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito e02c61
/dev/.*mouse.*		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/adsp		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 8ff553
/dev/(misc/)?agpgart	-c	gen_context(system_u:object_r:agp_device_t,s0)
Chris PeBenito e02c61
/dev/aload.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/amidi.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/amixer.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/apm_bios		-c	gen_context(system_u:object_r:apm_bios_t,s0)
Chris PeBenito e02c61
/dev/atibm		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/audio.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/beep		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/console		-c	gen_context(system_u:object_r:console_device_t,s0)
Chris PeBenito e02c61
/dev/dsp.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 0f27d9
/dev/efirtc		-c	gen_context(system_u:object_r:clock_device_t,s0)
Chris PeBenito 3dbceb
/dev/event.*		-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito a3cf80
/dev/evtchn		-c	gen_context(system_u:object_r:xen_device_t,s0)
Chris PeBenito e02c61
/dev/fb[0-9]*		-c	gen_context(system_u:object_r:framebuf_device_t,s0)
Chris PeBenito e02c61
/dev/full		-c	gen_context(system_u:object_r:null_device_t,s0)
Chris PeBenito 3dbceb
/dev/hw_random		-c	gen_context(system_u:object_r:random_device_t,s0)
Chris PeBenito 3dbceb
/dev/i915		-c	gen_context(system_u:object_r:dri_device_t,s0)
Chris PeBenito a6a638
/dev/irlpt[0-9]+	-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito e02c61
/dev/js.*		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito bf080a
/dev/kmem		-c	gen_context(system_u:object_r:memory_device_t,s15:c0.c255)
Chris PeBenito e02c61
/dev/logibm		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/lp.*		-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito a6a638
/dev/mem		-c	gen_context(system_u:object_r:memory_device_t,s15:c0.c255)
Chris PeBenito 3dbceb
/dev/mice		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/microcode		-c	gen_context(system_u:object_r:cpu_device_t,s0)
Chris PeBenito e02c61
/dev/midi.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/mixer.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/mmetfgrab		-c	gen_context(system_u:object_r:scanner_device_t,s0)
Chris PeBenito e02c61
/dev/mpu401.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/null		-c	gen_context(system_u:object_r:null_device_t,s0)
Chris PeBenito e02c61
/dev/nvidia.*		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito bf080a
/dev/nvram		-c	gen_context(system_u:object_r:memory_device_t,s15:c0.c255)
Chris PeBenito e02c61
/dev/par.*		-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito e02c61
/dev/patmgr[01]		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito a6a638
/dev/pmu		-c	gen_context(system_u:object_r:power_device_t,s0)
Chris PeBenito bf080a
/dev/port		-c	gen_context(system_u:object_r:memory_device_t,s15:c0.c255)
Chris PeBenito 8ff553
/dev/(misc/)?psaux	-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/rmidi.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/radeon		-c	gen_context(system_u:object_r:dri_device_t,s0)
Chris PeBenito e02c61
/dev/radio.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/random		-c	gen_context(system_u:object_r:random_device_t,s0)
Chris PeBenito a6a638
/dev/(misc/)?rtc	-c	gen_context(system_u:object_r:clock_device_t,s0)
Chris PeBenito e02c61
/dev/sequencer		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/sequencer2		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/smpte.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito a6a638
/dev/smu		-c	gen_context(system_u:object_r:power_device_t,s0)
Chris PeBenito e02c61
/dev/srnd[0-7]		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/sndstat		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito e02c61
/dev/tlk[0-3]		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/urandom		-c	gen_context(system_u:object_r:urandom_device_t,s0)
Chris PeBenito e02c61
/dev/usblp.*		-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito 0f3be6
ifdef(`distro_suse', `
Chris PeBenito e02c61
/dev/usbscanner		-c	gen_context(system_u:object_r:scanner_device_t,s0)
Chris PeBenito 0f3be6
')
Chris PeBenito e02c61
/dev/vbi.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito a6a638
/dev/vmmon		-c	gen_context(system_u:object_r:vmware_device_t,s0)
Chris PeBenito a6a638
/dev/vmnet.*		-c	gen_context(system_u:object_r:vmware_device_t,s0)
Chris PeBenito e02c61
/dev/video.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/vttuner		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/vtx.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/winradio.		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito e02c61
/dev/z90crypt		-c	gen_context(system_u:object_r:crypt_device_t,s0)
Chris PeBenito e02c61
/dev/zero		-c	gen_context(system_u:object_r:zero_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito b0d224
/dev/bus/usb/.*/[0-9]+	-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito b0d224
Chris PeBenito e02c61
/dev/cpu/.*		-c	gen_context(system_u:object_r:cpu_device_t,s0)
Chris PeBenito e02c61
/dev/cpu/mtrr		-c	gen_context(system_u:object_r:mtrr_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito e02c61
/dev/dri/.+		-c	gen_context(system_u:object_r:dri_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito 8cfa5a
/dev/dvb/.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito 8cfa5a
Chris PeBenito e02c61
/dev/input/.*mouse.*	-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/input/event.*	-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito e02c61
/dev/input/mice		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/input/js.*		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito e02c61
/dev/mapper/control	-c	gen_context(system_u:object_r:lvm_control_t,s0)
Chris PeBenito 24a7ae
Chris PeBenito bee546
/dev/pts(/.*)?			<<none>>
Chris PeBenito 0f3be6
Chris PeBenito a6a638
/dev/s(ou)?nd/.*	-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito a6a638
/dev/usb/dc2xx.*	-c	gen_context(system_u:object_r:scanner_device_t,s0)
Chris PeBenito e02c61
/dev/usb/lp.*		-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito e02c61
/dev/usb/mdc800.*	-c	gen_context(system_u:object_r:scanner_device_t,s0)
Chris PeBenito e02c61
/dev/usb/scanner.*	-c	gen_context(system_u:object_r:scanner_device_t,s0)
Chris PeBenito d83fda
Chris PeBenito a3cf80
/dev/xen/evtchn		-c	gen_context(system_u:object_r:xen_device_t,s0)
Chris PeBenito a3cf80
Chris PeBenito d83fda
ifdef(`distro_redhat',`
Chris PeBenito d83fda
# originally from named.fc
Chris PeBenito e02c61
/var/named/chroot/dev/null -c	gen_context(system_u:object_r:null_device_t,s0)
Chris PeBenito e02c61
/var/named/chroot/dev/random -c	gen_context(system_u:object_r:random_device_t,s0)
Chris PeBenito e02c61
/var/named/chroot/dev/zero -c	gen_context(system_u:object_r:zero_device_t,s0)
Chris PeBenito d83fda
')