From fa18dfa143bc8dd17f67ef0ce0a02aad12bdf446 Mon Sep 17 00:00:00 2001 From: TALU Date: Thu, 4 Jul 2024 12:56:42 +0530 Subject: [PATCH] sm6375-common: sepolicy: Label the new Samsung NFC HAL Change-Id: I7a8ba9bc0bc78f8426c8cb94311498f3735eca3d --- sepolicy/vendor/file_contexts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index b7df966..36c6433 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -67,6 +67,10 @@ # Motobox /(vendor|system/vendor)/bin/motobox u:object_r:vendor_motobox_exec:s0 +# NFC +/dev/sec-nfc u:object_r:nfc_device:s0 +/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.samsung u:object_r:hal_nfc_default_exec:s0 + # Radio /data/vendor/misc/cutback(/.*)? u:object_r:cutback_data_file:s0 /dev/socket/cutback u:object_r:cutback_socket:s0