History log of /external/ppp/pppd/sys-linux.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/sys-linux.c
5e0738a2d8667ec1ea629649edc4fc5ae453f4a1 12-Nov-2013 Elliott Hughes <enh@google.com> Fix pppd to build with both old and uapi headers.

Bug: 11559337
Change-Id: Id94bdc78a523067e9cd214b255c6cc3f333adaa3
/external/ppp/pppd/sys-linux.c
11088bb1896dff9caae1378d463bd349f96520aa 08-Apr-2010 Peter Enderborg <peter.enderborg@sonyericsson.com> Added proper handling of pty-names for pipe usage.

This fixes running ppp through adb as sockets, that are connected
to a pipe with the help of nc. Further, the path construction now
corresponds to other versions of pppd.

Change-Id: Ib810dc69cbdf08b58cde65210b31cd7bd1427721
/external/ppp/pppd/sys-linux.c
dab68864983c4a0c6ef9e6d7e5834472c4c75f9c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/ppp/pppd/sys-linux.c