diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if index e401bd77b8..aaa5807bb2 100644 --- a/policy/modules/kernel/devices.if +++ b/policy/modules/kernel/devices.if @@ -4864,10 +4864,10 @@ interface(`dev_rw_tpm',` # interface(`dev_rw_uhid',` gen_require(` - type uhid_device_t; + type device_t, uhid_device_t; ') - allow $1 uhid_device_t:chr_file rw_chr_file_perms; + rw_chr_files_pattern($1, device_t, uhid_device_t) ') ########################################