From 80cd0acd6487a08002de6707182f7a15df809c67 Mon Sep 17 00:00:00 2001 From: Satoshi Niwa Date: Thu, 23 Mar 2023 12:41:09 +0900 Subject: [PATCH] sepolicy: Add apex/com.android.tethering.inprocess-file_contexts Needed when using com.android.tethering.inprocess with flattened APEX. Bug: 273821347 Test: trybot Change-Id: Iae6d9547922575398c634433dc07b2e46fbffd8e --- apex/Android.bp | 7 +++++++ apex/com.android.tethering.inprocess-file_contexts | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 apex/com.android.tethering.inprocess-file_contexts diff --git a/apex/Android.bp b/apex/Android.bp index 2dcae6f7d..0183f0fec 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -238,6 +238,13 @@ filegroup { ], } +filegroup { + name: "com.android.tethering.inprocess-file_contexts", + srcs: [ + "com.android.tethering.inprocess-file_contexts", + ], +} + filegroup { name: "com.android.extservices-file_contexts", srcs: [ diff --git a/apex/com.android.tethering.inprocess-file_contexts b/apex/com.android.tethering.inprocess-file_contexts new file mode 100644 index 000000000..af366d83e --- /dev/null +++ b/apex/com.android.tethering.inprocess-file_contexts @@ -0,0 +1,3 @@ +(/.*)? u:object_r:system_file:s0 +/bin/for-system/clatd u:object_r:clatd_exec:s0 +/lib(64)?(/.*) u:object_r:system_lib_file:s0