From b204558a731d6a6a79b701dc8d7c017f59e9af93 Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Fri, 10 Nov 2023 22:44:31 +0000 Subject: [PATCH] Removes duplicate hidraw_device type definition. This type is now defined by the platform. Bug: 303522222 Change-Id: Ia2f817ce99548c30f39a5164c8f6ec323db66155 Test: ls -z /dev/hidraw0 --- whitechapel_pro/device.te | 4 ---- whitechapel_pro/file_contexts | 3 --- 2 files changed, 7 deletions(-) diff --git a/whitechapel_pro/device.te b/whitechapel_pro/device.te index 93059b7f..446e2725 100644 --- a/whitechapel_pro/device.te +++ b/whitechapel_pro/device.te @@ -23,7 +23,3 @@ type fips_block_device, dev_type; # SecureElement SPI device type st54spi_device, dev_type; type st33spi_device, dev_type; - -# Raw HID device -type hidraw_device, dev_type; - diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index c7203b50..55bca671 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -222,6 +222,3 @@ /mnt/vendor/efs(/.*)? u:object_r:modem_efs_file:s0 /mnt/vendor/efs_backup(/.*)? u:object_r:modem_efs_file:s0 /mnt/vendor/modem_userdata(/.*)? u:object_r:modem_userdata_file:s0 - -# Raw HID device -/dev/hidraw[0-9]* u:object_r:hidraw_device:s0