summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-03-20 11:58:19 -0700
committerColin Cross <ccross@google.com>2013-03-20 19:06:11 +0000
commit0b56fc769dc193e8714d6c1f304cfbc90d593dc5 (patch)
treee1c55800067f0dca109ac5f2d109a140910d2564
parent7bce39cac65166f39d0f26453da6e59e236d2ab5 (diff)
downloadsystem_core-0b56fc769dc193e8714d6c1f304cfbc90d593dc5.zip
system_core-0b56fc769dc193e8714d6c1f304cfbc90d593dc5.tar.gz
system_core-0b56fc769dc193e8714d6c1f304cfbc90d593dc5.tar.bz2
android_filesystem_config: add /vendor
Make /vendor have the same permissions as /system/vendor for devices that have a vendor partition. Bug: 8341435 Change-Id: I077a2caf9da41fc072a4d3e334be28c24b70c7cd
-rw-r--r--include/private/android_filesystem_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 53bd166..540318f 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -187,6 +187,7 @@ static const struct fs_path_config android_dirs[] = {
{ 00755, AID_ROOT, AID_SHELL, 0, "system/vendor" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/xbin" },
{ 00755, AID_ROOT, AID_ROOT, 0, "system/etc/ppp" },
+ { 00755, AID_ROOT, AID_SHELL, 0, "vendor" },
{ 00777, AID_ROOT, AID_ROOT, 0, "sdcard" },
{ 00755, AID_ROOT, AID_ROOT, 0, 0 },
};
@@ -234,6 +235,7 @@ static const struct fs_path_config android_files[] = {
{ 00755, AID_ROOT, AID_ROOT, 0, "system/lib/valgrind/*" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/xbin/*" },
{ 00755, AID_ROOT, AID_SHELL, 0, "system/vendor/bin/*" },
+ { 00755, AID_ROOT, AID_SHELL, 0, "vendor/bin/*" },
{ 00750, AID_ROOT, AID_SHELL, 0, "sbin/*" },
{ 00755, AID_ROOT, AID_ROOT, 0, "bin/*" },
{ 00750, AID_ROOT, AID_SHELL, 0, "init*" },