• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修訂77893c0691faa521a42f4b02d350ded8b49a08bf (tree)
時間2016-12-09 15:55:08
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Set correct permission for pppd

The pppd needs setuid root to setup ppp interface.

Change Summary

差異

--- a/libcutils/fs_config.c
+++ b/libcutils/fs_config.c
@@ -138,6 +138,7 @@ static const struct fs_path_config android_files[] = {
138138 * are NOT included on user builds. */
139139 { 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
140140 { 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },
141+ { 04750, AID_ROOT, AID_RADIO, 0, "system/bin/pppd" },
141142
142143 /* the following files have enhanced capabilities and ARE included in user builds. */
143144 { 00750, AID_ROOT, AID_SHELL, CAP_MASK_LONG(CAP_SETUID) | CAP_MASK_LONG(CAP_SETGID), "system/bin/run-as" },