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:
parent
6bf3b733ac
commit
649f19fc94
2 changed files with 1 additions and 2 deletions
|
@ -1,2 +0,0 @@
|
|||
# b/267261163
|
||||
dontaudit hal_usb_impl dumpstate:fd { use };
|
1
vendor/hal_usb_impl.te
vendored
1
vendor/hal_usb_impl.te
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue