diff --git a/policy/modules/kernel/devices.te b/policy/modules/kernel/devices.te index cd7977f97..c06a77ade 100644 --- a/policy/modules/kernel/devices.te +++ b/policy/modules/kernel/devices.te @@ -361,6 +361,7 @@ fs_pseudo_type(usbfs_t) genfscon usbfs / gen_context(system_u:object_r:usbfs_t,s0) genfscon usbdevfs / gen_context(system_u:object_r:usbfs_t,s0) genfscon functionfs / gen_context(system_u:object_r:usbfs_t,s0) +genfscon gadgetfs / gen_context(system_u:object_r:usbfs_t,s0) # # usb_device_t is the type for /dev/bus/usb/[0-9]+/[0-9]+ diff --git a/policy/modules/kernel/filesystem.te b/policy/modules/kernel/filesystem.te index 46b90d46e..f93c99408 100644 --- a/policy/modules/kernel/filesystem.te +++ b/policy/modules/kernel/filesystem.te @@ -336,7 +336,6 @@ genfscon lustre / gen_context(system_u:object_r:nfs_t,s0) genfscon ncpfs / gen_context(system_u:object_r:nfs_t,s0) genfscon reiserfs / gen_context(system_u:object_r:nfs_t,s0) genfscon panfs / gen_context(system_u:object_r:nfs_t,s0) -genfscon gadgetfs / gen_context(system_u:object_r:nfs_t,s0) ######################################## #