devices: Add type for infiniband devices.

Signed-off-by: Chris PeBenito <Christopher.PeBenito@microsoft.com>
This commit is contained in:
Chris PeBenito 2022-05-23 14:42:58 +00:00 committed by Chris PeBenito
parent f8739276a5
commit a4f4bc6fb8
2 changed files with 8 additions and 0 deletions

View File

@ -165,6 +165,8 @@ ifdef(`distro_suse', `
/dev/dvb/.* -c gen_context(system_u:object_r:v4l_device_t,s0)
/dev/infiniband/.* -c gen_context(system_u:object_r:infiniband_device_t,s0)
/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)
/dev/input/.*mouse.* -c gen_context(system_u:object_r:mouse_device_t,s0)

View File

@ -122,6 +122,12 @@ dev_node(freefall_device_t)
type gpiochip_device_t;
dev_node(gpiochip_device_t)
#
# Type for /dev/infiniband/*
#
type infiniband_device_t;
dev_node(infiniband_device_t)
#
# Type for /dev/ipmi/0
#