Allow userspace programs to create IPPROTO_ICMP sockets.
This socket type allows an unprivileged program to safely
send ICMP_ECHO messages and receive the corresponding
ICMP_ECHOREPLY messages, without relying on raw sockets or
setuid programs.
Please see http://lwn.net/Articles/443051/ for details.
In particular, this allows us to use a version of ping
which doesn't have any capabilities
(https://android-review.googlesource.com/52072).
In addition, this allows us to safely implement an IPv4 ICMP
based version of InetAddress.isReachable()
(https://code.google.com/p/android/issues/detail?id=20106)
Change-Id: I876718151efa8219c4f34f573e35e21256fe2316
bionic's __stack_chk_fail was preventing debuggerd from dumping
stacks, which was not helpful.
Bug: 2487269
Change-Id: Idba2a274037b960dfb2ac1c21686323268c4b372
# By Duane Sand
# Via Android Git Automerger (1) and others
* commit '90dd14029414af26e64e3232f37c84feaa317ea8':
[MIPS] Benchmark test for MIPS memset16/memset32
# By Duane Sand
# Via Duane Sand (1) and Gerrit Code Review (1)
* commit '241194cad4b27ffd1cb574cb10c4c6941ef3882f':
[MIPS] Benchmark test for MIPS memset16/memset32
# Via Gerrit Code Review (1) and Ian Rogers (1)
* commit '78432ab1f42d59fed474365b95b7501dcccacebf':
Inline ldrex/strex for thumb2, remove ARMv5 remnants.
# Via Android Git Automerger (2) and Iliyan Malchev (1)
* commit '693a3d6cd9658909f785d6dd179ba226fefec4a4':
charger: Do not suspend when disconnecting from charger
# By Rom Lemarchand (11) and others
# Via Android Git Automerger (194) and others
* commit '2507aed4300ffddfe0bd22843093ce66cf0a7b52': (48 commits)
cutils: remove dead code.
logwrap: add quiet flag to logwrap()
logwrap: Replace sigprocmask with pthread_sigmask
logwrap: wait for child process when receiving SIGINT or SIGQUIT
logwrap: ensure child exits with _exit
Delete frameworks/base/voip use voip-common from frameworks/opt/net/voip
logwrap: remove unnecessary call to setuid/setgid
logwrap: fix off by 1 argument error
logwrapper: switch to signal handlers for SIGCHLD
property_service: make /dev/__properties__ readable
toolbox: renice: Add -t TYPE parameter and switch to getopt
libsuspend: compile as a static library
Revert "init: make system properties more secure."
init: make system properties more secure.
Revert "init.usb.rc: set sys.usb.config to none before changing it"
adb: Add "unauthorized" connection state
adb: Read secure adb keys on every auth request
logwrapper: prevent logwrap from hanging when child dies
logwrapper: split into liblogwrap and the executable itself
cutils: add simple reference counter
...
# By Stephen Smalley
# Via Gerrit Code Review (1) and Stephen Smalley (1)
* commit 'b2639f4015c9fb2ff10c7bfae6074a8d968f5b7e':
Label sockets consistently with the seclabel value if specified.
We assume ARMv7 which with thumb2 has ldrex/strex operations that may be
inlined if -mthumb is defined.
Remove remnants of ARMv5 support.
Change-Id: I9bb9525ae6ff4816ba391115019d841f63c12348
# Via Android Git Automerger (1) and Iliyan Malchev (1)
* commit '6a7a324502e34e10830806751efbc514014815ee':
charger: Do not suspend when disconnecting from charger
# By Ray Donnelly
# Via Android Git Automerger (2) and others
* commit '282caf3bd0dfd81b92ac74e0b3ea970d195fee7b':
Windows adb: include stdint.h for uint8_t on MinGW-w64
# By Ray Donnelly
# Via Android Git Automerger (2) and others
* commit '6c3d3ccfa5d1d77b80e5c7619909a48b976c69ec':
Windows adb: initialize on to 1 in disable_tcp_nagle
# By Ray Donnelly
# Via Android Git Automerger (1) and others
* commit '260f347197187c0e4ac9bf4afaf049bfa3655afc':
Windows adb: include stdint.h for uint8_t on MinGW-w64
# By Ray Donnelly
# Via Android Git Automerger (1) and others
* commit 'd033739d176f8a2da99f80ef4a03bdca0649b644':
Windows adb: initialize on to 1 in disable_tcp_nagle
# By Ray Donnelly
# Via Gerrit Code Review (1) and Ray Donnelly (1)
* commit 'f8afaebec3d10879f22406ac1bf06a246d448f93':
Windows adb: include stdint.h for uint8_t on MinGW-w64
# By Ray Donnelly
# Via Gerrit Code Review (1) and Ray Donnelly (1)
* commit 'd40fd86ec5bdf56e8cd5a702ffc5332b6de931e4':
Windows adb: initialize on to 1 in disable_tcp_nagle
The last caller of this code was removed in
dalvik commit eb1703442f3fc0577b3395b7eb4d55300b4125db
(https://android-review.googlesource.com/50689)
Change-Id: I3f4865c02092752a13369a3b2c3289fc9a4f6a62