From 13a72f4b7162aa8cde5e0c4bb7522bc802cb69d3 Mon Sep 17 00:00:00 2001 From: Neil Fuller Date: Fri, 7 Dec 2018 11:35:03 +0000 Subject: [PATCH] Add tz files to the runtime module permissions Code in bionic / libcore will now look in the runtime APEX module for data files. Bug: 119293618 Bug: 119390260 Test: build / treehugger only Change-Id: I965c763e7f0452b8ef5ffbf730733e9a41254beb --- apex/com.android.runtime.debug-file_contexts | 1 + apex/com.android.runtime.release-file_contexts | 1 + 2 files changed, 2 insertions(+) diff --git a/apex/com.android.runtime.debug-file_contexts b/apex/com.android.runtime.debug-file_contexts index 98948d23d..35ef891d1 100644 --- a/apex/com.android.runtime.debug-file_contexts +++ b/apex/com.android.runtime.debug-file_contexts @@ -6,3 +6,4 @@ /bin/dexoptanalyzer(d)? u:object_r:dexoptanalyzer_exec:s0 /bin/profman(d)? u:object_r:profman_exec:s0 /lib(64)?(/.*)? u:object_r:system_lib_file:s0 +/etc/tz(/.*)? u:object_r:system_zoneinfo_file:s0 diff --git a/apex/com.android.runtime.release-file_contexts b/apex/com.android.runtime.release-file_contexts index 08688fbc6..207704df2 100644 --- a/apex/com.android.runtime.release-file_contexts +++ b/apex/com.android.runtime.release-file_contexts @@ -6,3 +6,4 @@ /bin/dexoptanalyzer u:object_r:dexoptanalyzer_exec:s0 /bin/profman u:object_r:profman_exec:s0 /lib(64)?(/.*)? u:object_r:system_lib_file:s0 +/etc/tz(/.*)? u:object_r:system_zoneinfo_file:s0