diff options
| author | Nick Kralevich <nnk@google.com> | 2013-02-21 18:36:43 -0800 |
|---|---|---|
| committer | Nick Kralevich <nnk@google.com> | 2013-02-21 19:28:13 -0800 |
| commit | be341cc348257a07c68bcbfdc526835d49283329 (patch) | |
| tree | 731433e2def7680f351a5da4598a5c117799ac7a /trusty/coverage/coverage_test.cpp | |
| parent | 523a20901b2afce7ad02c0011d70ed57f8bbb997 (diff) | |
init.rc: allow IPPROTO_ICMP support
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
