Brad Fitzpatrick
31e2feeef3
am 2dc801f9: am 8da75ab8: Ignore property set timeouts.
...
* commit '2dc801f9fce57c35c00a3366f86bc38fe3e38c25':
Ignore property set timeouts.
2011-04-01 12:25:49 -07:00
Brad Fitzpatrick
2dc801f9fc
am 8da75ab8: Ignore property set timeouts.
...
* commit '8da75ab8936b0b7fcf8dd9a3befeb696ee6aa39d':
Ignore property set timeouts.
2011-04-01 12:24:15 -07:00
Brad Fitzpatrick
8da75ab893
Ignore property set timeouts.
...
Change-Id: Ic3f6119398368ba047736370336d0260905abd40
2011-04-01 10:53:12 -07:00
Brad Fitzpatrick
c992848617
am 099423ba: am 23bc3ff7: Don\'t futex_wait spin when setting properties. Wait for socket close.
...
* commit '099423ba1c68d960888905ce5de093ea8cb7ad39':
Don't futex_wait spin when setting properties. Wait for socket close.
2011-03-30 15:50:06 -07:00
Brad Fitzpatrick
099423ba1c
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.
2011-03-30 15:48:11 -07:00
Brad Fitzpatrick
23bc3ff71d
Don't futex_wait spin when setting properties. Wait for socket close.
...
Depends on init change I8dd685ea
Bug: 4185486
Change-Id: I5a2dbc3b7be1759212d4a3988d9033b9b947a1db
2011-03-30 15:28:11 -07:00
David 'Digit' Turner
bfe04ea0e6
am 8c6b848e: am 0e47a919: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit '8c6b848e435b86db58179763da30008ac7d4c24a':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-30 08:20:28 -07:00
David 'Digit' Turner
8c6b848e43
am 0e47a919: Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
...
* commit '0e47a919f413ff14a540a0dbad873ee8f834b210':
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
2011-03-25 08:51:56 -07:00
David 'Digit' Turner
0e47a919f4
Merge "libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++"
2011-03-25 08:39:37 -07:00
David 'Digit' Turner
aa8f50b404
am 6d46b099: am 2f169162: Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
...
* commit '6d46b09954847b8905507c22e84c39b33425c5bd':
libc: Fix leak in the DNS thread-specific state.
2011-03-25 01:50:13 -07:00
David 'Digit' Turner
6d46b09954
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.
2011-03-25 01:47:43 -07:00
David 'Digit' Turner
2f16916246
Merge "libc: Fix leak in the DNS thread-specific state." into honeycomb-mr1
2011-03-25 01:45:49 -07:00
Ken Sumrall
c913b28f20
am b130f004: am ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
...
* commit 'b130f00493f6ae3b2343e1caac002de528a45e41':
Add support for the utimensat(2) syscall to bionic.
2011-03-24 22:32:59 -07:00
Ken Sumrall
b130f00493
am ae2d5ba3: Add support for the utimensat(2) syscall to bionic.
...
* commit 'ae2d5ba31412c4f382ef405000baa866f35dd736':
Add support for the utimensat(2) syscall to bionic.
2011-03-24 22:31:40 -07:00
Ken Sumrall
ae2d5ba314
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
2011-03-24 18:18:48 -07:00
David 'Digit' Turner
8eda21baa5
libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++
...
See http://code.google.com/p/android/issues/detail?id=14627 for context.
Change-Id: Idb10b675667d0d6e64dcb1d382be11e45aa6f4c4
2011-03-22 14:22:32 +01:00
David 'Digit' Turner
4661fda2e5
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
2011-03-18 18:08:08 +01:00
Brad Fitzpatrick
38e53adadd
am c59b2482: am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit 'c59b248241b18492d20e112230a907c14400275b':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 11:43:29 -07:00
Brad Fitzpatrick
c59b248241
am 5a6f593b: Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
...
* commit '5a6f593b6197b96f980d9d45f9a981ef8705caf4':
Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type.
2011-03-16 11:41:24 -07:00
Brad Fitzpatrick
5a6f593b61
Merge "Use sigemptyset to initialise sigset_t values. sigset_t may not be implemented as an integral type."
2011-03-16 11:15:37 -07:00
satok
621bc53339
am 0b3c5c50: do not merge. Move property setting from libcutils to bionic.
...
* commit '0b3c5c50f7bed92282783995bf6a7cc777fa9392':
do not merge. Move property setting from libcutils to bionic.
2011-03-15 23:23:56 -07:00
satok
0b3c5c50f7
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
2011-03-15 23:06:58 -07:00
Mike Lockwood
9c0d66161c
am c8fe4add: (-s ours) am 3f14ff34: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit 'c8fe4add6d96bf982b63b382417942a9d58f847b':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 15:43:54 -07:00
Mike Lockwood
c8fe4add6d
am 3f14ff34: DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
* commit '3f14ff34dfbd00fcffb18b10a1a3e17e2cc5ebdf':
DO NOT MERGE: Update USB accessory kernel header to include serial number support
2011-03-15 14:49:22 -07:00
satok
aa00ec1a2c
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.
2011-03-14 22:47:16 -07:00
satok
ec7e8cc9dd
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
2011-03-15 11:02:26 +09:00
Mike Lockwood
d7321f833d
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
2011-03-14 18:24:55 -07:00
Mike Lockwood
a7e9442270
am 2bb79ad9: Update USB accessory kernel header to include serial number support
...
* commit '2bb79ad9b5941ad11b7ccaa8147577cef69524b2':
Update USB accessory kernel header to include serial number support
2011-03-14 17:43:39 -07:00
Mike Lockwood
3f14ff34df
DO NOT MERGE: Update USB accessory kernel header to include serial number support
...
Change-Id: I61d889b107bd5e052ebac393883b87dac730ea6a
Signed-off-by: Mike Lockwood <lockwood@android.com>
android-2.3.7_r1
android-2.3.6_r1
android-2.3.6_r0.9
android-2.3.5_r1
android-2.3.4_r1
android-2.3.4_r0.9
2011-03-14 19:16:28 -04:00
Mike Lockwood
2bb79ad9b5
Update USB accessory kernel header to include serial number support
...
Change-Id: Ic94e3f5ad278df43777fc4ea97f1fc67f6ccab0e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-14 17:50:44 -04:00
Mike Lockwood
78befc1211
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
2011-03-14 13:35:03 -07:00
Chris Dearman
c1519a52ef
Use sigemptyset to initialise sigset_t values.
...
sigset_t may not be implemented as an integral type.
Change-Id: I3f5ec86d6383685979d8d23ef508b6c609569b38
Signed-off-by: Raghu Gandham <raghu@mips.com>
2011-03-14 12:15:22 -07:00
Brad Fitzpatrick
f9316d37b4
am 08a4ce98: am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit '08a4ce983ba14cef394e5198c9561349ec7fef44':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 11:50:56 -07:00
David 'Digit' Turner
8d1f2e6ffc
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.
2011-03-14 10:53:11 -07:00
David 'Digit' Turner
448a1b9f18
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'
2011-03-14 10:53:09 -07:00
Brad Fitzpatrick
08a4ce983b
am 0c398985: Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
...
* commit '0c3989854fa3ea3ffb4152c013f68f2a21a52dc1':
[ENDIAN] Build md5 code correctly for bigendian targets
2011-03-14 10:52:05 -07:00
Brad Fitzpatrick
0c3989854f
Merge "[ENDIAN] Build md5 code correctly for bigendian targets"
2011-03-14 10:39:10 -07:00
Mike Lockwood
6139fa33ab
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>
2011-03-11 19:02:16 -05:00
David 'Digit' Turner
3134b56bb0
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
2011-03-11 15:40:21 -08:00
David 'Digit' Turner
b868a32df6
am 0b73dac8: am d6722bdd: Merge "libc: <stdint.h>: Proper C++"
...
* commit '0b73dac8aa9546c0f532c7ea5e0bf72dd029f271':
libc: <stdint.h>: Proper C++
2011-03-11 15:40:16 -08:00
David 'Digit' Turner
638608b11a
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.
2011-03-11 11:13:45 -08:00
David 'Digit' Turner
b299039d06
am e6e2ba1d: Merge "libc: <pthread.h>: Replace \'#if __cplusplus\' by \'#ifdef __cplusplus\'"
...
* commit 'e6e2ba1d40241c85de16d75cbd397cc3670d7535':
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
2011-03-11 11:12:11 -08:00
David 'Digit' Turner
da8ea213ab
Merge "libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined."
2011-03-11 09:32:33 -08:00
David 'Digit' Turner
e6e2ba1d40
Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"
2011-03-11 09:31:57 -08:00
David 'Digit' Turner
847b183f63
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
...
See http://code.google.com/p/android/issues/detail?id=15221
Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
2011-03-11 14:51:19 +01:00
David 'Digit' Turner
8b3cea6732
libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined.
...
Change-Id: I8b0ea266eab9c6f75d8407b704953ecaef948221
2011-03-11 14:39:05 +01:00
David 'Digit' Turner
0d6bbc7af0
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
2011-03-10 12:14:51 -08:00
David 'Digit' Turner
0b73dac8aa
am d6722bdd: Merge "libc: <stdint.h>: Proper C++"
...
* commit 'd6722bdd201e2747c55ec7255db7f1d5864ccdd3':
libc: <stdint.h>: Proper C++
2011-03-10 12:11:41 -08:00
David 'Digit' Turner
dfe6eda57e
Merge "libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition"
2011-03-10 11:35:58 -08:00
David 'Digit' Turner
0e5411b4ba
libc: <stdint.h>: fix typo in INTMAX_C()/UINTMAX_C() definition
...
Change-Id: I3c74269901a288c448734dd7eb442a62b9348db8
2011-03-10 20:35:17 +01:00