Remove rules for binary that is not on the device.

This was removed from the device in
I9b3571d246b1e48815bfce8a791cfcd2bc609778.

Bug: 79551588
Test: Booted device and observed no relevant errors.
Change-Id: I8902250bfc626790847313505d7e289201782b90
Merged-In: I6edff4f2838ea623363b78cbf3904eb2708d0197
This commit is contained in:
Joel Galenson
2018-10-08 13:46:07 -07:00
parent 82d00f1e65
commit 44e354d3a1
3 changed files with 0 additions and 15 deletions

View File

@@ -10,7 +10,6 @@ hal_camera_default camera_vendor_data_file dir 77865891
hal_camera_default debugfs dir 77865891
hal_camera_default radio_prop file 77865891
hal_imsrtp default_prop file 77725358
hal_neuralnetworks_hvx default_prop file 77916944
hal_power_default cgroup file 77919134
init_power init_power capability 77915310
installd media_rw_data_file file 77926261

View File

@@ -186,7 +186,6 @@
/vendor/bin/hw/android\.hardware\.keymaster@3\.0-service-qti u:object_r:hal_keymaster_qti_exec:s0
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service-qti u:object_r:hal_gatekeeper_qti_exec:s0
/vendor/bin/hw/android\.hardware\.gnss@1\.0-service-qti u:object_r:hal_gnss_qti_exec:s0
/vendor/bin/hw/android\.hardware\.neuralnetworks@1\.0-service-hvx u:object_r:hal_neuralnetworks_hvx_exec:s0
###############################################
# same-process HAL files and their dependencies

View File

@@ -1,13 +0,0 @@
type hal_neuralnetworks_hvx, domain;
hal_server_domain(hal_neuralnetworks_hvx, hal_neuralnetworks)
type hal_neuralnetworks_hvx_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_neuralnetworks_hvx)
# Allow HVX NN HAL to communicate with hexagon
allow hal_neuralnetworks_hvx ion_device:chr_file { read open ioctl };
allow hal_neuralnetworks_hvx qdsp_device:chr_file { read open ioctl };
# Allow HVX NN HAL to mmap a user-provided fd.
allow hal_neuralnetworks_hvx app_data_file:file { read write getattr };
allow hal_neuralnetworks_hvx shell_data_file:file { read write getattr };