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 7b7620
/dev/[0-9].*		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 7b7620
/dev/3dfx		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito 02d968
/dev/admmidi.*		-c	gen_context(system_u:object_r:sound_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 7b7620
/dev/autofs.*		-c	gen_context(system_u:object_r:autofs_device_t,s0)
Chris PeBenito e02c61
/dev/beep		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 053517
/dev/btrfs-control	-c	gen_context(system_u:object_r:lvm_control_t,s0)
Chris PeBenito 731008
/dev/controlD64		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito 053517
/dev/dahdi/.*		-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 02d968
/dev/dmmidi.*		-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 7b7620
/dev/elographics/e2201	-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 8708d9
/dev/em8300.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito 053517
/dev/etherd/.+		-c	gen_context(system_u:object_r:lvm_control_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 7b7620
/dev/gfx		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito 7b7620
/dev/graphics		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito 7b7620
/dev/gtrsc.*		-c	gen_context(system_u:object_r:clock_device_t,s0)
Chris PeBenito 7b7620
/dev/hfmodem		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 465510
/dev/hiddev.*		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 02d968
/dev/hidraw.*		-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 7b7620
/dev/inportbm		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 7b7620
/dev/ipmi[0-9]+		-c	gen_context(system_u:object_r:ipmi_device_t,s0)
Chris PeBenito 7b7620
/dev/ipmi/[0-9]+	-c	gen_context(system_u:object_r:ipmi_device_t,s0)
Chris PeBenito a6a638
/dev/irlpt[0-9]+	-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito 7b7620
/dev/jbm		-c	gen_context(system_u:object_r:mouse_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 7b7620
/dev/kqemu		-c	gen_context(system_u:object_r:qemu_device_t,s0)
Chris PeBenito b51e8e
/dev/ksm		-c	gen_context(system_u:object_r:ksm_device_t,s0)
Chris PeBenito 7b7620
/dev/kvm		-c	gen_context(system_u:object_r:kvm_device_t,s0)
Chris PeBenito 7b7620
/dev/lik.*		-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito b51e8e
/dev/lirc[0-9]+		-c	gen_context(system_u:object_r:lirc_device_t,s0)
Chris PeBenito 02d968
/dev/lircm		-c	gen_context(system_u:object_r:mouse_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 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 7b7620
/dev/mergemem		-c	gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
Chris PeBenito 7b7620
/dev/mga_vid.*		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
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 053517
/dev/misc/dlm.*		-c	gen_context(system_u:object_r:dlm_control_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 b51e8e
/dev/modem		-c	gen_context(system_u:object_r:modem_device_t,s0)
Chris PeBenito e02c61
/dev/mpu401.*		-c	gen_context(system_u:object_r:sound_device_t,s0)
Chris PeBenito 7b7620
/dev/msr.*		-c	gen_context(system_u:object_r:cpu_device_t,s0)
Chris PeBenito fb7cad
/dev/net/vhost		-c	gen_context(system_u:object_r:vhost_device_t,s0)
Chris PeBenito 7b7620
/dev/network_latency	-c	gen_context(system_u:object_r:netcontrol_device_t,s0)
Chris PeBenito 7b7620
/dev/network_throughput	-c	gen_context(system_u:object_r:netcontrol_device_t,s0)
Chris PeBenito b51e8e
/dev/noz.* 		-c	gen_context(system_u:object_r:modem_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 7b7620
/dev/opengl		-c	gen_context(system_u:object_r:xserver_misc_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 7b7620
/dev/pc110pad		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 7b7620
/dev/pcfclock.*		-c	gen_context(system_u:object_r:clock_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 053517
/dev/pps.*		-c	gen_context(system_u:object_r:clock_device_t,s0)
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 b51e8e
/dev/rfkill		-c	gen_context(system_u:object_r:wireless_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 731008
/dev/tpm[0-9]*		-c	gen_context(system_u:object_r:tpm_device_t,s0)
Chris PeBenito 053517
/dev/uinput		-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito 053517
/dev/uio[0-9]+		-c	gen_context(system_u:object_r:userio_device_t,s0)
Chris PeBenito e02c61
/dev/urandom		-c	gen_context(system_u:object_r:urandom_device_t,s0)
Chris PeBenito 7b7620
/dev/ub[a-c]		-c	gen_context(system_u:object_r:usb_device_t,s0)
Chris PeBenito 7b7620
/dev/usb.+		-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 fb7cad
/dev/usbmon.+		-c	gen_context(system_u:object_r:usbmon_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 fb7cad
/dev/vhost-net		-c	gen_context(system_u:object_r:vhost_device_t,s0)
Chris PeBenito e02c61
/dev/vbi.*		-c	gen_context(system_u:object_r:v4l_device_t,s0)
Chris PeBenito b51e8e
/dev/vbox.*		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito b51e8e
/dev/vga_arbiter	-c	gen_context(system_u:object_r:xserver_misc_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 7b7620
/dev/vrtpanel		-c	gen_context(system_u:object_r:mouse_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 731008
/dev/card.*		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito d534d3
/dev/cmx.*		-c	gen_context(system_u:object_r:smartcard_device_t,s0)
Chris PeBenito d534d3
Chris PeBenito 7b7620
/dev/cpu_dma_latency	-c	gen_context(system_u:object_r:netcontrol_device_t,s0)
Chris PeBenito 7b7620
/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 11c944
/dev/biometric/sensor.*	-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito 7b7620
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 7b7620
/dev/input/.*		-c	gen_context(system_u:object_r:event_device_t,s0)
Chris PeBenito 7b7620
/dev/input/m.*		-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito e02c61
/dev/input/.*mouse.*	-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 7b7620
/dev/input/keyboard.*	-c	gen_context(system_u:object_r:event_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 fb7cad
/dev/mfpports/.*	-c	gen_context(system_u:object_r:printer_device_t,s0)
Chris PeBenito fb7cad
Chris PeBenito 7b7620
/dev/mvideo/.*		-c	gen_context(system_u:object_r:xserver_misc_device_t,s0)
Chris PeBenito 7b7620
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 7b7620
/dev/touchscreen/ucb1x00 -c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 7b7620
/dev/touchscreen/mk712	-c	gen_context(system_u:object_r:mouse_device_t,s0)
Chris PeBenito 7b7620
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 2999ce
/etc/udev/devices	-d	gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 8241b5
Dan Walsh 3eaa99
/lib/udev/devices(/.*)		gen_context(system_u:object_r:device_t,s0)
Chris PeBenito 13d7ce
Chris PeBenito e9b9e4
# used by init scripts to initally populate udev /dev
Dan Walsh 3eaa99
/lib/udev/devices/lp.*		-c	gen_context(system_u:object_r:printer_device_t,s0)
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 d83fda
ifdef(`distro_redhat',`
Chris PeBenito d83fda
# originally from named.fc
Chris PeBenito b51e8e
/var/named/chroot/dev	-d	gen_context(system_u:object_r:device_t,s0)
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
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
# /sys
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
/sys(/.*)?			gen_context(system_u:object_r:sysfs_t,s0)