summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of an infinite loop in NetlinkEvent.cpp.Lorenzo Colitti2013-11-201-8/+7
| | | | | | | | | [Cherry-pick of 3984276ce47c965ad02a522280a139e0a0c7e5cf] Bug: 10358527 Bug: 10263310 Bug: 10232006 Change-Id: I750e4bdf2000040adf214d6a772591d7bd25b350
* Parse IP address changes in NetlinkEvent.Lorenzo Colitti2013-11-202-1/+117
| | | | | | | | | | | | | | | This adds support for parsing RTM_NEWADDR and RTM_DELADDR netlink messages received on netd's netlink socket and formatting them them so NetlinkHandler can process them. Address changes are notified in subsystem "address". Interface changes, which used to be notified in subsystem "net", are now notified in subsystem "interface" to avoid confusion. [Cherry-pick of a4b4e9ad8e35ab424e61d76ebe6654445fc61e63] Bug: 10232006 Change-Id: I93a50e8de17014e118a42f5cc0eb90a0cbfa73cc
* Merge "Remove x86 debuggerd dependencies on non-uapi headers and corkscrew."Elliott Hughes2013-11-151-14/+6
|\
| * Remove x86 debuggerd dependencies on non-uapi headers and corkscrew.Elliott Hughes2013-11-141-14/+6
|/ | | | | | | Also remove a hack that claims to be "just like ARM", but which was different from the ARM and MIPS behavior. Change-Id: I9b16da9a56430998ded27d304ce52c7cc8bfedfc
* Merge "Fix libnetutils to build with clean uapi headers."Elliott Hughes2013-11-121-0/+5
|\
| * Fix libnetutils to build with clean uapi headers.Elliott Hughes2013-11-121-0/+5
| | | | | | | | | | | | | | (And old ones too.) Bug: 11559337 Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
* | Merge "Fix nandread to build with old or uapi headers."Elliott Hughes2013-11-121-2/+6
|\ \ | |/ |/|
| * Fix nandread to build with old or uapi headers.Elliott Hughes2013-11-111-2/+6
|/ | | | | Bug: 11559337 Change-Id: I9795a16649dafdfe3df150170265157170cd5a79
* Merge "Revert "Revert enabling libunwind.""Christopher Ferris2013-11-081-1/+1
|\
| * Revert "Revert enabling libunwind."Christopher Ferris2013-11-081-1/+1
| | | | | | | | | | | | This reverts commit db2309e3d104e47088135a7f1bb89ac853657838. Change-Id: I1626442f029473066ce20921667a406f1a1ea865
* | Merge "Revert enabling libunwind."Elliott Hughes2013-11-071-1/+1
|\ \ | |/
| * Revert enabling libunwind.Christopher Ferris2013-11-071-1/+1
| | | | | | | | | | | | It appears that some branches might not have libunwind set up properly. Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
* | Merge "Let external/mksh install directly into /system/bin/sh."Elliott Hughes2013-11-071-14/+0
|\ \ | |/ |/|
| * Let external/mksh install directly into /system/bin/sh.Elliott Hughes2013-11-051-14/+0
| | | | | | | | Change-Id: I3ac60af2b5c6bba98c33cb63952eb4d35676d73f
* | Merge "Enable libunwind on arm platforms."Christopher Ferris2013-11-071-1/+1
|\ \
| * | Enable libunwind on arm platforms.Christopher Ferris2013-11-061-1/+1
| | | | | | | | | | | | | | | Bug: 8410085 Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
* | | Merge "Fix include files in backtrace.h."Christopher Ferris2013-11-071-2/+2
|\ \ \ | |/ / |/| |
| * | Fix include files in backtrace.h.Christopher Ferris2013-11-061-2/+2
|/ / | | | | | | | | | | (cherry picked from commit 08932582226456b8789b52c28462e2224dfcc2e4) Change-Id: I37a78a9472b94ae84a84d871bfa9a070ff882699
* | Merge "Use new defines in test code."Christopher Ferris2013-11-052-17/+15
|\ \
| * | Use new defines in test code.Christopher Ferris2013-11-052-17/+15
|/ / | | | | | | | | | | | | In addition, fix up the warnings and remove the -fpermissive when compiling. Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c
* | Merge "Add some clarifying defines."Christopher Ferris2013-11-052-3/+11
|\ \ | |/ |/|
| * Add some clarifying defines.Christopher Ferris2013-11-052-3/+11
|/ | | | | | | In order to be explicit in the Backtrace::Create() calls, adding a couple of defines and some comments to describe what they mean. Change-Id: I6ad08c529791821496a95fa33cea1c95b0a7eada
* Merge "Dispose of ash."Elliott Hughes2013-11-0585-25738/+2
|\
| * Dispose of ash.Elliott Hughes2013-11-0585-25738/+2
| | | | | | | | | | | | | | | | | | | | | | We haven't used ash for several releases. Remove ash and its companion liblinenoise. I've left the support for an alternative shell here for now, but we can move that out to external/mksh later if we want. (For now this seemed like a somewhat useful signpost to the real shell.) Change-Id: I634c7969f6cbe375a2bc56fc1077e64888380f3d
* | Merge "Add corkscrew support for finding static symbols."Christopher Ferris2013-11-041-7/+25
|\ \ | |/ |/|
| * Add corkscrew support for finding static symbols.Christopher Ferris2013-11-041-7/+25
|/ | | | Change-Id: Ie557a9b0efadece75e1accaa7e214fb559eb19e1
* Merge "More libbacktrace fixes."Christopher Ferris2013-10-308-121/+117
|\
| * More libbacktrace fixes.Christopher Ferris2013-10-308-121/+117
| | | | | | | | | | | | | | | | | | | | | | | | Included in minor fix ups is the addition of a warning macro to replace all of the ALOGW calls. Fix a race where multiple threads could be attempting to unwind the threads of the current process at the same time. Bug: 8410085 Change-Id: I02a65dc778dde690e5f95fc8ff069a32d0832fd1
* | Merge "Fix a bunch of small system/core bugs."Elliott Hughes2013-10-299-4/+17
|\ \ | |/ |/|
| * Fix a bunch of small system/core bugs.Elliott Hughes2013-10-299-4/+17
|/ | | | | | | | | | | | | | | | | | | | | Missing frees in: adb/file_sync_client.c fastboot/fastboot.c libsparse/output_file.c Missing closedirs in: adb/file_sync_service.c cpio/mkbootfs.c libcutils/dir_hash.c Potential buffer overrun in: gpttool/gpttool.c Incorrect NULL check in: libsparse/backed_block.c Bug: https://code.google.com/p/android/issues/detail?id=61564 Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
* Merge "Rewrite libbacktrace using C++."Christopher Ferris2013-10-2928-1059/+2398
|\
| * Rewrite libbacktrace using C++.Christopher Ferris2013-10-2828-1059/+2398
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code was essentially trying to be C++ in C and was awkward. This change makes it all objects with a thin layer that C code can use. There is a C++ backtrace object that is not very useful, this code will replace it. This change also includes moving the backtrace test to a gtest, and adding coverage of all major functionality. Bug: 8410085 Change-Id: Iae0f1b09b3dd60395f71ed66010c1ea5cdd37841
* | Merge "Improve some adb error logging"Brian Carlstrom2013-10-282-2/+4
|\ \
| * | Improve some adb error loggingBrian Carlstrom2013-10-272-2/+4
|/ / | | | | | | | | Bug: 11290643 Change-Id: Ibad4e9f0b69421cd6017b70a52237e7f27aab848
* | Merge "Eliminate text relocations in x86 optimized memset versions"Elliott Hughes2013-10-242-8/+8
|\ \ | |/ |/|
| * Eliminate text relocations in x86 optimized memset versionsPavel Chupin2013-10-242-8/+8
|/ | | | | Change-Id: Ieb72af8cf7f93210a68a87b1e2538deb5642f4d5 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Merge "Use %zd for size_t."Elliott Hughes2013-10-191-1/+1
|\
| * Use %zd for size_t.Elliott Hughes2013-10-181-1/+1
|/ | | | Change-Id: I0139243c309e85236eb00bb471736bdd99eeec84
* Merge "Wait for device to disappear after reboot-bootloader."JP Abgrall2013-10-179-59/+122
|\
| * Wait for device to disappear after reboot-bootloader.Mark Wachsler2013-10-179-59/+122
|/ | | | | | | | | | | | | | | | (Linux only for now) With fastboot reading serial numbers from sysfs, it had become possible for a fastboot command issued immediately after rebooting the bootloader to fail, because sysfs still thought the device was online. To prevent this, after reboot-bootloader we wait for the device to disconnect. Also made usb_read and usb_write fail immediately if the descriptor has been closed; this prevents an incorrect error message ("Bad file descriptor") when errors from fb_getvar are ignored (e.g., by fb_format_supported). Also removed unused fd param from filter_usb_device, and simplified logic in usb_write by using do/while instead of a special case for len == 0. Change-Id: I799b857eab411fd8ad25f5777fc61c685152ea86
* Merge "init: remove obsolete rle logo"JP Abgrall2013-10-174-190/+21
|\
| * init: remove obsolete rle logoMarcin Chojnacki2013-10-164-190/+21
|/ | | | | | | | | Obsolete RLE 565 logo is used nowhere, because 565 framebuffer isn't used for years. It's not necessary to keep this thing alive anymore. Change-Id: Ie61e168790f791230530cd3eb1c68b1f7344c9a7
* Merge "Add a restorecon_recursive built-in command to init."Nick Kralevich2013-10-104-3/+24
|\
| * Add a restorecon_recursive built-in command to init.Stephen Smalley2013-10-104-3/+24
| | | | | | | | | | | | | | | | | | | | | | Functionally equivalent to the restorecon -R toolbox command. A use case is given by: I48eaa2b9901ac8c978192c14493ba1058a089423 Also, fix error handling and documentation for restorecon command. Change-Id: Ia7fbcc82645baf52c6bff0490d3492f458881cbb Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | Merge "Add support for ECDSA P-256 with SHA256"Kenny Root2013-10-1016-34/+2580
|\ \
| * | Add support for ECDSA P-256 with SHA256Kenny Root2013-10-0916-34/+2580
| |/ | | | | | | | | | | | | This adds a small EC library that is capable of verifying a signature of SHA256 with ECDSA on the NIST P-256 curve. Change-Id: I2a16639c92a77e8e4783c47ffbc56676de56eb59
* | Merge "libcutils doesn't need to be looking at bionic's privates."Elliott Hughes2013-10-101-5/+0
|\ \
| * | libcutils doesn't need to be looking at bionic's privates.Elliott Hughes2013-10-101-5/+0
|/ / | | | | | | Change-Id: Ib11a0c1bdc4b85c58274b21a07aa92f958d23713
* | Merge "Cleanup x86 flags and memset versions"Elliott Hughes2013-10-103-21/+2
|\ \
| * | Cleanup x86 flags and memset versionsPavel Chupin2013-10-103-21/+2
|/ / | | | | | | | | | | | | ARCH_X86_HAVE_SSE2 is always true Change-Id: I680493d14280aafad5448aec727e8d9a84a6db00 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>