From f40942ffd8b62ff5494713a904aebff08a6c3f10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5rten=20Kongstad?= <marten.kongstad@sony.com>
Date: Thu, 27 Sep 2018 09:45:30 +0200
Subject: [PATCH] Add rules for /product{,_services}/overlay

These rules mirror those for /vendor/overlay and /odm/overlay, including
the possilibity of a symlink like /system/vendor -> /vendor.

Test: builds, boots
Change-Id: I323e48fcc13c4ac7779902506539c2600708cc88
---
 private/file_contexts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/private/file_contexts b/private/file_contexts
index e5c778481..103534080 100644
--- a/private/file_contexts
+++ b/private/file_contexts
@@ -376,11 +376,13 @@
 # Product files
 #
 /(product|system/product)(/.*)?                                 u:object_r:system_file:s0
+/(product|system/product)/overlay(/.*)?                         u:object_r:vendor_overlay_file:s0
 
 #############################
 # Product-Services files
 #
 /(product_services|system/product_services)(/.*)?               u:object_r:system_file:s0
+/(product_services|system/product_services)/overlay(/.*)?       u:object_r:vendor_overlay_file:s0
 
 #############################
 # Data files
-- 
GitLab