Update device sepolicy rules for NN HAL 1.3

Change-Id: Iaa6c1251cd3156887b58cf73ce565fb8a749af41
This commit is contained in:
Alex Kuoch 2020-03-18 14:42:41 -04:00
parent 7f04ba192b
commit 1e2814c890
2 changed files with 2 additions and 2 deletions

View file

@ -460,7 +460,7 @@
/sys/devices/soc/qpnp-vadc-[0-9]+(/.*)? u:object_r:vendor_sysfs_vadc_dev:s0
#Android NN Driver
/vendor/bin/hw/android\.hardware\.neuralnetworks@1\.2-service-qti u:object_r:vendor_hal_neuralnetworks_default_exec:s0
/vendor/bin/hw/android\.hardware\.neuralnetworks@1\.3-service-qti u:object_r:vendor_hal_neuralnetworks_default_exec:s0
/(vendor|system/vendor)/bin/init\.class_main\.sh u:object_r:vendor_qti_init_shell_exec:s0
/(vendor|system/vendor)/bin/init\.crda\.sh u:object_r:vendor_qti_init_shell_exec:s0

View file

@ -717,7 +717,7 @@
/(vendor|system/vendor)/bin/grep u:object_r:vendor_toolbox_exec:s0
#Android NN Driver
/(vendor|system/vendor)/bin/hw/android\.hardware\.neuralnetworks@1\.2-service-qti u:object_r:hal_neuralnetworks_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.neuralnetworks@1\.3-service-qti u:object_r:hal_neuralnetworks_default_exec:s0
#wifilearner daemon
/(vendor|system/vendor)/bin/wifilearner u:object_r:wifilearnersvc_exec:s0