summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge "libadf: add tests"Greg Hackmann2014-11-242-0/+279
|\ \ \ | |/ / | | / | |/ |/|
| * libadf: add testsGreg Hackmann2014-05-072-0/+279
| | | | | | | | | | Change-Id: I353099bf194d4d566c720e44190ad34f407f3dce Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | Merge "Lose clear, false, and true to toybox."Elliott Hughes2014-11-234-150/+0
|\ \
| * | Lose clear, false, and true to toybox.Elliott Hughes2014-11-224-150/+0
|/ / | | | | | | Change-Id: I125ea881e61b834b188d9a5411f3b6efe59b9bad
* | Merge "Fix Mac build."Elliott Hughes2014-11-221-1/+1
|\ \
| * | Fix Mac build.Elliott Hughes2014-11-221-1/+1
|/ / | | | | | | Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
* | Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN."Elliott Hughes2014-11-226-89/+10
|\ \
| * | Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.Elliott Hughes2014-11-216-89/+10
| | | | | | | | | | | | Change-Id: I9e25ac9d27e95b04fb8bf7a66c619af0139d8b8f
* | | Merge "Kill LOCAL_SOCKET_NAMESPACE."Elliott Hughes2014-11-223-7/+7
|\ \ \ | |/ / |/| |
| * | Kill LOCAL_SOCKET_NAMESPACE.Elliott Hughes2014-11-213-7/+7
|/ / | | | | | | Change-Id: I18928f89f66c37be310c45ff4c05a6d47ab84f66
* | Merge "system/core: Remove AID_GRAPHICS from adb groups"Nick Kralevich2014-11-221-3/+2
|\ \
| * | system/core: Remove AID_GRAPHICS from adb groupsAjay Dudani2014-11-211-3/+2
|/ / | | | | | | | | | | | | Remove AID_GRAPHICS from adb access groups to limit framebuffer access. Change-Id: I7fc6dca8b02a45d67d1ecc4a4daf6c38741ffb94
* | Merge "Add a missing include."Dan Albert2014-11-211-0/+3
|\ \
| * | Add a missing include.Dan Albert2014-11-211-0/+3
| | | | | | | | | | | | | | | | | | Needed following the pthread.h/signal.h cleanup. Change-Id: I9a43732eefdf49ecf769659dee1170626cf8fff9
* | | Merge "notify: dynamically allocate filename buffer"Elliott Hughes2014-11-211-4/+8
|\ \ \
| * | | notify: dynamically allocate filename bufferJohan Redestig2014-11-201-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use asprintf to dynamically allocate filename buffer rather than just reserving 512 bytes on the stack to avoid potential overflow. Change-Id: Ieeb9c6c2e5f97a9574f8128d84eba0b8efdb7263
* | | | Merge "Remove the adb usb vendor id whitelist."Elliott Hughes2014-11-214-412/+0
|\ \ \ \
| * | | | Remove the adb usb vendor id whitelist.Elliott Hughes2014-11-214-412/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | If there are bad vendors, we should blacklist them. Whitelisting the entire world is crazy. Change-Id: I1f4c27fd34fc420e2a3b4b2c8749198030db69f1
* | | | Merge "Disable vendor id filtering for OS X."Elliott Hughes2014-11-211-56/+37
|\ \ \ \
| * | | | Disable vendor id filtering for OS X.Al Sutton2014-11-211-56/+37
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Companion patch for change I2bf583a27f9a3f98ef006ea62b906a4f89960507. Due to the use of USB class 0xff it's not possible to register a listener which uses the OS methods for filtering notifications, so this patch also introduces a check in the notification listener which checks the class, subclass, and protocol for the interface each notification relates to. Change-Id: I380cc80f96addc5057660efb2179b35f9378886a
* | | | Merge "Remove explict use of ASCII encoding"Elliott Hughes2014-11-212-2/+2
|\ \ \ \
| * | | | Remove explict use of ASCII encodingAl Sutton2014-11-212-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the use of CFStringGetCString with kCFStringEncodingASCII specified with CFStringGetFileSystemRepresentation which will ensure the correct character encoding is used to conver the CFString into a NULL terminated char array suitable for use with POSIX APIs. Change-Id: Ibab1dc05c4f4db8604d329a493b4241992b8e69d
* | | | Merge "adb: Add USB vendor ID for Ubiquiti Networks, Inc."Elliott Hughes2014-11-211-0/+3
|\ \ \ \
| * | | | adb: Add USB vendor ID for Ubiquiti Networks, Inc.Jeremy Chang2014-11-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iedb86b9ff8dc55aea5d0df201a98c96418002207 Signed-off-by: Jeremy Chang <jeremy@ubnt.com>
* | | | | Merge "Fix format string"Chih-Hung Hsieh2014-11-211-3/+4
|\ \ \ \ \
| * | | | | Fix format stringChih-Hung Hsieh2014-11-201-3/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make a format string match the type of the parameter it represents Change-Id: I0af88636448084b56450996ea9dafdba3c1fd2a3 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org
* | | | | Merge "Make mkdirAndChown do what it claims to do"Chih-hung Hsieh2014-11-211-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Make mkdirAndChown do what it claims to doBernhard Rosenkränzer2014-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, mkdirAndChown takes parameters for mode, uid and gid, but ignores them and hardcodes 0750, AID_SYSTEM, AID_SYSTEM instead. This doesn't matter much because so far its only invocation passes exactly those values as parameters -- but clang complains about unused parameters. Might as well make the function do what it claims to do. Change-Id: I5a8056be3278a0c5d0a576dbc061288aa0956a35 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | | | | Merge "Add a pre-C++11 constexpr compatibility macro."Dan Albert2014-11-201-0/+11
|\ \ \ \ \
| * | | | | Add a pre-C++11 constexpr compatibility macro.Dan Albert2014-11-201-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed for cases where something should be constexpr if possible, but not being constexpr is fine if in pre-C++11 code (such as a const static float member variable). Bug: 18466763 Change-Id: I635d062575ba2fbc4cbe3a89f730128c404d95e1
* | | | | | Merge "Return path including executable instead of without"Elliott Hughes2014-11-202-10/+10
|\ \ \ \ \ \
| * | | | | | Return path including executable instead of withoutAl Sutton2014-11-202-10/+10
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation returned the path the executable was in instead of returning the path including the executable (i.e. it returned ...bin instead of ...bin/executable). This is not what the original methods did and caused the process forking of adb to fail. This patch corrects the implementation. Change-Id: Ib58497cab35706041f170c1bc97c31fd5d965f90
* | | | | | Merge "Disable vendor id filtering for Linux."Elliott Hughes2014-11-202-20/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Disable vendor id filtering for Linux.Elliott Hughes2014-11-192-20/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's time we switched to blacklisting any problematic devices rather than slowly whitelisting the entire world. This seems to work for me, but let's see how other people get on before coming back to actually remove the list. We'll also need to find a Mac to test the equivalent Mac change. Change-Id: I2bf583a27f9a3f98ef006ea62b906a4f89960507
* | | | | Merge "kill HAVE_PREAD"Yabin Cui2014-11-201-2/+2
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | kill HAVE_PREADYabin Cui2014-11-191-2/+2
|/ / / / | | | | | | | | | | | | | | | | Bug: 18397613 Change-Id: I3990bd0f95cf38c5a9229180a1ddc699941892fc
* | | | Merge "logd: throttle SELinux denials to 20/sec"Nick Kralevich2014-11-193-22/+13
|\ \ \ \
| * | | | logd: throttle SELinux denials to 20/secNick Kralevich2014-11-193-22/+13
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impose a limit of 20 selinux denials per second. Denials beyond that point don't add any value, and have the potential to cause crashes or denial of service attacks. Do some other misc cleanup while I'm here. Bug: 18341932 Change-Id: I6125d629ae4d6ae131d2e53bfa41e1f50277d402
* | | | Merge "Fix building on modern versions of Xcode and OS X."Elliott Hughes2014-11-192-15/+16
|\ \ \ \ | |/ / / |/| | |
| * | | Fix building on modern versions of Xcode and OS X.Al Sutton2014-11-192-15/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent versions of XCode fail to compile the adb and fastboot binaries due to two functions being deprecated in 10.9 (GetCurrentProcess and ProcessInformationCopyDictionary), and the use of -Werrror. This patch replaces the method implementations which use calls to methods deprecated in the 10.9 SDK with versions which only call non-deprecated methods. Change-Id: I855bf26aff45093ca9022924f3ecd1b80f2305a8
* | | Merge "kill HAVE_MADVISE"Yabin Cui2014-11-191-2/+6
|\ \ \
| * | | kill HAVE_MADVISEYabin Cui2014-11-191-2/+6
|/ / / | | | | | | | | | | | | | | | Change to avoid "unused parameter" warning. Bug: 18397020 Change-Id: I4b26de55314c78237daead8e873385b97cafe4d4
* | | Merge "kill HAVE_MADVISE"Yabin Cui2014-11-191-2/+2
|\ \ \
| * | | kill HAVE_MADVISEYabin Cui2014-11-181-2/+2
|/ / / | | | | | | | | | | | | Bug: 18397020 Change-Id: Ibc8d886d729c51932a403531888214de4e541452
* | | Merge "Revert "adb: Add USB vendor ID for Honeywell""Elliott Hughes2014-11-181-3/+0
|\ \ \
| * | | Revert "adb: Add USB vendor ID for Honeywell"Elliott Hughes2014-11-181-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8c4c8e8988411449ecb2f50c25d3e4188e81e7c0. Change-Id: Ia1cad862f42e5bea3174ed2cc0eea5232fc0a858
* | | | Merge "toolbox: enable mkswap to work on block devices"Elliott Hughes2014-11-181-41/+39
|\ \ \ \
| * | | | toolbox: enable mkswap to work on block devicesAndrew Boie2014-11-181-41/+39
|/ / / / | | | | | | | | | | | | | | | | Change-Id: I9b71ca3fa09ffbe12dcc4d04229edab80851db4d Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
* | | | Merge "toolbox: indicate why swap{on|off} failed"Elliott Hughes2014-11-182-2/+2
|\ \ \ \
| * | | | toolbox: indicate why swap{on|off} failedAndrew Boie2014-04-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1247e3592ab0f9878fb27d114fd14f9b29282b0e Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>