Allow accessing dumpstate from hal_usb_impl

Fix SELinux errors.

Bug: 267261163
Change-Id: I73a311d796eb520ede3849edc6384c965ec5c915
Signed-off-by: Kyle Tso <kyletso@google.com>
This commit is contained in:
Kyle Tso 2023-05-03 11:23:52 +08:00
parent 6bf3b733ac
commit 649f19fc94
2 changed files with 1 additions and 2 deletions

View file

@ -1,2 +0,0 @@
# b/267261163
dontaudit hal_usb_impl dumpstate:fd { use };

View file

@ -7,6 +7,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;
# Needed for monitoring usb port temperature
allow hal_usb_impl self:capability2 wake_alarm;