summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2023-11-30 23:27:49 +0000
committerAndroid Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-11-30 23:27:49 +0000
commit60940a7ad745d46e2d5bc7e9a5824759b952c082 (patch)
treeea48477e0ad6e0306161257567a6047e15e7f6be
parent7fabb8cee65cb82b32804a774426f5d1c0a7f0ce (diff)
downloadgs101-sepolicy-60940a7ad745d46e2d5bc7e9a5824759b952c082.tar.gz
Removes duplicate hidraw_device type definition.
This type is now defined by the platform. Bug: 303522222 Test: ls -z /dev/hidraw0 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e948bb326a518bd2f7f92410c4f2d0ae6f6d146a) Merged-In: I3e1fc7cb102fa9e9a80b8751eb0da505e3b3d69f Change-Id: I3e1fc7cb102fa9e9a80b8751eb0da505e3b3d69f
-rw-r--r--whitechapel/vendor/google/device.te3
-rw-r--r--whitechapel/vendor/google/file_contexts4
2 files changed, 0 insertions, 7 deletions
diff --git a/whitechapel/vendor/google/device.te b/whitechapel/vendor/google/device.te
index 17dede9..113cd5c 100644
--- a/whitechapel/vendor/google/device.te
+++ b/whitechapel/vendor/google/device.te
@@ -35,9 +35,6 @@ type vscaler_heap_device, dmabuf_heap_device_type, dev_type;
# Fingerprint device
type fingerprint_device, dev_type;
-# Raw HID device
-type hidraw_device, dev_type;
-
# SecureElement SPI device
type st54spi_device, dev_type;
type st33spi_device, dev_type;
diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts
index a8be48f..5903e37 100644
--- a/whitechapel/vendor/google/file_contexts
+++ b/whitechapel/vendor/google/file_contexts
@@ -372,7 +372,3 @@
/vendor/lib64/android\.frameworks\.stats-V1-ndk\.so u:object_r:same_process_hal_file:s0
/vendor/lib64/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0
/vendor/lib64/libprotobuf-cpp-lite-(\d+\.){2,3}so u:object_r:same_process_hal_file:s0
-
-# Raw HID device
-/dev/hidraw[0-9]* u:object_r:hidraw_device:s0
-