Chris PeBenito 0f3be6
Chris PeBenito e02c61
/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 e02c61
/dev/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 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 e02c61
/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 e02c61
/dev/kmem		-c	gen_context(system_u:object_r:memory_device_t,s0)
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 e02c61
/dev/mem		-c	gen_context(system_u:object_r:memory_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 e02c61
/dev/nvram		-c	gen_context(system_u:object_r:memory_device_t,s0)
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 e02c61
/dev/pmu		-c	gen_context(system_u:object_r:power_device_t,s0)
Chris PeBenito e02c61
/dev/port		-c	gen_context(system_u:object_r:memory_device_t,s0)
Chris PeBenito e02c61
/dev/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 e02c61
/dev/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 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 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 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 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 e02c61
/dev/s(ou)?nd/.*	-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 0f3be6
Chris PeBenito e02c61
/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 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
')