system/corennnnn
修訂 | 77893c0691faa521a42f4b02d350ded8b49a08bf (tree) |
---|---|
時間 | 2016-12-09 15:55:08 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Set correct permission for pppd
The pppd needs setuid root to setup ppp interface.
@@ -138,6 +138,7 @@ static const struct fs_path_config android_files[] = { | ||
138 | 138 | * are NOT included on user builds. */ |
139 | 139 | { 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" }, |
140 | 140 | { 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" }, |
141 | + { 04750, AID_ROOT, AID_RADIO, 0, "system/bin/pppd" }, | |
141 | 142 | |
142 | 143 | /* the following files have enhanced capabilities and ARE included in user builds. */ |
143 | 144 | { 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" }, |