From ee243b6985b506ed66ba0bad6f054b168b123d10 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Thu, 15 Nov 2018 19:50:49 -0700 Subject: [PATCH] msm8226-common: sepolicy: Label our custom sensors service Change-Id: I331abeac851cd92b32990ff797dff506dd67e503 --- sepolicy/common/file_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index 78a9e58..32cc1fa 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -25,6 +25,9 @@ /system/vendor/firmware/bcm2079x(.*).ncd u:object_r:nfc_fw_file:s0 /system/vendor/firmware/libpn547_fw.so u:object_r:nfc_fw_file:s0 +# executeables +/(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@1\.0-service.samsung8226 u:object_r:hal_sensors_default_exec:s0 + # sockets /data/cam_socket3 u:object_r:camera_socket:s0