OSDN Git Service
Robert Greenwalt [Mon, 25 Jul 2011 19:30:17 +0000 (12:30 -0700)]
Add per-interface dns caches.
import of changes 22100 and 23138 from opensource.
Change-Id: I3ce86394323d269272aeb2bebeed4374f171a8cf
Michael I. Gold [Tue, 24 May 2011 23:46:27 +0000 (16:46 -0700)]
am
a7f976c9: update linux/tegrafb.h
* commit '
a7f976c9de3c20cc8cdde4f3dfeeb48a1a89adb7':
update linux/tegrafb.h
Michael I. Gold [Fri, 13 May 2011 22:23:26 +0000 (15:23 -0700)]
update linux/tegrafb.h
Change-Id: I6bccdb7e0eb34fc4ca370458f44ed187ccb67ac8
The Android Automerger [Mon, 9 May 2011 05:30:23 +0000 (22:30 -0700)]
Merge remote branch 'goog/honeycomb-mr2' into honeycomb-LTE
Elliott Hughes [Mon, 25 Apr 2011 17:46:43 +0000 (10:46 -0700)]
Update to tzdata2011g.
Egypt abandoned DST this year.
git cherry-pick
8d54a62c6d7896565102cef3bac4c30232ec847d
Change-Id: I8df051cd270108651501d9da6a9e5ce127ad3d22
Brian Carlstrom [Wed, 27 Apr 2011 18:55:43 +0000 (11:55 -0700)]
Tracking change to dns proxy protocol
The gethostbyaddr code in system/netd now expects a string address
from inet_ntop, not raw bytes, in order to properly pass addresses
containing null and probably spaces and newlines characeters as well.
Bug:
4344448
git cherry-pick -e
c13fa640eea3285a586fc4bad0abf2fc1b902185
Brad Fitzpatrick [Fri, 1 Apr 2011 19:24:15 +0000 (12:24 -0700)]
am
8da75ab8: Ignore property set timeouts.
* commit '
8da75ab8936b0b7fcf8dd9a3befeb696ee6aa39d':
Ignore property set timeouts.
Brad Fitzpatrick [Fri, 1 Apr 2011 17:53:12 +0000 (10:53 -0700)]
Ignore property set timeouts.
Change-Id: Ic3f6119398368ba047736370336d0260905abd40
Brad Fitzpatrick [Wed, 30 Mar 2011 22:48:11 +0000 (15:48 -0700)]
am
23bc3ff7: Don\'t futex_wait spin when setting properties. Wait for socket close.
* commit '
23bc3ff71dffdfec208aee05938e544c7cb3bc37':
Don't futex_wait spin when setting properties. Wait for socket close.
Brad Fitzpatrick [Wed, 30 Mar 2011 20:10:04 +0000 (13:10 -0700)]
Don't futex_wait spin when setting properties. Wait for socket close.
Depends on init change I8dd685ea
Bug:
4185486
Change-Id: I5a2dbc3b7be1759212d4a3988d9033b9b947a1db
David 'Digit' Turner [Fri, 25 Mar 2011 08:47:43 +0000 (01:47 -0700)]
am
2f169162: Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
* commit '
2f169162462e44d7aa6443e682b15fc756c2e4ad':
libc: Fix leak in the DNS thread-specific state.
David 'Digit' Turner [Fri, 25 Mar 2011 08:45:49 +0000 (01:45 -0700)]
Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
Ken Sumrall [Fri, 25 Mar 2011 05:31:40 +0000 (22:31 -0700)]
am
ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
* commit '
ae2d5ba31412c4f382ef405000baa866f35dd736':
Add support for the utimensat(2) syscall to bionic.
Ken Sumrall [Fri, 18 Mar 2011 18:55:12 +0000 (11:55 -0700)]
Add support for the utimensat(2) syscall to bionic.
The kernel has supported this syscall for quite some time now,
but bionic did not. Now that there is a need for it, let's
add it to bionic.
Change-Id: Ifcef3e46f1438d79435b600c4e6063857ab16903
David 'Digit' Turner [Thu, 17 Mar 2011 20:31:33 +0000 (21:31 +0100)]
libc: Fix leak in the DNS thread-specific state.
This patch fixes a leak that occurs when creating a new
thread-specific DNS resolver state object.
Essentially, each thread that calls gethostbyname() or getaddrinfo()
at least once will leak a small memory block. Another leak happens
anytime these functions are called after a change of the network
settings.
The leak is insignificant and hard to notice on typical programs.
However, netd tends to create one new thread for each DNS request
it processes, and quickly grows in size after a > 20 hours.
The same problem is seen in other system processes that tend to
create one thread per request too.
The leak occured becasue res_ninit() was called twice when creating
a new thread-specific DNS resolver state in _res_get_thread().
This function could not properly reset an existing thread and was
leaking a memory block.
The patch does two things:
- First, it fixes res_ninit() to prevent any leakage when resetting
the state of a given res_state instance.
- Second, it modifies the _res_get_thread() implementation to
make it more explicit, and avoid calling res_ninit() twice
in a row on first-time creation.
Fix for Bug
4089945, and Bug
4090857
Change-Id: Ie4831a8dbe82be8f07fce5ddd1d36bf95994f836
satok [Tue, 15 Mar 2011 02:02:26 +0000 (11:02 +0900)]
do not merge. Move property setting from libcutils to bionic.
Backport I110b653a58f3
All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.
Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.
Along with Iee1ca9b7, this now passes:
$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
Bug:
3511230
Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
satok [Tue, 15 Mar 2011 05:47:16 +0000 (22:47 -0700)]
am
ec7e8cc9: (-s ours) do not merge. Move property setting from libcutils to bionic.
* commit '
ec7e8cc9dddafc624cd28939c1a38ea336c89455':
do not merge. Move property setting from libcutils to bionic.
satok [Tue, 15 Mar 2011 02:02:26 +0000 (11:02 +0900)]
do not merge. Move property setting from libcutils to bionic.
Backport I110b653a58f3
All the other property stuff is already here. Property setting was
only in libcutils previously to leverage a utility function / constant
or two.
Unfortunately in the process of fixing a race condition we would've
had to do break abstraction boundaries and put some libc-internal
details into libcutils so instead of that we'll just move this
into bionic.
Along with Iee1ca9b7, this now passes:
$ adb shell am instrument -w -e class android.os.SystemPropertiesTest \
com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
Bug:
3511230
Change-Id: I1b588db3344169621e1279ecc0b660cf4e1015d7
Mike Lockwood [Tue, 15 Mar 2011 01:24:55 +0000 (18:24 -0700)]
am
78befc12: (-s ours) am
6139fa33: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
* commit '
78befc121181a17a1a537575274a35f75267902b':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
Mike Lockwood [Tue, 15 Mar 2011 00:43:39 +0000 (17:43 -0700)]
am
2bb79ad9: Update USB accessory kernel header to include serial number support
* commit '
2bb79ad9b5941ad11b7ccaa8147577cef69524b2':
Update USB accessory kernel header to include serial number support
Mike Lockwood [Mon, 14 Mar 2011 21:50:44 +0000 (17:50 -0400)]
Update USB accessory kernel header to include serial number support
Change-Id: Ic94e3f5ad278df43777fc4ea97f1fc67f6ccab0e
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Mon, 14 Mar 2011 20:35:03 +0000 (13:35 -0700)]
am
6139fa33: DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
* commit '
6139fa33ab823e935471fa71bba4c6f715ad6c56':
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
Brad Fitzpatrick [Mon, 14 Mar 2011 18:50:56 +0000 (11:50 -0700)]
am
08a4ce98: am
0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
* commit '
08a4ce983ba14cef394e5198c9561349ec7fef44':
[ENDIAN] Build md5 code correctly for bigendian targets
David 'Digit' Turner [Mon, 14 Mar 2011 17:53:11 +0000 (10:53 -0700)]
am
638608b1: am
da8ea213: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
* commit '
638608b11afbd255ddbd15e739f0f638791a4305':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
David 'Digit' Turner [Mon, 14 Mar 2011 17:53:09 +0000 (10:53 -0700)]
am
b299039d: am
e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
* commit '
b299039d060eb5f523c05e4f9b6934a6b897a54f':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
Brad Fitzpatrick [Mon, 14 Mar 2011 17:52:05 +0000 (10:52 -0700)]
am
0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
* commit '
0c3989854fa3ea3ffb4152c013f68f2a21a52dc1':
[ENDIAN] Build md5 code correctly for bigendian targets
Brad Fitzpatrick [Mon, 14 Mar 2011 17:39:10 +0000 (10:39 -0700)]
Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
Mike Lockwood [Thu, 10 Mar 2011 02:57:00 +0000 (21:57 -0500)]
DO NOT MERGE: linux/usb/f_accessory.h: Update USB accessory kernel header
For bugs b/
4079236, b/
4073248 and b/
4080288
Change-Id: Id9cdbe95d7dd892bf38e16e7da505ee0eae26b99
Signed-off-by: Mike Lockwood <lockwood@android.com>
David 'Digit' Turner [Fri, 11 Mar 2011 23:40:21 +0000 (15:40 -0800)]
am
0d6bbc7a: am
dfe6eda5: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
* commit '
0d6bbc7af091ee05dd032492ae594c263404e4aa':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
David 'Digit' Turner [Fri, 11 Mar 2011 23:40:16 +0000 (15:40 -0800)]
am
0b73dac8: am
d6722bdd: Merge "libc: <stdint.h>: Proper C++"
* commit '
0b73dac8aa9546c0f532c7ea5e0bf72dd029f271':
libc: <stdint.h>: Proper C++
David 'Digit' Turner [Fri, 11 Mar 2011 19:13:45 +0000 (11:13 -0800)]
am
da8ea213: Merge "libc: <stdint.h>: Don\'t make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
* commit '
da8ea213abb8bec08da37622179061630bd8e2f8':
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
David 'Digit' Turner [Fri, 11 Mar 2011 19:12:11 +0000 (11:12 -0800)]
am
e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
* commit '
e6e2ba1d40241c85de16d75cbd397cc3670d7535':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
David 'Digit' Turner [Fri, 11 Mar 2011 17:32:33 +0000 (09:32 -0800)]
Merge "libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
David 'Digit' Turner [Fri, 11 Mar 2011 17:31:57 +0000 (09:31 -0800)]
Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"
David 'Digit' Turner [Fri, 11 Mar 2011 13:51:19 +0000 (14:51 +0100)]
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
See http://code.google.com/p/android/issues/detail?id=15221
Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
David 'Digit' Turner [Fri, 11 Mar 2011 13:39:05 +0000 (14:39 +0100)]
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
Change-Id: I8b0ea266eab9c6f75d8407b704953ecaef948221
David 'Digit' Turner [Thu, 10 Mar 2011 20:14:51 +0000 (12:14 -0800)]
am
dfe6eda5: Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
* commit '
dfe6eda57e1e463427f941d5d71f8ccb5297d6d2':
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
David 'Digit' Turner [Thu, 10 Mar 2011 20:11:41 +0000 (12:11 -0800)]
am
d6722bdd: Merge "libc: <stdint.h>: Proper C++"
* commit '
d6722bdd201e2747c55ec7255db7f1d5864ccdd3':
libc: <stdint.h>: Proper C++
David 'Digit' Turner [Thu, 10 Mar 2011 19:35:58 +0000 (11:35 -0800)]
Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
David 'Digit' Turner [Thu, 10 Mar 2011 19:34:23 +0000 (20:34 +0100)]
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
Change-Id: I3c74269901a288c448734dd7eb442a62b9348db8
Paul Lind [Thu, 10 Mar 2011 19:13:50 +0000 (11:13 -0800)]
[ENDIAN] Build md5 code correctly for bigendian targets
Signed-off-by: Raghu Gandham <raghu@mips.com>
David 'Digit' Turner [Thu, 10 Mar 2011 19:01:24 +0000 (11:01 -0800)]
Merge "libc: <stdint.h>: Proper C++"
David 'Digit' Turner [Thu, 10 Mar 2011 17:02:01 +0000 (18:02 +0100)]
libc: <stdint.h>: Proper C++
This patch prevents the definition of various macros when <stdint.h> is
included from C++. The ISO C99 standard mentions that when this header
is included from a C++ source file, limit and constant related macros
should only be defined when asked explicitely by defining
__STDC_LIMIT_MACROS and __STD_CONSTANT_MACROS, respectively.
The <stdint.h> lacked the proper #ifdef .. #endif blocks for the
following macros:
INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, PTRDIFF_MIN, PTRDIFF_MAX
INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX,
INPTR_C, UINTPR_C, PTRDIFF_C, INTMAX_C, UINTMAX_C
This is intended to fix http://code.google.com/p/android/issues/detail?id=14380
after we copy this file to development/ndk/platforms/android-3/include/
Change-Id: Ia77e0822edfaaf568ea599d7de673b310eeeaa4a
Mike Lockwood [Thu, 10 Mar 2011 15:52:33 +0000 (07:52 -0800)]
am
c0fc678e: linux/usb/f_accessory.h: Update USB accessory kernel header
* commit '
c0fc678e969885cf95d2dacaad647cdc3f704f6e':
linux/usb/f_accessory.h: Update USB accessory kernel header
David 'Digit' Turner [Thu, 10 Mar 2011 09:55:35 +0000 (01:55 -0800)]
am
962dcb22: am
fed58049: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
* commit '
962dcb22218a1a6d4ebd05e4fc4a69875d037234':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
David 'Digit' Turner [Thu, 10 Mar 2011 09:51:19 +0000 (01:51 -0800)]
am
fed58049: Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
* commit '
fed58049d50083e4c960d89f4bbd516a181c2d18':
libc: Fix PTHREAD_RWLOCK_INITIALIZER
Proxy getnameinfo through netd
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Convert cname lenght before use
David 'Digit' Turner [Thu, 10 Mar 2011 09:26:26 +0000 (01:26 -0800)]
Merge "libc: Fix PTHREAD_RWLOCK_INITIALIZER"
David 'Digit' Turner [Thu, 10 Mar 2011 09:22:55 +0000 (10:22 +0100)]
libc: Fix PTHREAD_RWLOCK_INITIALIZER
The macro definition was incorrect and resulted in a compile error
when used.
Fixes http://code.google.com/p/android/issues/detail?id=15306
Change-Id: I8fa6047b63e7f56b53653774327099822c469cd1
Mike Lockwood [Thu, 10 Mar 2011 02:57:00 +0000 (21:57 -0500)]
linux/usb/f_accessory.h: Update USB accessory kernel header
For bugs b/
4079236, b/
4073248 and b/
4080288
Change-Id: I641a0fa93492c7059900f0193c722356d13eeab5
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Wed, 9 Mar 2011 22:05:42 +0000 (14:05 -0800)]
am
2703b704: (-s ours) am
6bd73ed4: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
* commit '
2703b7046cebfadee325500d957501afbba11ebc':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
Mike Lockwood [Wed, 9 Mar 2011 21:31:58 +0000 (13:31 -0800)]
am
6bd73ed4: Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
* commit '
6bd73ed417c52ed57d5f62ea9988b6071a1efbeb':
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
Jason Chen [Wed, 2 Mar 2011 23:32:53 +0000 (15:32 -0800)]
am
0ca21df5: (-s ours) am
6519756b: Merge "DO NOT MERGE Cherry-pick of
0ee092fb2 from master" into honeycomb
* commit '
0ca21df5c6fbb22498cfde93b4fd4cac3235901b':
DO NOT MERGE Cherry-pick of
0ee092fb2 from master
Jason Chen [Wed, 2 Mar 2011 01:51:49 +0000 (17:51 -0800)]
am
6519756b: Merge "DO NOT MERGE Cherry-pick of
0ee092fb2 from master" into honeycomb
* commit '
6519756b23a8b18d06dae53cc3ece32c87146972':
DO NOT MERGE Cherry-pick of
0ee092fb2 from master
Jason Chen [Wed, 2 Mar 2011 01:48:25 +0000 (17:48 -0800)]
Merge "DO NOT MERGE Cherry-pick of
0ee092fb2 from master" into honeycomb
Mattias Falk [Tue, 15 Feb 2011 07:44:20 +0000 (08:44 +0100)]
DO NOT MERGE Cherry-pick of
0ee092fb2 from master
Convert cname lenght before use
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I78552d427ef6500d9121fc83423f0744ea0c3087
Erik Gilling [Tue, 1 Mar 2011 22:46:11 +0000 (14:46 -0800)]
add linux/nvhdcp.h header
Change-Id: I74a1cf90bc9807002869aa9c7b5eddb065638db2
Mattias Falk [Tue, 15 Feb 2011 07:44:20 +0000 (08:44 +0100)]
Convert cname lenght before use
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I1a0cc12780c47f7493fcf06f690515829f88c01e
Brad Fitzpatrick [Tue, 22 Feb 2011 15:18:56 +0000 (07:18 -0800)]
Merge "Proxy getnameinfo through netd"
David Turner [Tue, 22 Feb 2011 15:05:32 +0000 (07:05 -0800)]
Merge "Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list"
Mattias Falk [Tue, 15 Feb 2011 07:45:26 +0000 (08:45 +0100)]
Proxy getnameinfo through netd
Proxy the parts of getnameinfo that utilize
the dns cache through netd.
Change-Id: I1d57c451ea6b179c34828cf57a4182b262674003
Mike Lockwood [Tue, 15 Feb 2011 14:20:21 +0000 (09:20 -0500)]
Add linux/usb/f_accessory.h header for USB accessory driver DO NOT MERGE
Change-Id: I972d28065ee7e77e93699512310fcd6d5742ed0d
Signed-off-by: Mike Lockwood <lockwood@android.com>
David Turner [Fri, 18 Feb 2011 23:22:27 +0000 (15:22 -0800)]
Merge changes I8c481c89,I791406f8,I5f09cef8
* changes:
libc: ARM: update syscalls with new script
libc: ARM: add size info to gensyscalls
Add function marks and size indications
David Turner [Fri, 18 Feb 2011 22:53:03 +0000 (14:53 -0800)]
Merge "Move the zoneinfo generation tool into bionic."
Elliott Hughes [Fri, 18 Feb 2011 00:20:07 +0000 (16:20 -0800)]
Move the zoneinfo generation tool into bionic.
This also incorporates a bunch of changes to the previous script; this one
requires no setup, can be run from anywhere, and leaves no droppings.
Change-Id: I38f299f03e33950d2a64e9336f4ba7cb3c5cf6f0
Kenny Root [Thu, 17 Feb 2011 18:47:44 +0000 (10:47 -0800)]
libc: ARM: update syscalls with new script
Used the new gensyscalls.py script to update the ARM syscalls with the
BEGIN(x) and END(x) macros to give size information for the code of the
syscall. Useful for valgrind.
Change-Id: I8c481c8928401ac110fd19b087f7d67e4db39326
Kenny Root [Thu, 17 Feb 2011 18:31:30 +0000 (10:31 -0800)]
libc: ARM: add size info to gensyscalls
Add size information to gensyscalls output for ARM syscalls with new
BEGIN(x) and END(x) macros in arch-arm/include/machine/asm.h
Change-Id: I791406f8b17abcb83b70a6d15a65a527de15d3f5
Kenny Root [Wed, 16 Feb 2011 19:55:58 +0000 (11:55 -0800)]
Add function marks and size indications
Add a macro to annotate function end and start using both ENTRY and END
for each function. This allows valgrind (and presumably other debugging
tools) to use the debug symbols to trace the functions.
Change-Id: I5f09cef8e22fb356eb6f5cee952b031e567599b6
Kenny Root [Thu, 17 Feb 2011 15:50:36 +0000 (07:50 -0800)]
Amend previous commit with needed include
Change-Id: Idae8daaf095d90513820e05f423144ffed4ba913
David Turner [Thu, 17 Feb 2011 02:58:45 +0000 (18:58 -0800)]
Merge "Convert cname lenght before use"
Bruce Beare [Thu, 27 Jan 2011 18:23:16 +0000 (10:23 -0800)]
Updated gcc 4.4.3 IA toolchain doesn't require the .ctors list
Change-Id: Ia840a19a45257128eccdcf25d105f500f2d90741
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Kenny Root [Thu, 17 Feb 2011 00:39:04 +0000 (16:39 -0800)]
Use CLZ on ARMv5 and newer
Change-Id: Ia5aa6974c0343ae43fbcb91304501213048e9ec0
Mike Lockwood [Wed, 16 Feb 2011 13:57:39 +0000 (05:57 -0800)]
Merge "Add linux/usb/f_accessory.h header for USB accessory driver"
Elliott Hughes [Tue, 15 Feb 2011 22:12:24 +0000 (14:12 -0800)]
Add MODULE_LICENSE_PUBLIC_DOMAIN for the tzdata.
Change-Id: Ie3dd3daef4610f3bd4cbc60f1de854ad28189038
Elliott Hughes [Tue, 15 Feb 2011 21:29:40 +0000 (13:29 -0800)]
Update to 2011b tzdata.
Change-Id: Ic8c9e9a71a52435441db1367fb40b58ae23efe1a
Mike Lockwood [Tue, 15 Feb 2011 14:20:21 +0000 (09:20 -0500)]
Add linux/usb/f_accessory.h header for USB accessory driver
Change-Id: Id6ffd75f855028739674c36f30d2592391d90859
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mattias Falk [Tue, 15 Feb 2011 07:44:20 +0000 (08:44 +0100)]
Convert cname lenght before use
The length of the cname is sent in big-endian
order. Thus, it has to be converted before used
in android_getaddrinfo_proxy
Change-Id: I1a0cc12780c47f7493fcf06f690515829f88c01e
Kenny Root [Mon, 14 Feb 2011 23:46:36 +0000 (15:46 -0800)]
Merge "Fix the handle locking in stdio"
Kenny Root [Sat, 12 Feb 2011 15:13:44 +0000 (07:13 -0800)]
Fix the handle locking in stdio
Fix the handle locking in stdio to use flockfile/funlockfile
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
Based on OpenBSD change by guenther@openbsd.org
http://www.mail-archive.com/source-changes@cvs.openbsd.org/msg01015.html
Bug:
3446659
Change-Id: Ie82116e358c541718d6709ec45ca6796be5a007b
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:34:41 +0000 (12:34 -0800)]
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:32:38 +0000 (12:32 -0800)]
Jean-Baptiste Queru [Fri, 11 Feb 2011 20:17:21 +0000 (12:17 -0800)]
Merge "Update"
Dmitry Shmidt [Thu, 6 Jan 2011 23:30:35 +0000 (15:30 -0800)]
Update
Change-Id: I41f590dec6bfd26c36cf01601cf03502d02d29af
Kenny Root [Fri, 11 Feb 2011 01:02:21 +0000 (17:02 -0800)]
Increase SO_MAX to accomodate valgrind
system_server loads up 87 shared libraries upon start. Running under
valgrind pushes this just over the edge of 96. Increase SO_MAX to 128 to
give us some more headroom.
Change-Id: Iadceb14ab6d9621bdccd292570d50867828057d9
David Turner [Mon, 7 Feb 2011 21:51:27 +0000 (13:51 -0800)]
am
b35d80f0: am
76299d19: Merge "Remove an extra register move."
* commit '
b35d80f0b0a6d87ba20aa2de594db19a0ccf93df':
Remove an extra register move.
David Turner [Mon, 7 Feb 2011 21:51:25 +0000 (13:51 -0800)]
am
d7cf6382: am
8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
* commit '
d7cf638288f100f29f6ba733c50f12ecdb5e192b':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
David Turner [Mon, 7 Feb 2011 21:51:22 +0000 (13:51 -0800)]
am
9e401df6: am
1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
* commit '
9e401df692e3c47124cbaff7b866f55eec3bba27':
move some typedefs to procfs.h required by gdbserver build
David Turner [Mon, 7 Feb 2011 21:43:54 +0000 (13:43 -0800)]
am
dd279aa9: am
2282ecc2: Merge "Use more optimized version of memmove"
* commit '
dd279aa99f6b6310480e28ba1e843a23f722c87e':
Use more optimized version of memmove
David Turner [Mon, 7 Feb 2011 16:00:04 +0000 (08:00 -0800)]
am
76299d19: Merge "Remove an extra register move."
* commit '
76299d196f8cc731b5bd72880f63d9d9cfd05694':
Remove an extra register move.
David Turner [Mon, 7 Feb 2011 16:00:02 +0000 (08:00 -0800)]
am
8db7bcb1: Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
* commit '
8db7bcb14f6a3222151bb5304a55670bad0dc5a1':
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
David Turner [Mon, 7 Feb 2011 16:00:00 +0000 (08:00 -0800)]
am
1447332f: Merge "move some typedefs to procfs.h required by gdbserver build"
* commit '
1447332ffa163f608ebed332e09ab5519e4b17dd':
move some typedefs to procfs.h required by gdbserver build
David Turner [Sun, 6 Feb 2011 23:01:57 +0000 (15:01 -0800)]
Merge "Remove an extra register move."
David Turner [Sun, 6 Feb 2011 23:01:39 +0000 (15:01 -0800)]
Merge "Replace __atomic_XXX with GCC __sync_XXX intrinsics."
David Turner [Sun, 6 Feb 2011 23:01:02 +0000 (15:01 -0800)]
Merge "move some typedefs to procfs.h required by gdbserver build"
David 'Digit' Turner [Sun, 6 Feb 2011 20:53:23 +0000 (12:53 -0800)]
Merge "libc: Update auto-gen scripts"
Andy McFadden [Fri, 4 Feb 2011 22:45:57 +0000 (14:45 -0800)]
Added _memmove_words
Added a memmove() variant for Dalvik's System.arraycopy()
implementation. It guarantees 16-bit or 32-bit atomicity depending
on the alignment of the arguments.
Bug
3398352
Change-Id: Ie7bd246305ef0ff8290513663327c5b81680368d
David Turner [Fri, 4 Feb 2011 18:16:01 +0000 (10:16 -0800)]
am
2282ecc2: Merge "Use more optimized version of memmove"
* commit '
2282ecc295b58197a1e22f38a20750ccab4e3c69':
Use more optimized version of memmove
David Turner [Fri, 4 Feb 2011 13:13:35 +0000 (05:13 -0800)]
Merge "Use more optimized version of memmove"
Brad Fitzpatrick [Fri, 4 Feb 2011 02:07:54 +0000 (18:07 -0800)]
am
b8175727: am
9a330512: Merge "Add time-to-live (TTL) support to resolver cache"
* commit '
b8175727c7a165076311f18c29f09bdc27d7be10':
Add time-to-live (TTL) support to resolver cache
Bruce Beare [Thu, 27 Jan 2011 18:25:33 +0000 (10:25 -0800)]
Remove an extra register move.
Change-Id: I63c217b73203b44b1a2e74950b58f2ec12989cab
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Bruce Beare [Thu, 27 Jan 2011 18:24:52 +0000 (10:24 -0800)]
Replace __atomic_XXX with GCC __sync_XXX intrinsics.
Change-Id: I14f275392fcd70cc15e307470e0a099777c7c09e
Author: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>