Age | Commit message (Collapse) | Author |
|
|
|
Bug: 9469682
Change-Id: Ia58ed6968212aaf41a96c88d8ae8fa5c643b327b
|
|
|
|
Bug: 9671560
Change-Id: I32abfc481fbd111c4d61a3d65da8821d2d2f9848
|
|
|
|
Bug: 9671560
Change-Id: Id98c0a0be0842e61d638bc2d0124699f3ad6f55d
|
|
|
|
With these changes, ping6 compiles and runs in the normal raw
socket mode which requires root privileges.
(cherry-pick of d06ff8674fa66847aadb1c96602e8cdb7450a655.)
Bug: 9469682
Change-Id: Iee62f73c94e403e6f52ce0aeff583ee3952fb717
|
|
|
|
Our current copy of ping is based on the 2002 snapshot plus a
few local modifications, mostly to get it to compile on Android
and to allow permissionless ping using the ping socket.
This patch preserves the local modifications (except where they
are obsolete) by applying the diff between 020927 and s2012221
to our local copy. As expected, diffing our copy with s2012221
shows our local modifications.
This patch also includes the ping6 source code, but no attempt
is made to compile it yet (more changes are needed for that).
Tested on crespo using ToT master. As expected, "adb shell ping"
works when the shell is not running as root and /system/bin/ping
is not suid.
(cherry-pick of b933d68e8e35f0a48ef826dda1afb0ce2890d6ab.)
Bug: 9469682
Change-Id: I0cad3c38c449b3ab2e791350458511125ffbca94
|
|
|
|
Ping on Android doesn't require any special privileges. Halt and
catch fire if we detect we're running with privileges.
Change-Id: Ic4cd03ae7767df1a96813a098cfef0cf008a752a
|
|
|
|
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
|
|
|
|
Change-Id: I8cd92aa3f6e76f9521be15fbeef0598da041199a
|
|
|
|
See http://lwn.net/Articles/443051/ for more details.
Change-Id: Ib7f597723b98a77032ced633f35b32a6f44c8747
|
|
* commit '8fc3c91cf9e7f87bc20b9e6d3ea2982d87b70d9a':
Remove static libs from link command
|
|
|
|
Dynamic versions are found automatically. When USE_PT_GNU_EH_FRAME is
enabled libc.a has unresolved __executable_start which is not provided
by bfd linker when -pie option used.
See here: https://android-review.googlesource.com/#/c/42250
Change-Id: I4bfd7c319cece3306b880b49f9f52c622054588c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
Change-Id: I9a941909040d529b8397e5c4ab3152bf141ae486
|
|
Bug: 5010576
Change-Id: I5b5fa17d53d2d013297858bb9c8b789b0297b7b7
|
|
Change-Id: Ibd6692c2396d793756e07fc080423acd2ecc1af0
|
|
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
|
|
Change-Id: I47bb3f40f3a6820892d964b03b536e8796af06e5
|
|
Change-Id: I333b5111cc392b0edc02781ab30296f87b638f74
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|