summaryrefslogtreecommitdiffstats
path: root/init/selinux.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-01-28 02:39:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-01-28 02:39:28 +0000
commit8abe4e2638587957f621450b4e4c3ff7af310b08 (patch)
tree641f1a79b46fbb568a47baf6cfa3688b1d3a4329 /init/selinux.cpp
parent91837d7efeb70d83a6d1e799003144a40b9fa639 (diff)
parent36cf353ffb6123f8b31668dfae6149e1674625bf (diff)
downloadcore-8abe4e2638587957f621450b4e4c3ff7af310b08.tar.gz
core-8abe4e2638587957f621450b4e4c3ff7af310b08.tar.bz2
core-8abe4e2638587957f621450b4e4c3ff7af310b08.zip
Merge "sepolicy: renames nonplat_* to vendor_*"
Diffstat (limited to 'init/selinux.cpp')
-rw-r--r--init/selinux.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/selinux.cpp b/init/selinux.cpp
index d3ce23635..6aba9c1ef 100644
--- a/init/selinux.cpp
+++ b/init/selinux.cpp
@@ -423,12 +423,16 @@ void SelinuxRestoreContext() {
selinux_android_restorecon("/vendor_file_contexts", 0);
selinux_android_restorecon("/plat_property_contexts", 0);
selinux_android_restorecon("/nonplat_property_contexts", 0);
+ selinux_android_restorecon("/vendor_property_contexts", 0);
selinux_android_restorecon("/plat_seapp_contexts", 0);
selinux_android_restorecon("/nonplat_seapp_contexts", 0);
+ selinux_android_restorecon("/vendor_seapp_contexts", 0);
selinux_android_restorecon("/plat_service_contexts", 0);
selinux_android_restorecon("/nonplat_service_contexts", 0);
+ selinux_android_restorecon("/vendor_service_contexts", 0);
selinux_android_restorecon("/plat_hwservice_contexts", 0);
selinux_android_restorecon("/nonplat_hwservice_contexts", 0);
+ selinux_android_restorecon("/vendor_hwservice_contexts", 0);
selinux_android_restorecon("/sepolicy", 0);
selinux_android_restorecon("/vndservice_contexts", 0);