summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHung-ying Tyan2017-05-25 06:18:17 -0500
committerHung-ying Tyan2017-05-25 06:18:17 -0500
commit3346338919caef7861860ecef74795e9188817e0 (patch)
tree9102292715052f1bc4af222644454e8196f0a29d /libcutils
parenta9aa77d25998626e7f62fa240532aa5e954e4396 (diff)
downloadplatform-system-core-3346338919caef7861860ecef74795e9188817e0.tar.gz
platform-system-core-3346338919caef7861860ecef74795e9188817e0.tar.xz
platform-system-core-3346338919caef7861860ecef74795e9188817e0.zip
Revert "Load {default,build}.prop from /{system,vendor,odm}/etc/"
This reverts commit 723f1a2b318a455983d21ccf3598885f766bb8c9. Bug: 62075509
Diffstat (limited to 'libcutils')
-rw-r--r--libcutils/fs_config.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index dd1ad3a38..919b65bc3 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -134,10 +134,9 @@ static const struct fs_path_config android_files[] = {
134 { 00640, AID_ROOT, AID_SHELL, 0, "data/nativetest64/tests.txt" }, 134 { 00640, AID_ROOT, AID_SHELL, 0, "data/nativetest64/tests.txt" },
135 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest/*" }, 135 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest/*" },
136 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest64/*" }, 136 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest64/*" },
137 { 00600, AID_ROOT, AID_ROOT, 0, "default.prop" }, // legacy 137 { 00600, AID_ROOT, AID_ROOT, 0, "default.prop" },
138 { 00600, AID_ROOT, AID_ROOT, 0, "system/etc/prop.default" }, 138 { 00600, AID_ROOT, AID_ROOT, 0, "odm/build.prop" },
139 { 00600, AID_ROOT, AID_ROOT, 0, "odm/etc/prop.build" }, 139 { 00600, AID_ROOT, AID_ROOT, 0, "odm/default.prop" },
140 { 00600, AID_ROOT, AID_ROOT, 0, "odm/etc/prop.default" },
141 { 00444, AID_ROOT, AID_ROOT, 0, odm_conf_dir + 1 }, 140 { 00444, AID_ROOT, AID_ROOT, 0, odm_conf_dir + 1 },
142 { 00444, AID_ROOT, AID_ROOT, 0, odm_conf_file + 1 }, 141 { 00444, AID_ROOT, AID_ROOT, 0, odm_conf_file + 1 },
143 { 00444, AID_ROOT, AID_ROOT, 0, oem_conf_dir + 1 }, 142 { 00444, AID_ROOT, AID_ROOT, 0, oem_conf_dir + 1 },
@@ -149,8 +148,7 @@ static const struct fs_path_config android_files[] = {
149 { 00750, AID_ROOT, AID_ROOT, 0, "system/bin/install-recovery.sh" }, 148 { 00750, AID_ROOT, AID_ROOT, 0, "system/bin/install-recovery.sh" },
150 { 00700, AID_ROOT, AID_ROOT, 0, "system/bin/secilc" }, 149 { 00700, AID_ROOT, AID_ROOT, 0, "system/bin/secilc" },
151 { 00750, AID_ROOT, AID_ROOT, 0, "system/bin/uncrypt" }, 150 { 00750, AID_ROOT, AID_ROOT, 0, "system/bin/uncrypt" },
152 { 00600, AID_ROOT, AID_ROOT, 0, "system/build.prop" }, // legacy 151 { 00600, AID_ROOT, AID_ROOT, 0, "system/build.prop" },
153 { 00600, AID_ROOT, AID_ROOT, 0, "system/etc/prop.build" },
154 { 00444, AID_ROOT, AID_ROOT, 0, sys_conf_dir + 1 }, 152 { 00444, AID_ROOT, AID_ROOT, 0, sys_conf_dir + 1 },
155 { 00444, AID_ROOT, AID_ROOT, 0, sys_conf_file + 1 }, 153 { 00444, AID_ROOT, AID_ROOT, 0, sys_conf_file + 1 },
156 { 00440, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.rc" }, 154 { 00440, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.rc" },
@@ -159,9 +157,8 @@ static const struct fs_path_config android_files[] = {
159 { 00555, AID_ROOT, AID_ROOT, 0, "system/etc/ppp/*" }, 157 { 00555, AID_ROOT, AID_ROOT, 0, "system/etc/ppp/*" },
160 { 00555, AID_ROOT, AID_ROOT, 0, "system/etc/rc.*" }, 158 { 00555, AID_ROOT, AID_ROOT, 0, "system/etc/rc.*" },
161 { 00440, AID_ROOT, AID_ROOT, 0, "system/etc/recovery.img" }, 159 { 00440, AID_ROOT, AID_ROOT, 0, "system/etc/recovery.img" },
162 { 00600, AID_ROOT, AID_ROOT, 0, "vendor/build.prop" }, // legacy 160 { 00600, AID_ROOT, AID_ROOT, 0, "vendor/build.prop" },
163 { 00600, AID_ROOT, AID_ROOT, 0, "vendor/etc/prop.build" }, 161 { 00600, AID_ROOT, AID_ROOT, 0, "vendor/default.prop" },
164 { 00600, AID_ROOT, AID_ROOT, 0, "vendor/etc/prop.default" },
165 { 00444, AID_ROOT, AID_ROOT, 0, ven_conf_dir + 1 }, 162 { 00444, AID_ROOT, AID_ROOT, 0, ven_conf_dir + 1 },
166 { 00444, AID_ROOT, AID_ROOT, 0, ven_conf_file + 1 }, 163 { 00444, AID_ROOT, AID_ROOT, 0, ven_conf_file + 1 },
167 164