summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | am 456661e3: Merge "Fix Mac build."Elliott Hughes2014-11-221-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '456661e38cefe1afbf640036f710f0d481b64bf9': Fix Mac build.
| * | | | Merge "Fix Mac build."Elliott Hughes2014-11-221-1/+1
| |\ \ \ \
| | * | | | Fix Mac build.Elliott Hughes2014-11-221-1/+1
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
* | | | | am 0101b06f: Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and ↵Elliott Hughes2014-11-226-89/+10
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | HAVE_LITTLE_ENDIAN." * commit '0101b06fa6f9863ee87e89757e70900c3a0e7bfc': Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
| * | | | 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
* | | | | | am eda16b98: Merge "Kill LOCAL_SOCKET_NAMESPACE."Elliott Hughes2014-11-223-7/+7
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'eda16b98dce3ef4c75b7b46c6acdab2b6970f54a': Kill LOCAL_SOCKET_NAMESPACE.
| * | | | | Merge "Kill LOCAL_SOCKET_NAMESPACE."Elliott Hughes2014-11-223-7/+7
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Kill LOCAL_SOCKET_NAMESPACE.Elliott Hughes2014-11-213-7/+7
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I18928f89f66c37be310c45ff4c05a6d47ab84f66
* | | | | am 6fe92d1a: Merge "system/core: Remove AID_GRAPHICS from adb groups"Nick Kralevich2014-11-221-3/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '6fe92d1a3fb17545d82d020a3c995f32e6b71f9d': system/core: Remove AID_GRAPHICS from adb groups
| * | | | 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
* | | | | am 06352ccb: Merge "Add a missing include."Dan Albert2014-11-211-0/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '06352ccb291554c13c1a3e714b558436050b6b74': Add a missing include.
| * | | | 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
* | | | | | am caed3d9f: Merge "notify: dynamically allocate filename buffer"Elliott Hughes2014-11-211-4/+8
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit 'caed3d9fae1fd372dfa01cb60fbf157233c9052e': notify: dynamically allocate filename buffer
| * | | | | 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
* | | | | | | resolved conflicts for merge of bc2168c9 to lmp-mr1-dev-plus-aospElliott Hughes2014-11-214-415/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | Change-Id: Ic53ce9bdb658838368b4e9029a1f7a4137dd0499
| * | | | | | 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
* | | | | | | am 97e1e170: Merge "Disable vendor id filtering for OS X."Elliott Hughes2014-11-211-56/+37
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '97e1e1704245d4c2edd8a9e155669aaae7341b7d': Disable vendor id filtering for OS X.
| * | | | | | 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
* | | | | | | am 0750f786: Merge "Remove explict use of ASCII encoding"Elliott Hughes2014-11-212-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '0750f78659758352490e599d057a39dc44e93340': Remove explict use of ASCII encoding
| * | | | | | 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
* | | | | | | am 01d49e85: Merge "adb: Add USB vendor ID for Ubiquiti Networks, Inc."Elliott Hughes2014-11-211-0/+3
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '01d49e854fa09a776c9673b229efcfa2d53adfea': adb: Add USB vendor ID for Ubiquiti Networks, Inc.
| * | | | | | 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>
* | | | | | | | am 84babf39: Merge "Fix format string"Chih-Hung Hsieh2014-11-211-3/+4
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '84babf397420528df3944636bc46bab741e21aea': Fix format string
| * | | | | | | 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
* | | | | | | | am 07148ea2: Merge "Make mkdirAndChown do what it claims to do"Chih-hung Hsieh2014-11-211-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '07148ea2be8110e2310860c5e6a391e542a656be': Make mkdirAndChown do what it claims to do
| * | | | | | | 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>
* | | | | | | | am 5d8a5ade: Merge "Add a pre-C++11 constexpr compatibility macro."Dan Albert2014-11-201-0/+11
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '5d8a5ade620be65e0e658dbb99e66398f3ffdc74': Add a pre-C++11 constexpr compatibility macro.
| * | | | | | | 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
* | | | | | | | am aa3e17e1: Merge "Return path including executable instead of without"Elliott Hughes2014-11-202-10/+10
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit 'aa3e17e1b685218cddeb7a05e68ff1721a322147': Return path including executable instead of without
| * | | | | | | 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
* | | | | | | | am 51184950: Merge "Disable vendor id filtering for Linux."Elliott Hughes2014-11-202-20/+4
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * commit '511849507a7b2f4e259f6763c62f0c8619977b06': Disable vendor id filtering for Linux.
| * | | | | | | 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
* | | | | | | am 46ee85fc: Merge "kill HAVE_PREAD"Yabin Cui2014-11-201-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '46ee85fcc301471aff9d95a817599349570dcef8': kill HAVE_PREAD
| * | | | | | Merge "kill HAVE_PREAD"Yabin Cui2014-11-201-2/+2
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | kill HAVE_PREADYabin Cui2014-11-191-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18397613 Change-Id: I3990bd0f95cf38c5a9229180a1ddc699941892fc
* | | | | | logd: throttle SELinux denials to 20/secNick Kralevich2014-11-190-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 83d8556 * commit '83d85563c51fa39cb61b836302a8c26fe0e2ace6': logd: throttle SELinux denials to 20/sec
| * | | | | 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 (cherry picked from commit c234a1b879d9c9d8e1a797c5dcf3098249945748) Change-Id: Ic5c96003db82e504baf301e87be5c8c539c73c2a