mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 10:27:24 +00:00
android.hardware.usb.IUsb AIDL migration am: 4cdd25b85a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin-sepolicy/+/18217629 Change-Id: I82b8f9b7bc95a1b4c88b67f0a53f7acae91ba24b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
a136a7c97a
3
vendor/google/file_contexts
vendored
3
vendor/google/file_contexts
vendored
@@ -1,4 +1,5 @@
|
||||
# vendor binaries
|
||||
/vendor/bin/hw/android\.hardware\.usb@1\.3-service\.redfin u:object_r:hal_usb_impl_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.usb-service\.redfin u:object_r:hal_usb_impl_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.usb\.gadget-service\.redfin u:object_r:hal_usb_gadget_impl_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.vibrator-service\.redfin u:object_r:hal_vibrator_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.dumpstate@1\.1-service\.redfin u:object_r:hal_dumpstate_impl_exec:s0
|
||||
|
||||
14
vendor/google/hal_usb_gadget_impl.te
vendored
Normal file
14
vendor/google/hal_usb_gadget_impl.te
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
type hal_usb_gadget_impl, domain;
|
||||
hal_server_domain(hal_usb_gadget_impl, hal_usb)
|
||||
hal_server_domain(hal_usb_gadget_impl, hal_usb_gadget)
|
||||
|
||||
type hal_usb_gadget_impl_exec, vendor_file_type, exec_type, file_type;
|
||||
init_daemon_domain(hal_usb_gadget_impl)
|
||||
|
||||
allow hal_usb_gadget_impl configfs:dir { create rmdir };
|
||||
allow hal_usb_gadget_impl functionfs:dir { watch watch_reads };
|
||||
set_prop(hal_usb_gadget_impl, vendor_usb_prop)
|
||||
|
||||
allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;
|
||||
allow hal_usb_gadget_impl sysfs_extcon:dir search;
|
||||
Reference in New Issue
Block a user