2005-05-10 15:31:48 +00:00
|
|
|
|
2006-04-17 17:54:57 +00:00
|
|
|
/dev -d gen_context(system_u:object_r:device_t,s0)
|
|
|
|
/dev/.* gen_context(system_u:object_r:device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/.*mouse.* -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/[0-9].* -c gen_context(system_u:object_r:usb_device_t,s0)
|
|
|
|
/dev/3dfx -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
2007-12-12 15:55:21 +00:00
|
|
|
/dev/admmidi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-09-01 15:52:05 +00:00
|
|
|
/dev/adsp.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-02-01 16:34:54 +00:00
|
|
|
/dev/(misc/)?agpgart -c gen_context(system_u:object_r:agp_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/aload.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/amidi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/amixer.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/apm_bios -c gen_context(system_u:object_r:apm_bios_t,s0)
|
|
|
|
/dev/atibm -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/audio.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/autofs.* -c gen_context(system_u:object_r:autofs_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/beep -c gen_context(system_u:object_r:sound_device_t,s0)
|
2007-09-05 17:55:57 +00:00
|
|
|
/dev/dmfm -c gen_context(system_u:object_r:sound_device_t,s0)
|
2007-12-12 15:55:21 +00:00
|
|
|
/dev/dmmidi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/dsp.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-02-27 16:23:39 +00:00
|
|
|
/dev/efirtc -c gen_context(system_u:object_r:clock_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/elographics/e2201 -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2006-09-22 17:14:35 +00:00
|
|
|
/dev/em8300.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2006-03-21 15:42:30 +00:00
|
|
|
/dev/event.* -c gen_context(system_u:object_r:event_device_t,s0)
|
2006-03-23 19:19:38 +00:00
|
|
|
/dev/evtchn -c gen_context(system_u:object_r:xen_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/fb[0-9]* -c gen_context(system_u:object_r:framebuf_device_t,s0)
|
|
|
|
/dev/full -c gen_context(system_u:object_r:null_device_t,s0)
|
2007-06-11 15:01:10 +00:00
|
|
|
/dev/fw.* -c gen_context(system_u:object_r:usb_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/gfx -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
|
|
|
/dev/graphics -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
|
|
|
/dev/gtrsc.* -c gen_context(system_u:object_r:clock_device_t,s0)
|
|
|
|
/dev/hfmodem -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-07-28 15:13:58 +00:00
|
|
|
/dev/hiddev.* -c gen_context(system_u:object_r:usb_device_t,s0)
|
2007-12-12 15:55:21 +00:00
|
|
|
/dev/hidraw.* -c gen_context(system_u:object_r:usb_device_t,s0)
|
2006-12-04 20:10:56 +00:00
|
|
|
/dev/hpet -c gen_context(system_u:object_r:clock_device_t,s0)
|
2006-03-21 15:42:30 +00:00
|
|
|
/dev/hw_random -c gen_context(system_u:object_r:random_device_t,s0)
|
2006-07-28 15:13:58 +00:00
|
|
|
/dev/hwrng -c gen_context(system_u:object_r:random_device_t,s0)
|
2006-03-21 15:42:30 +00:00
|
|
|
/dev/i915 -c gen_context(system_u:object_r:dri_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/inportbm -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/ipmi[0-9]+ -c gen_context(system_u:object_r:ipmi_device_t,s0)
|
|
|
|
/dev/ipmi/[0-9]+ -c gen_context(system_u:object_r:ipmi_device_t,s0)
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/irlpt[0-9]+ -c gen_context(system_u:object_r:printer_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/jbm -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/js.* -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2006-10-04 17:25:34 +00:00
|
|
|
/dev/kmem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
2006-12-04 20:10:56 +00:00
|
|
|
/dev/kmsg -c gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/kqemu -c gen_context(system_u:object_r:qemu_device_t,s0)
|
|
|
|
/dev/kvm -c gen_context(system_u:object_r:kvm_device_t,s0)
|
|
|
|
/dev/lik.* -c gen_context(system_u:object_r:event_device_t,s0)
|
2007-12-12 15:55:21 +00:00
|
|
|
/dev/lircm -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/logibm -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/lp.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
2007-03-01 15:43:39 +00:00
|
|
|
/dev/mcelog -c gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
|
2006-10-04 17:25:34 +00:00
|
|
|
/dev/mem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/mergemem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
|
|
|
/dev/mga_vid.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
2006-03-21 15:42:30 +00:00
|
|
|
/dev/mice -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/microcode -c gen_context(system_u:object_r:cpu_device_t,s0)
|
|
|
|
/dev/midi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/mixer.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/mmetfgrab -c gen_context(system_u:object_r:scanner_device_t,s0)
|
|
|
|
/dev/mpu401.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/msr.* -c gen_context(system_u:object_r:cpu_device_t,s0)
|
|
|
|
/dev/network_latency -c gen_context(system_u:object_r:netcontrol_device_t,s0)
|
|
|
|
/dev/network_throughput -c gen_context(system_u:object_r:netcontrol_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/null -c gen_context(system_u:object_r:null_device_t,s0)
|
|
|
|
/dev/nvidia.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
2006-10-04 17:25:34 +00:00
|
|
|
/dev/nvram -c gen_context(system_u:object_r:nvram_device_t,mls_systemhigh)
|
2007-03-01 15:43:39 +00:00
|
|
|
/dev/oldmem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/opengl -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/par.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
|
|
|
/dev/patmgr[01] -c gen_context(system_u:object_r:sound_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/pc110pad -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/pcfclock.* -c gen_context(system_u:object_r:clock_device_t,s0)
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/pmu -c gen_context(system_u:object_r:power_device_t,s0)
|
2006-10-04 17:25:34 +00:00
|
|
|
/dev/port -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
2006-02-01 16:34:54 +00:00
|
|
|
/dev/(misc/)?psaux -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/rmidi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/radeon -c gen_context(system_u:object_r:dri_device_t,s0)
|
|
|
|
/dev/radio.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
|
|
|
/dev/random -c gen_context(system_u:object_r:random_device_t,s0)
|
2006-12-04 20:10:56 +00:00
|
|
|
/dev/raw1394.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2007-09-05 17:55:57 +00:00
|
|
|
/dev/(misc/)?rtc[0-9]* -c gen_context(system_u:object_r:clock_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/sequencer -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/sequencer2 -c gen_context(system_u:object_r:sound_device_t,s0)
|
|
|
|
/dev/smpte.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/smu -c gen_context(system_u:object_r:power_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/srnd[0-7] -c gen_context(system_u:object_r:sound_device_t,s0)
|
2006-12-04 20:10:56 +00:00
|
|
|
/dev/snapshot -c gen_context(system_u:object_r:apm_bios_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/sndstat -c gen_context(system_u:object_r:sound_device_t,s0)
|
2007-03-01 15:43:39 +00:00
|
|
|
/dev/sonypi -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/tlk[0-3] -c gen_context(system_u:object_r:v4l_device_t,s0)
|
|
|
|
/dev/urandom -c gen_context(system_u:object_r:urandom_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/ub[a-c] -c gen_context(system_u:object_r:usb_device_t,s0)
|
|
|
|
/dev/usb.+ -c gen_context(system_u:object_r:usb_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/usblp.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
ifdef(`distro_suse', `
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/usbscanner -c gen_context(system_u:object_r:scanner_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
')
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/vbi.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/vboxadd.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/vmmon -c gen_context(system_u:object_r:vmware_device_t,s0)
|
|
|
|
/dev/vmnet.* -c gen_context(system_u:object_r:vmware_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/video.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/vrtpanel -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/vttuner -c gen_context(system_u:object_r:v4l_device_t,s0)
|
|
|
|
/dev/vtx.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
2006-04-28 20:20:40 +00:00
|
|
|
/dev/watchdog -c gen_context(system_u:object_r:watchdog_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/winradio. -c gen_context(system_u:object_r:v4l_device_t,s0)
|
|
|
|
/dev/z90crypt -c gen_context(system_u:object_r:crypt_device_t,s0)
|
|
|
|
/dev/zero -c gen_context(system_u:object_r:zero_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-02-13 22:05:08 +00:00
|
|
|
/dev/bus/usb/.*/[0-9]+ -c gen_context(system_u:object_r:usb_device_t,s0)
|
|
|
|
|
2007-06-11 15:01:10 +00:00
|
|
|
/dev/cmx.* -c gen_context(system_u:object_r:smartcard_device_t,s0)
|
|
|
|
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/cpu_dma_latency -c gen_context(system_u:object_r:netcontrol_device_t,s0)
|
|
|
|
/dev/cpu.* -c gen_context(system_u:object_r:cpu_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/cpu/mtrr -c gen_context(system_u:object_r:mtrr_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2009-03-05 17:46:22 +00:00
|
|
|
/dev/biometric/sensor.* -c gen_context(system_u:object_r:event_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/dri/.+ -c gen_context(system_u:object_r:dri_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-04-12 15:04:28 +00:00
|
|
|
/dev/dvb/.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
|
|
|
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/input/.* -c gen_context(system_u:object_r:event_device_t,s0)
|
|
|
|
/dev/input/m.* -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/input/.*mouse.* -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/input/keyboard.* -c gen_context(system_u:object_r:event_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/input/event.* -c gen_context(system_u:object_r:event_device_t,s0)
|
|
|
|
/dev/input/mice -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/input/js.* -c gen_context(system_u:object_r:mouse_device_t,s0)
|
2007-10-29 18:35:32 +00:00
|
|
|
/dev/input/uinput -c gen_context(system_u:object_r:event_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/mapper/control -c gen_context(system_u:object_r:lvm_control_t,s0)
|
2005-05-13 15:03:19 +00:00
|
|
|
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/mvideo/.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
|
|
|
|
2005-05-18 21:02:15 +00:00
|
|
|
/dev/pts(/.*)? <<none>>
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/s(ou)?nd/.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
2005-05-10 15:31:48 +00:00
|
|
|
|
2009-03-05 15:36:41 +00:00
|
|
|
/dev/touchscreen/ucb1x00 -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
/dev/touchscreen/mk712 -c gen_context(system_u:object_r:mouse_device_t,s0)
|
|
|
|
|
2006-04-26 18:18:15 +00:00
|
|
|
/dev/usb/dc2xx.* -c gen_context(system_u:object_r:scanner_device_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/dev/usb/lp.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
|
|
|
/dev/usb/mdc800.* -c gen_context(system_u:object_r:scanner_device_t,s0)
|
|
|
|
/dev/usb/scanner.* -c gen_context(system_u:object_r:scanner_device_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
|
2006-10-31 21:01:48 +00:00
|
|
|
/dev/xen/blktap.* -c gen_context(system_u:object_r:xen_device_t,s0)
|
2006-03-23 19:19:38 +00:00
|
|
|
/dev/xen/evtchn -c gen_context(system_u:object_r:xen_device_t,s0)
|
|
|
|
|
2007-11-14 20:12:44 +00:00
|
|
|
/etc/udev/devices -d gen_context(system_u:object_r:device_t,s0)
|
2007-09-05 17:55:57 +00:00
|
|
|
|
2007-11-14 20:12:44 +00:00
|
|
|
/lib/udev/devices -d gen_context(system_u:object_r:device_t,s0)
|
2006-09-04 18:22:12 +00:00
|
|
|
|
2006-08-18 18:20:22 +00:00
|
|
|
ifdef(`distro_gentoo',`
|
|
|
|
# used by init scripts to initally populate udev /dev
|
|
|
|
/lib/udev/devices/null -c gen_context(system_u:object_r:null_device_t,s0)
|
|
|
|
/lib/udev/devices/zero -c gen_context(system_u:object_r:zero_device_t,s0)
|
|
|
|
')
|
|
|
|
|
2005-08-23 17:26:19 +00:00
|
|
|
ifdef(`distro_redhat',`
|
|
|
|
# originally from named.fc
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/named/chroot/dev/null -c gen_context(system_u:object_r:null_device_t,s0)
|
|
|
|
/var/named/chroot/dev/random -c gen_context(system_u:object_r:random_device_t,s0)
|
|
|
|
/var/named/chroot/dev/zero -c gen_context(system_u:object_r:zero_device_t,s0)
|
2005-08-23 17:26:19 +00:00
|
|
|
')
|