summaryrefslogtreecommitdiff
path: root/whitechapel/vendor/google/hal_usb_impl.te
diff options
context:
space:
mode:
Diffstat (limited to 'whitechapel/vendor/google/hal_usb_impl.te')
-rw-r--r--whitechapel/vendor/google/hal_usb_impl.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/whitechapel/vendor/google/hal_usb_impl.te b/whitechapel/vendor/google/hal_usb_impl.te
index 97ec1c7..cd2cbf8 100644
--- a/whitechapel/vendor/google/hal_usb_impl.te
+++ b/whitechapel/vendor/google/hal_usb_impl.te
@@ -26,3 +26,7 @@ allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
# For checking contaminant detection status
get_prop(hal_usb_impl, vendor_usb_config_prop);
+
+# For monitoring usb sysfs attributes
+allow hal_usb_impl sysfs_wakeup:dir search;
+allow hal_usb_impl sysfs_wakeup:file r_file_perms;