From 464952419b6813e5f2a8d0a16beca548f2dd5428 Mon Sep 17 00:00:00 2001 From: Colin Cross <ccross@android.com> Date: Wed, 20 Mar 2013 12:03:04 -0700 Subject: [PATCH] sepolicy: add /vendor to file_contexts /vendor has the same permissions as /system/vendor for devices that have a separate vendor partition. Bug: 8341435 Change-Id: If0c78b31f8a6e8e5680f1d076c323d1628fb07b2 --- file_contexts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/file_contexts b/file_contexts index c47b44b5c..a6cb3cc09 100644 --- a/file_contexts +++ b/file_contexts @@ -140,6 +140,11 @@ /system/xbin/su u:object_r:su_exec:s0 /system/vendor/bin/gpsd u:object_r:gpsd_exec:s0 ############################# +# Vendor files +# +/vendor(/.*)? u:object_r:system_file:s0 +/vendor/bin/gpsd u:object_r:gpsd_exec:s0 +############################# # Data files # /data(/.*)? u:object_r:system_data_file:s0 -- GitLab