summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWink Saville2010-03-11 18:22:44 -0600
committerWink Saville2010-03-11 18:22:44 -0600
commitbbf1c64527dde837a236b4d6b9f75343adbca119 (patch)
tree765be5816692b42a817c1d9519434a1ce0302f2c
parentd475d09567eb710a13e1588c5fec3ca53a3d79c8 (diff)
downloadplatform-system-core-bbf1c64527dde837a236b4d6b9f75343adbca119.tar.gz
platform-system-core-bbf1c64527dde837a236b4d6b9f75343adbca119.tar.xz
platform-system-core-bbf1c64527dde837a236b4d6b9f75343adbca119.zip
Change permissions on pppd-ril
On devices that use a pppd for cellular network access, a pppd-ril process needs to run as root to configure the connection. Changing the process to suid-root in the build image is the only known way to avoid needing to remount the system image at boot to accomplish the same thing. Change-Id: I6c778391b8040ee818343e304891e7d341cc729b
-rw-r--r--include/private/android_filesystem_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 49fa91274..f2a5fe1af 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -176,6 +176,7 @@ static struct fs_path_config android_files[] = {
176 { 06755, AID_ROOT, AID_ROOT, "system/xbin/procrank" }, 176 { 06755, AID_ROOT, AID_ROOT, "system/xbin/procrank" },
177 { 06755, AID_ROOT, AID_ROOT, "system/xbin/procmem" }, 177 { 06755, AID_ROOT, AID_ROOT, "system/xbin/procmem" },
178 { 06755, AID_ROOT, AID_ROOT, "system/xbin/tcpdump" }, 178 { 06755, AID_ROOT, AID_ROOT, "system/xbin/tcpdump" },
179 { 04770, AID_ROOT, AID_RADIO, "system/bin/pppd-ril" },
179 { 00755, AID_ROOT, AID_SHELL, "system/bin/*" }, 180 { 00755, AID_ROOT, AID_SHELL, "system/bin/*" },
180 { 00755, AID_ROOT, AID_SHELL, "system/xbin/*" }, 181 { 00755, AID_ROOT, AID_SHELL, "system/xbin/*" },
181 { 00750, AID_ROOT, AID_SHELL, "sbin/*" }, 182 { 00750, AID_ROOT, AID_SHELL, "sbin/*" },