summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Tso <kyletso@google.com>2023-11-13 16:35:46 +0800
committerKyle Tso <kyletso@google.com>2023-11-23 08:33:04 +0000
commit5775ea074a067454fc26be1c97a35b0984542c9d (patch)
treeda62d49c2dbcdee1d01c41362b48a896e24c8ad4
parentedac582d400fd27218656fc83b5e172706c8d34a (diff)
downloadzuma-sepolicy-5775ea074a067454fc26be1c97a35b0984542c9d.tar.gz
hal_usb_impl: Add get_prop for vendor_usb_config_prop
avc: denied { read } for comm="android.hardwar" name="u:object_r:vendor_usb_config_prop:s0" dev="tmpfs" ino=391 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:vendor_usb_config_prop:s0 tclass=file permissive=0 Bug: 310560098 Change-Id: I86588715cae2696dd0e045c5b75dde55e0f84c1e Signed-off-by: Kyle Tso <kyletso@google.com>
-rw-r--r--vendor/hal_usb_impl.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/hal_usb_impl.te b/vendor/hal_usb_impl.te
index 27d7bdd..34ee19e 100644
--- a/vendor/hal_usb_impl.te
+++ b/vendor/hal_usb_impl.te
@@ -8,6 +8,7 @@ hal_server_domain(hal_usb_impl, hal_usb_gadget)
allow hal_usb_impl sysfs_batteryinfo:dir r_dir_perms;
allow hal_usb_impl sysfs_batteryinfo:file rw_file_perms;
allow hal_usb_impl dumpstate:fd use;
+get_prop(hal_usb_impl, vendor_usb_config_prop)
# Needed for monitoring usb port temperature
allow hal_usb_impl self:capability2 wake_alarm;