From 1e2814c890028c6f98243153217213cdbd1b56ff Mon Sep 17 00:00:00 2001 From: Alex Kuoch Date: Wed, 18 Mar 2020 14:42:41 -0400 Subject: [PATCH] Update device sepolicy rules for NN HAL 1.3 Change-Id: Iaa6c1251cd3156887b58cf73ce565fb8a749af41 --- generic/vendor/common/file_contexts | 2 +- legacy/vendor/common/file_contexts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/vendor/common/file_contexts b/generic/vendor/common/file_contexts index 781ed522..9e386afe 100644 --- a/generic/vendor/common/file_contexts +++ b/generic/vendor/common/file_contexts @@ -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 diff --git a/legacy/vendor/common/file_contexts b/legacy/vendor/common/file_contexts index c01a153f..2771381c 100644 --- a/legacy/vendor/common/file_contexts +++ b/legacy/vendor/common/file_contexts @@ -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