History log of /external/ping/ping.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5dacba1793b581e6b92f713aa3e51de75ff70e50 29-Mar-2013 Nick Kralevich <nnk@google.com> Make sure ping doesn't ever run with privileges.

Ping on Android doesn't require any special privileges. Halt and
catch fire if we detect we're running with privileges.

Change-Id: Ic4cd03ae7767df1a96813a098cfef0cf008a752a
/external/ping/ping.c
144125fdc8f56346f1cecd49d6d3a4967220d818 21-Mar-2013 Nick Kralevich <nnk@google.com> ping: remove group check

Ping no longer requires special privileges to run, nor is
it setgid. It no longer makes sense to do security checks in the
binary. Remove the checks.

These checks will need to be readded if ping is ever made setgid again.

Change-Id: I2bf78a97e4959148b71124f168366fc7ca05b499
/external/ping/ping.c
ef37d714c2d9bbc7ee483bd1e1092c65c74ab92a 22-Feb-2013 Nick Kralevich <nnk@google.com> Update ping to one that understands IPPROTO_ICMP

See http://lwn.net/Articles/443051/ for more details.

Change-Id: Ib7f597723b98a77032ced633f35b32a6f44c8747
/external/ping/ping.c
2b77a5377db63d95d777a7d5aa14380dd0e71e72 20-Nov-2010 Wink Saville <wink@google.com> Dynamically allocate groups array dynamically based on its actual size.

Change-Id: Ibd6692c2396d793756e07fc080423acd2ecc1af0
/external/ping/ping.c
1fddfb0177911d1a1f9e13904434a6f30f9cecb0 18-Nov-2010 Nick Kralevich <nnk@google.com> make ping runnable only to AID_INET

Applications which don't have the internet permission
(AID_INET) should not be able to use ping to communicate over
the network. Enforce this in the ping code.

Bug: 1424756
Change-Id: I289ded5cbe56368b9245d246d650e4792840a363
/external/ping/ping.c
0baa1aef81c61170e9078704b28264d9e8864b69 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/ping/ping.c
e7e0d540dd580d0e5eb1b7d0b34a5dc7e17c07e4 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/ping/ping.c
315013e18c06adca06f23be9bc6556fbd22f0c87 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/ping/ping.c