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
diff --git a/apex/Android.bp b/apex/Android.bp
index 2dcae6f..0183f0f 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -239,6 +239,13 @@
}
filegroup {
+ name: "com.android.tethering.inprocess-file_contexts",
+ srcs: [
+ "com.android.tethering.inprocess-file_contexts",
+ ],
+}
+
+filegroup {
name: "com.android.extservices-file_contexts",
srcs: [
"com.android.extservices-file_contexts",
diff --git a/apex/com.android.tethering.inprocess-file_contexts b/apex/com.android.tethering.inprocess-file_contexts
new file mode 100644
index 0000000..af366d8
--- /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