From 76311578c967475cdf6f8b05566f945c1d318fb3 Mon Sep 17 00:00:00 2001 From: Jiyong Park <jiyong@google.com> Date: Mon, 20 Nov 2017 21:09:55 +0900 Subject: [PATCH] Label /vendor/priv-app as vendor_app_file In P, we will be supporting privileged apps in vendor partition, thus need to label /vendor/priv-app as vendor_app_file so that apps can exist under the dir. Bug: 35301609 Test: N/A since there is no /vendor/priv-app yet. Framework change which is currently in the internal is required. Change-Id: I86a765ef9da5267113e64a7cbb38ba0abf5c2835 --- private/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/private/file_contexts b/private/file_contexts index b93168b3e..5471638a5 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -291,6 +291,7 @@ /(vendor|system/vendor)/manifest.xml u:object_r:vendor_configs_file:s0 /(vendor|system/vendor)/compatibility_matrix.xml u:object_r:vendor_configs_file:s0 /(vendor|system/vendor)/app(/.*)? u:object_r:vendor_app_file:s0 +/(vendor|system/vendor)/priv-app(/.*)? u:object_r:vendor_app_file:s0 /(vendor|system/vendor)/overlay(/.*)? u:object_r:vendor_overlay_file:s0 /(vendor|system/vendor)/framework(/.*)? u:object_r:vendor_framework_file:s0 -- GitLab