Merge "Add heapprofd selinux config."

am: d5c62bfb41

Change-Id: Ie33eefd304941d2d4553eb35a91e174b2c3c859d
This commit is contained in:
Florian Mayer 2018-10-15 14:21:32 -07:00 committed by android-build-merger
commit 40144ea2af
6 changed files with 17 additions and 0 deletions

View file

@ -87,6 +87,9 @@
hal_usb_gadget_hwservice
hal_vehicle_hwservice
hal_wifi_offload_hwservice
heapprofd
heapprofd_exec
heapprofd_socket
incident_helper
incident_helper_exec
iorapd

View file

@ -78,6 +78,9 @@
hal_usb_gadget_hwservice
hal_vehicle_hwservice
hal_wifi_hostapd_hwservice
heapprofd
heapprofd_exec
heapprofd_socket
incident_helper
incident_helper_exec
iorapd

View file

@ -26,6 +26,9 @@
hal_system_suspend_default
hal_system_suspend_default_exec
hal_system_suspend_default_tmpfs
heapprofd
heapprofd_exec
heapprofd_socket
llkd
llkd_exec
llkd_prop

View file

@ -158,6 +158,7 @@
/dev/socket/tombstoned_intercept u:object_r:tombstoned_intercept_socket:s0
/dev/socket/traced_producer u:object_r:traced_producer_socket:s0
/dev/socket/traced_consumer u:object_r:traced_consumer_socket:s0
/dev/socket/heapprofd u:object_r:heapprofd_socket:s0
/dev/socket/uncrypt u:object_r:uncrypt_socket:s0
/dev/socket/wpa_eth[0-9] u:object_r:wpa_socket:s0
/dev/socket/wpa_wlan[0-9] u:object_r:wpa_socket:s0
@ -263,6 +264,7 @@
/system/bin/perfetto u:object_r:perfetto_exec:s0
/system/bin/traced u:object_r:traced_exec:s0
/system/bin/traced_probes u:object_r:traced_probes_exec:s0
/system/bin/heapprofd u:object_r:heapprofd_exec:s0
/system/bin/uncrypt u:object_r:uncrypt_exec:s0
/system/bin/update_verifier u:object_r:update_verifier_exec:s0
/system/bin/logwrapper u:object_r:system_file:s0

5
private/heapprofd.te Normal file
View file

@ -0,0 +1,5 @@
# Android Heap Profiler Daemon go/heapprofd
type heapprofd, domain, coredomain;
type heapprofd_exec, exec_type, file_type, system_file_type;
init_daemon_domain(heapprofd)

View file

@ -386,6 +386,7 @@ type traced_consumer_socket, file_type, coredomain_socket;
type uncrypt_socket, file_type, coredomain_socket;
type wpa_socket, file_type, data_file_type, core_data_file_type;
type zygote_socket, file_type, coredomain_socket;
type heapprofd_socket, file_type, coredomain_socket;
# UART (for GPS) control proc file
type gps_control, file_type;