summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-09-19 03:36:39 -0700
committerBrian Swetland <swetland@google.com>2010-09-19 03:36:39 -0700
commit02863b957cfbfc302d3136ed78c0cba86accacd8 (patch)
tree7a0cd6ec15fdd334da6cd3a2bcb5b6932efc6c1b /include/private
parent2da0032c9447d0e259be31872e123559b5442d8f (diff)
downloadsystem_core-02863b957cfbfc302d3136ed78c0cba86accacd8.zip
system_core-02863b957cfbfc302d3136ed78c0cba86accacd8.tar.gz
system_core-02863b957cfbfc302d3136ed78c0cba86accacd8.tar.bz2
add /vendor support
- look in /vendor/firmware/... in addition to /system/etc/firmware/... for firmware loading - add /vendor/bin to path before /system/bin - add /vendor/lib to ldpath before /system/lib - configure appropriate permissions for /system/vendor/bin - symlink /vendor -> /system/vendor Change-Id: I0c06ca1e38a44f0c7024cee6cea8907aa93a4532
Diffstat (limited to 'include/private')
-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 97b873a..cca09ce 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -138,6 +138,7 @@ static struct fs_path_config android_dirs[] = {
{ 00771, AID_SYSTEM, AID_SYSTEM, "data" },
{ 00750, AID_ROOT, AID_SHELL, "sbin" },
{ 00755, AID_ROOT, AID_SHELL, "system/bin" },
+ { 00755, AID_ROOT, AID_SHELL, "system/vendor" },
{ 00755, AID_ROOT, AID_SHELL, "system/xbin" },
{ 00755, AID_ROOT, AID_ROOT, "system/etc/ppp" },
{ 00777, AID_ROOT, AID_ROOT, "sdcard" },
@@ -185,6 +186,7 @@ static struct fs_path_config android_files[] = {
{ 06750, AID_ROOT, AID_SHELL, "system/bin/run-as" },
{ 00755, AID_ROOT, AID_SHELL, "system/bin/*" },
{ 00755, AID_ROOT, AID_SHELL, "system/xbin/*" },
+ { 00755, AID_ROOT, AID_SHELL, "system/vendor/bin/*" },
{ 00750, AID_ROOT, AID_SHELL, "sbin/*" },
{ 00755, AID_ROOT, AID_ROOT, "bin/*" },
{ 00750, AID_ROOT, AID_SHELL, "init*" },