summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorpadarshr <padarshr@codeaurora.org>2017-03-19 15:44:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-22 21:08:54 -0700
commit1cd2f0d7f2827c47017a1b7fdc482e4b22625cb6 (patch)
treef14a4be895de48235f0bf503c920225b6b9af6d8 /test
parentc0abd8bd1a895a7c52f5ad45faa74826569bd092 (diff)
downloadandroid_device_qcom_sepolicy-1cd2f0d7f2827c47017a1b7fdc482e4b22625cb6.tar.gz
android_device_qcom_sepolicy-1cd2f0d7f2827c47017a1b7fdc482e4b22625cb6.tar.bz2
android_device_qcom_sepolicy-1cd2f0d7f2827c47017a1b7fdc482e4b22625cb6.zip
Add sepolicies for pure vendor path as well
For split system/vendor configuration build, take care of assigning contexts for pure vendor path too. Change-Id: I61b4acd4ca9c9a1bce1a351f652f6e4c2ca71dfd
Diffstat (limited to 'test')
-rwxr-xr-xtest/file_contexts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/file_contexts b/test/file_contexts
index 9a44684a..535b15af 100755
--- a/test/file_contexts
+++ b/test/file_contexts
@@ -39,8 +39,8 @@
/system/bin/InstallKeybox u:object_r:sectest_exec:s0
#Authentication and FIDO
-/system/vendor/bin/sampleauthdaemon u:object_r:fidotest_exec:s0
-/system/vendor/bin/qseeproxysampledaemon u:object_r:qseeproxysample_exec:s0
+/(vendor|system/vendor)/bin/sampleauthdaemon u:object_r:fidotest_exec:s0
+/(vendor|system/vendor)/bin/qseeproxysampledaemon u:object_r:qseeproxysample_exec:s0
#Context for location features
/system/bin/sdp_test u:object_r:location_exec:s0