From a90cae8c5fc53b85dc76031b36012d0a90ad91d6 Mon Sep 17 00:00:00 2001 From: Jaekyun Seok <jaekyun@google.com> Date: Wed, 17 Jan 2018 15:27:35 +0900 Subject: [PATCH] Add a default rule for /product files Since /product is an extension of /system, its file contexts should be consistent with ones of /system. Bug: 64195575 Test: tested installing a RRO, apps, priv-apps and permissions Change-Id: I7560aaaed852ba07ebe1eb23b303301481c897f2 --- private/file_contexts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/private/file_contexts b/private/file_contexts index b2a22a25e..0afca24b2 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -324,6 +324,11 @@ /oem(/.*)? u:object_r:oemfs:s0 +############################# +# Product files +# +/(product|system/product)(/.*)? u:object_r:system_file:s0 + ############################# # Data files # -- GitLab