From 1b4f3771ee5e0b89953d16ee28823b0b9c749cd5 Mon Sep 17 00:00:00 2001 From: David Drysdale Date: Tue, 6 Dec 2022 15:40:05 +0000 Subject: [PATCH] Map Rust KeyMint to same SELinux policy as C++ Allow the Rust and C++ implementations of the KeyMint HAL service to be toggled easily, by mapping them to the same SELinux policy. Bug: 197891150 Bug: 225036046 Test: VtsAidlKeyMintTargetTest with local changes, TreeHugger Change-Id: I37f8016240097381410903f0f326dc16fc24db1e --- whitechapel_pro/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index d0a92a9c..4c5f92e1 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -18,6 +18,7 @@ /vendor/bin/init\.uwb\.calib\.sh u:object_r:vendor_uwb_init_exec:s0 /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.trusty u:object_r:hal_gatekeeper_default_exec:s0 /vendor/bin/hw/android\.hardware\.security\.keymint-service\.trusty u:object_r:hal_keymint_default_exec:s0 +/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty u:object_r:hal_keymint_default_exec:s0 /vendor/bin/hw/vendor\.google\.radioext@1\.0-service u:object_r:hal_radioext_default_exec:s0 /vendor/bin/hw/android\.hardware\.contexthub-service\.generic u:object_r:hal_contexthub_default_exec:s0 /vendor/bin/hw/android\.hardware\.boot@1\.2-service-gs201 u:object_r:hal_bootctl_default_exec:s0