History log of /external/ppp/pppd/main.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
976f8d7f37a03c9a92d0bfd2e180c0bd75fbaa01 23-Feb-2017 Dimitry Ivanov <dimitry@google.com> Remove unused include

Test: make
Change-Id: I51ece9dbecfd3a3c316b3ab32ef6452a0b72c599
/external/ppp/pppd/main.c
1286c078a4b93695b3812e8c7fe7918c28ea18b4 09-Dec-2014 Adam Langley <agl@google.com> Sync to upstream head.

This change syncs external/ppp with upstream. Specifically it's based on
upstream's 6e8eaa7a78b31cdab2edf140a9c8afdb02ffaca5.

In order to do this without blowing away the Android-specific changes, I
ran a script to try and find a matching revision in upstream's git tree
to the initial commit in external/ppp.

Based on the contents of *.c and *.h files in pppd/, upstream's
f8583676904957554c5a8bd14ede415688835f6c matches with the local revision
82c907af479178801a7a8701341b22c9d20fdb7e.

I diffed upstream's f8583676 with upstream's HEAD and removed chunks
from the result that applied to files that aren't present in Android. In
some places, the diff didn't apply cleanly because of Android-specific
changes:

1) Local change 8ad0dd2a added two "return UPAP_AUTHNAK;" statements
in "#if 1" blocks in auth.c. They have been reflected into
session.c/session_start by always returning SESSION_FAILED.
(Additionally, new code to query the local password db has been
disabled via #if !defined(__ANDROID__).)

2) Upstream now always defines INET6 for Linux so I've pulled IPv6
support in. (Otherwise sys-linux.c has compile errors.)

3) linux/ipv6_route.h needed to be included explicitly.

4) I defined HAVE_LOGWTMP to avoid calling some wtmp functions that
aren't implemented in Android. A dummy logwtmp is defined.

All the above changes are in __ANDROID__ tags to highlight them.
Additionally I've ensured that all the pre-existing changes are also now
in __ANDROID__ tags.

Change-Id: Ia5abe677d6ba4d5e9f4fbcd4fa03d8911b8bed12
/external/ppp/pppd/main.c
1661f734d42e48458fc62f5c6413c308481b4e5a 14-Dec-2009 Chia-chi Yeh <chiachi@android.com> Add support to get information from environment variables.

Bug: 2325838
Change-Id: I2e1df5a71aead40063f82cc0dda222f370ad4043
/external/ppp/pppd/main.c
dffa18062629fab18e536d21fe5f8b8f07c7e991 01-Jul-2009 Chia-chi Yeh <chiachi@android.com> pppd: Remove the UID check to allow running as a non-root user.

It is safe because it will not work without proper capabilities.
Allowing privileged options is also safe for the same reason.
/external/ppp/pppd/main.c
12f72b25ea06006706eb0cdbbe1c965eb8fc03be 15-Jun-2009 Chia-chi Yeh <chiachi@android.com> Few changes to pppd for VPN.

1. Remove TARGET_OUT_OPTIONAL_EXECUTABLES from Android.mk
since pppd is now required by VPN, no longer optinoal.
2. Avoid creating pid files.
3. Use linkname as a suffix of program names which allows
different users to run different set of scripts. E.g.
if linkname is "vpn", "/etc/ppp/ip-up-vpn" is executed.
/external/ppp/pppd/main.c
821c6079634ae728eda7a19e947a2c8f0dd1fdaa 15-Jun-2009 Chia-chi Yeh <chiachi@android.com> Fix few minor things in pppd.

1. Undo some changes about running scripts.
2. Move android logging from logit() to log_write().
3. Remove all syslog() related calls.
/external/ppp/pppd/main.c
a263473d0d18736659607a8f2e178ee94cf3f989 07-May-2009 Chia-chi Yeh <chiachi@android.com> 1. Add a new option 'pppox <n>' to support PPPoX sockets. Note that using this
will make all terminal-specific options unrecognized. (see tty.c)
2. Remove libssl and ipxcp.c from Android.mk. We do not need them.
/external/ppp/pppd/main.c
8ad0dd2a5c5f23cd210aedba72a43e48026e7436 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/ppp/pppd/main.c
7ec1262af43ee60f9e61973439fce12a471b4f99 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/ppp/pppd/main.c
dab68864983c4a0c6ef9e6d7e5834472c4c75f9c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/ppp/pppd/main.c