• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

external/ppp


コミットメタ情報

リビジョン7d489dfca86e16659d5e24d46b185652e0e366c4 (tree)
日時2009-07-03 06:24:59
作者Chia-chi Yeh <chiachi@andr...>
コミッターThe Android Open Source Project

ログメッセージ

am dffa1806: pppd: Remove the UID check to allow running as a non-root user.

Merge commit 'dffa18062629fab18e536d21fe5f8b8f07c7e991'

* commit 'dffa18062629fab18e536d21fe5f8b8f07c7e991':

pppd: Remove the UID check to allow running as a non-root user.

変更サマリ

差分

--- a/pppd/main.c
+++ b/pppd/main.c
@@ -364,6 +364,7 @@ main(argc, argv)
364364 {
365365 extern void pppox_init();
366366 pppox_init();
367+ privileged = 1;
367368 }
368369 #endif
369370
@@ -398,6 +399,7 @@ main(argc, argv)
398399 if (debug)
399400 setlogmask(LOG_UPTO(LOG_DEBUG));
400401
402+#ifndef ANDROID_CHANGES
401403 /*
402404 * Check that we are running as root.
403405 */
@@ -406,6 +408,7 @@ main(argc, argv)
406408 argv[0]);
407409 exit(EXIT_NOT_ROOT);
408410 }
411+#endif
409412
410413 if (!ppp_available()) {
411414 option_error("%s", no_ppp_msg);