diff options
author | Badhri Jagan Sridharan <badhri@google.com> | 2022-04-07 17:21:15 -0700 |
---|---|---|
committer | Badhri Jagan Sridharan <badhri@google.com> | 2022-04-07 17:21:15 -0700 |
commit | 8606aa8a51d8d777289480de4a9be076817b6bc5 (patch) | |
tree | ddc976af3169cd4f157dbe4aab76c290a1282a09 | |
parent | 282c77a88fa3b10ff65ff566d6bfbf73199341aa (diff) | |
download | gs101-sepolicy-8606aa8a51d8d777289480de4a9be076817b6bc5.tar.gz |
Allow usb hal to read contaminantdisable property
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0"
dev="tmpfs" ino=367 scontext=u:r:hal_usb_impl:s0
tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0
Bug: 227792357
Change-Id: Id4d5ef7c214f0c0f672db28991b9fbe0152530b7
-rw-r--r-- | whitechapel/vendor/google/hal_usb_impl.te | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/whitechapel/vendor/google/hal_usb_impl.te b/whitechapel/vendor/google/hal_usb_impl.te index 6b6d19f..97ec1c7 100644 --- a/whitechapel/vendor/google/hal_usb_impl.te +++ b/whitechapel/vendor/google/hal_usb_impl.te @@ -23,3 +23,6 @@ hal_client_domain(hal_usb_impl, hal_thermal); # For reading the usb-c throttling stats 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); |