Merge pull request #198 from dsugar100/label_devices
This commit is contained in:
commit
3fb1dd3622
@ -24,6 +24,7 @@
|
||||
/dev/dax[0-9]\.[0-9] -c gen_context(system_u:object_r:dax_device_t,mls_systemhigh)
|
||||
/dev/dmfm -c gen_context(system_u:object_r:sound_device_t,s0)
|
||||
/dev/dmmidi.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
||||
/dev/drm_dp_aux[0-9]* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
/dev/dsp.* -c gen_context(system_u:object_r:sound_device_t,s0)
|
||||
/dev/efirtc -c gen_context(system_u:object_r:clock_device_t,s0)
|
||||
/dev/elographics/e2201 -c gen_context(system_u:object_r:mouse_device_t,s0)
|
||||
@ -32,6 +33,7 @@
|
||||
/dev/event.* -c gen_context(system_u:object_r:event_device_t,s0)
|
||||
/dev/evtchn -c gen_context(system_u:object_r:xen_device_t,s0)
|
||||
/dev/fb[0-9]* -c gen_context(system_u:object_r:framebuf_device_t,s0)
|
||||
/dev/freefall -c gen_context(system_u:object_r:freefall_device_t,s0)
|
||||
/dev/full -c gen_context(system_u:object_r:null_device_t,s0)
|
||||
/dev/fw.* -c gen_context(system_u:object_r:usb_device_t,s0)
|
||||
/dev/gfx -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
@ -63,7 +65,7 @@
|
||||
/dev/loop-control -c gen_context(system_u:object_r:loop_control_device_t,s0)
|
||||
/dev/lp.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
||||
/dev/mcelog -c gen_context(system_u:object_r:kmsg_device_t,mls_systemhigh)
|
||||
/dev/mei -c gen_context(system_u:object_r:mei_device_t,s0)
|
||||
/dev/mei[0-9]* -c gen_context(system_u:object_r:mei_device_t,s0)
|
||||
/dev/mem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
||||
/dev/memory_bandwidth -c gen_context(system_u:object_r:pmqos_device_t,s0)
|
||||
/dev/mergemem -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
||||
@ -94,6 +96,7 @@
|
||||
/dev/pmu -c gen_context(system_u:object_r:power_device_t,s0)
|
||||
/dev/port -c gen_context(system_u:object_r:memory_device_t,mls_systemhigh)
|
||||
/dev/pps.* -c gen_context(system_u:object_r:clock_device_t,s0)
|
||||
/dev/ptp[0-9]* -c gen_context(system_u:object_r:clock_device_t,s0)
|
||||
/dev/(misc/)?psaux -c gen_context(system_u:object_r:mouse_device_t,s0)
|
||||
/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)
|
||||
@ -119,21 +122,23 @@
|
||||
/dev/uio[0-9]+ -c gen_context(system_u:object_r:userio_device_t,s0)
|
||||
/dev/urandom -c gen_context(system_u:object_r:urandom_device_t,s0)
|
||||
/dev/ub[a-c] -c gen_context(system_u:object_r:usb_device_t,s0)
|
||||
/dev/uhid -c gen_context(system_u:object_r:uhid_device_t,s0)
|
||||
/dev/usb.+ -c gen_context(system_u:object_r:usb_device_t,s0)
|
||||
/dev/usblp.* -c gen_context(system_u:object_r:printer_device_t,s0)
|
||||
/dev/usbmon.+ -c gen_context(system_u:object_r:usbmon_device_t,s0)
|
||||
ifdef(`distro_suse', `
|
||||
/dev/usbscanner -c gen_context(system_u:object_r:scanner_device_t,s0)
|
||||
')
|
||||
/dev/vfio/.+ -c gen_context(system_u:object_r:vfio_device_t,s0)
|
||||
/dev/vhost-net -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vhost-scsi -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vbi.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
||||
/dev/vbox.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
/dev/vfio/.+ -c gen_context(system_u:object_r:vfio_device_t,s0)
|
||||
/dev/vga_arbiter -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
/dev/vhci -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vhost-net -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vhost-scsi -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/video.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
||||
/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)
|
||||
/dev/video.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
||||
/dev/vrtpanel -c gen_context(system_u:object_r:mouse_device_t,s0)
|
||||
/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)
|
||||
@ -186,6 +191,8 @@ ifdef(`distro_suse', `
|
||||
/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)
|
||||
|
||||
/dev/wmi/dell-smbios -c gen_context(system_u:object_r:acpi_bios_t,s0)
|
||||
|
||||
/dev/xen/blktap.* -c gen_context(system_u:object_r:xen_device_t,s0)
|
||||
/dev/xen/evtchn -c gen_context(system_u:object_r:xen_device_t,s0)
|
||||
/dev/xen/gntdev -c gen_context(system_u:object_r:xen_device_t,s0)
|
||||
|
@ -106,6 +106,12 @@ dev_node(event_device_t)
|
||||
type framebuf_device_t;
|
||||
dev_node(framebuf_device_t)
|
||||
|
||||
#
|
||||
# Type for Dell (others?) freefall detection device /dev/freefall
|
||||
#
|
||||
type freefall_device_t;
|
||||
dev_node(freefall_device_t)
|
||||
|
||||
#
|
||||
# Type for GPIO chip /dev/gpiochip*
|
||||
#
|
||||
@ -272,6 +278,13 @@ dev_node(tee_priv_device_t)
|
||||
type tpm_device_t;
|
||||
dev_node(tpm_device_t)
|
||||
|
||||
#
|
||||
# uhid_device_t is the thpe of /dev/uhid -
|
||||
# User-space I/O driver support for HID subsystem
|
||||
#
|
||||
type uhid_device_t;
|
||||
dev_node(uhid_device_t)
|
||||
|
||||
#
|
||||
# urandom_device_t is the type of /dev/urandom
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user