devices: Add type for /dev/daxX.Y.

Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
Chris PeBenito 2019-05-31 13:44:49 -04:00
parent f0e8bdbf50
commit 666b744714
2 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,7 @@
/dev/controlD64 -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
/dev/crash -c gen_context(system_u:object_r:crash_device_t,mls_systemhigh)
/dev/dahdi/.* -c gen_context(system_u:object_r:sound_device_t,s0)
/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/dsp.* -c gen_context(system_u:object_r:sound_device_t,s0)

View File

@ -82,6 +82,12 @@ dev_node(crash_device_t)
type crypt_device_t;
dev_node(crypt_device_t)
#
# Type for /dev/dax*.*
#
type dax_device_t;
dev_node(dax_device_t)
#
# dlm_misc_device_t is the type of /dev/misc/dlm.*
#