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 eac818
/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 8241b5
/dev/dmfm		-c	gen_context(system_u:object_r:sound_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 8708d9
/dev/em8300.*		-c	gen_context(system_u:object_r:v4l_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 d534d3
/dev/fw.*		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 465510
/dev/hiddev.*		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito d6d16b
/dev/hpet		-c	gen_context(system_u:object_r:clock_device_t,s0)
Chris PeBenito 3dbceb
/dev/hw_random		-c	gen_context(system_u:object_r:random_device_t,s0)
Chris PeBenito 465510
/dev/hwrng		-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 e070dd
/dev/kmem		-c	gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
Chris PeBenito d6d16b
/dev/kmsg		-c	gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
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 ecc98e
/dev/mcelog		-c	gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
Chris PeBenito e070dd
/dev/mem		-c	gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
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 e070dd
/dev/nvram		-c	gen_context(system_u:object_r:nvram_device_t,mls_systemhigh)
Chris PeBenito ecc98e
/dev/oldmem		-c	gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
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 e070dd
/dev/port		-c	gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
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 d6d16b
/dev/raw1394.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito 8241b5
/dev/(misc/)?rtc[0-9]*	-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 d6d16b
/dev/snapshot		-c	gen_context(system_u:object_r:apm_bios_t,s0)
Chris PeBenito e02c61
/dev/sndstat		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito ecc98e
/dev/sonypi		-c	gen_context(system_u:object_r:v4l_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 8241b5
/dev/usbmon[0-9]+	-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 465510
/dev/usbdev.*		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 8241b5
/dev/usb[0-9]+		-c	gen_context(system_u:object_r:usb_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 d592b6
/dev/watchdog		-c	gen_context(system_u:object_r:watchdog_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 d534d3
/dev/cmx.*		-c	gen_context(system_u:object_r:smartcard_device_t,s0)
Chris PeBenito d534d3
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 495df4
/dev/input/uinput	-c	gen_context(system_u:object_r:event_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 d9845a
/dev/xen/blktap.*	-c	gen_context(system_u:object_r:xen_device_t,s0)
Chris PeBenito a3cf80
/dev/xen/evtchn		-c	gen_context(system_u:object_r:xen_device_t,s0)
Chris PeBenito a3cf80
Chris PeBenito 8241b5
/etc/udev/devices -d	gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 8241b5
Chris PeBenito 8241b5
/lib/udev/devices -d	gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 8241b5
Chris PeBenito 13d7ce
ifdef(`distro_debian',`
Chris PeBenito 13d7ce
# used by udev init script as temporary mount point
Chris PeBenito 13d7ce
/lib/udev/devices	-d		gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 13d7ce
')
Chris PeBenito 13d7ce
Chris PeBenito e9b9e4
ifdef(`distro_gentoo',`
Chris PeBenito e9b9e4
# used by init scripts to initally populate udev /dev
Chris PeBenito e9b9e4
/lib/udev/devices/null	-c	gen_context(system_u:object_r:null_device_t,s0)
Chris PeBenito e9b9e4
/lib/udev/devices/zero	-c	gen_context(system_u:object_r:zero_device_t,s0)
Chris PeBenito e9b9e4
')
Chris PeBenito e9b9e4
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
')