OSDN Git Service

android-x86/bionic.git
10 years agoRemove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.
Elliott Hughes [Fri, 18 Jul 2014 00:12:35 +0000 (17:12 -0700)]
Remove PR_SET_TIMERSLACK_PID from <sys/prctl.h>.

Change-Id: Ie70f23c80e8473ac9617b74967d7c84709f5b00d

10 years agoMerge "Fix private/bionic_name_mem.h build breakage."
Elliott Hughes [Thu, 17 Jul 2014 22:09:56 +0000 (22:09 +0000)]
Merge "Fix private/bionic_name_mem.h build breakage."

10 years agoFix private/bionic_name_mem.h build breakage.
Elliott Hughes [Thu, 17 Jul 2014 22:09:17 +0000 (15:09 -0700)]
Fix private/bionic_name_mem.h build breakage.

Change-Id: I8fe9c63dbbb5911721ca56791c0bff4bdf403314

10 years agoMerge "Remove non-standard prctl constants from <sys/prctl.h>."
Elliott Hughes [Thu, 17 Jul 2014 21:35:59 +0000 (21:35 +0000)]
Merge "Remove non-standard prctl constants from <sys/prctl.h>."

10 years agoRemove non-standard prctl constants from <sys/prctl.h>.
Elliott Hughes [Thu, 17 Jul 2014 21:26:33 +0000 (14:26 -0700)]
Remove non-standard prctl constants from <sys/prctl.h>.

Also remove __bionic_name_mem which has exactly one caller, and is only
ever expected to be used in this one place.

Change-Id: I833744f91e887639f5b2d1269f966ee9032af207

10 years agoMerge "Define atomic_charN_t only if charN_t is supported."
Hans Boehm [Thu, 17 Jul 2014 00:41:03 +0000 (00:41 +0000)]
Merge "Define atomic_charN_t only if charN_t is supported."

10 years agoDefine atomic_charN_t only if charN_t is supported.
Hans Boehm [Wed, 16 Jul 2014 18:33:48 +0000 (11:33 -0700)]
Define atomic_charN_t only if charN_t is supported.

Some platform code is apparently compiled with switches that do
not support char16_t and char32_t.  This caused stdatomic.h to fail
to compile.  This CL makes stdatomic.h usable in those environments.

Change-Id: Ie5a17f20b8b545c97128d00605b4eabd2a6bfe3e

10 years agoMerge "ptrace(3) should be varargs."
Elliott Hughes [Wed, 16 Jul 2014 23:30:39 +0000 (23:30 +0000)]
Merge "ptrace(3) should be varargs."

10 years agoptrace(3) should be varargs.
Elliott Hughes [Wed, 16 Jul 2014 22:18:54 +0000 (15:18 -0700)]
ptrace(3) should be varargs.

Bug: 16352070
Change-Id: Ied72e6e79eaf912fc93fc49ae7637af321a31a59

10 years agoMerge "Use VDSO for clock_gettime(2) and gettimeofday(2)."
Elliott Hughes [Wed, 16 Jul 2014 21:28:18 +0000 (21:28 +0000)]
Merge "Use VDSO for clock_gettime(2) and gettimeofday(2)."

10 years agoUse VDSO for clock_gettime(2) and gettimeofday(2).
Elliott Hughes [Tue, 15 Jul 2014 23:53:13 +0000 (16:53 -0700)]
Use VDSO for clock_gettime(2) and gettimeofday(2).

Bug: 15387103
Change-Id: Ifc3608ea65060c1dc38120b10b6e79874f182a36

10 years agoMerge "Make sure not to construct illegal property names."
Christopher Ferris [Wed, 16 Jul 2014 02:27:11 +0000 (02:27 +0000)]
Merge "Make sure not to construct illegal property names."

10 years agoMake sure not to construct illegal property names.
Christopher Ferris [Wed, 16 Jul 2014 02:09:07 +0000 (19:09 -0700)]
Make sure not to construct illegal property names.

Change-Id: I37624e69aec51efd4291f076fb87af3f35d33025

10 years agoMerge "Add gen syscalls step to instructions."
Christopher Ferris [Wed, 16 Jul 2014 02:08:18 +0000 (02:08 +0000)]
Merge "Add gen syscalls step to instructions."

10 years agoAdd gen syscalls step to instructions.
Christopher Ferris [Wed, 16 Jul 2014 02:02:33 +0000 (19:02 -0700)]
Add gen syscalls step to instructions.

Also, fix incorrect path to some tools.

Change-Id: I409fc02d7077f0d2811d90be19550e70f5d73c0e

10 years agoMerge "Regenerate the syscalls list after the uapi update."
Elliott Hughes [Wed, 16 Jul 2014 02:06:40 +0000 (02:06 +0000)]
Merge "Regenerate the syscalls list after the uapi update."

10 years agoRegenerate the syscalls list after the uapi update.
Elliott Hughes [Wed, 16 Jul 2014 01:39:27 +0000 (18:39 -0700)]
Regenerate the syscalls list after the uapi update.

Change-Id: I117c5b18f735376dd3ab5061018dc7db9c046202

10 years agoMerge "Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit."
Christopher Ferris [Tue, 15 Jul 2014 20:19:33 +0000 (20:19 +0000)]
Merge "Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit."

10 years agoFix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.
Christopher Ferris [Tue, 15 Jul 2014 01:47:23 +0000 (18:47 -0700)]
Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.

There were two bugs here:

- For 64 bit values, this did not properly round up.
- The macro rounded to the power of 2 less than value, not to the power
  of 2 greater than value.

Change-Id: If8cb41536a9d2f5c1bc213676f1e67a7903a36b0

10 years agoMerge "Remove isascii_l(3)."
Dan Albert [Tue, 15 Jul 2014 00:24:28 +0000 (00:24 +0000)]
Merge "Remove isascii_l(3)."

10 years agoRemove isascii_l(3).
Dan Albert [Mon, 14 Jul 2014 22:48:02 +0000 (15:48 -0700)]
Remove isascii_l(3).

Had intended to remove this one before submitting the locale changes,
but forgot. It isn't a standard ctype function, so we don't need it.

Change-Id: Ie9c09fa6c61b1101b5992fa06da30e373a0c6bf7

10 years agoMerge "Fix visibility for a bunch more symbols."
Elliott Hughes [Mon, 14 Jul 2014 22:15:36 +0000 (22:15 +0000)]
Merge "Fix visibility for a bunch more symbols."

10 years agoFix visibility for a bunch more symbols.
Elliott Hughes [Mon, 14 Jul 2014 21:41:47 +0000 (14:41 -0700)]
Fix visibility for a bunch more symbols.

Bug: 11156955
Bug: 15291317
Change-Id: I664f25cce7c17085a101d6593d8e01525a1f6a90

10 years agoMerge "Implement rand/srand in terms of random/srandom."
Elliott Hughes [Mon, 14 Jul 2014 19:19:58 +0000 (19:19 +0000)]
Merge "Implement rand/srand in terms of random/srandom."

10 years agoImplement rand/srand in terms of random/srandom.
Elliott Hughes [Mon, 14 Jul 2014 18:57:03 +0000 (11:57 -0700)]
Implement rand/srand in terms of random/srandom.

Code developed for glibc or older versions of bionic might expect more
randomness than the BSD implementation provides.

Bug: 15829381
Change-Id: Ia5a908a816e0a5f0639f514107a6384a51ec157e

10 years agoMerge "Sync upstream-openbsd."
Elliott Hughes [Mon, 14 Jul 2014 19:15:32 +0000 (19:15 +0000)]
Merge "Sync upstream-openbsd."

10 years agoSync upstream-openbsd.
Elliott Hughes [Mon, 14 Jul 2014 18:22:59 +0000 (11:22 -0700)]
Sync upstream-openbsd.

Change-Id: I5b9961a57e2ff05f63bd218c130bf8347850b9be

10 years agoMerge "Upstream atexit"
Dmitriy Ivanov [Mon, 14 Jul 2014 19:14:20 +0000 (19:14 +0000)]
Merge "Upstream atexit"

10 years agoUpstream atexit
Dmitriy Ivanov [Fri, 11 Jul 2014 19:59:16 +0000 (12:59 -0700)]
Upstream atexit

Change-Id: Ia454a2181b5058ed9783dc02b6b1805d0e4d2715

10 years agoMerge "Define SIOCKILLADDR which isn't in the common kernel uapi headers."
Elliott Hughes [Sat, 12 Jul 2014 04:12:09 +0000 (04:12 +0000)]
Merge "Define SIOCKILLADDR which isn't in the common kernel uapi headers."

10 years agoDefine SIOCKILLADDR which isn't in the common kernel uapi headers.
Elliott Hughes [Sat, 12 Jul 2014 04:10:15 +0000 (21:10 -0700)]
Define SIOCKILLADDR which isn't in the common kernel uapi headers.

Change-Id: I8760950d13a9625aa543e76bc9d6cd86ac782c2e

10 years agoMerge "Define three prctl constants that went missing from uapi."
Elliott Hughes [Sat, 12 Jul 2014 03:00:06 +0000 (03:00 +0000)]
Merge "Define three prctl constants that went missing from uapi."

10 years agoDefine three prctl constants that went missing from uapi.
Elliott Hughes [Sat, 12 Jul 2014 02:54:55 +0000 (19:54 -0700)]
Define three prctl constants that went missing from uapi.

Change-Id: Ib81846ddefe9a75e02151c6592ed99b1f8ec5858

10 years agoMerge "Add optimized memchr implementation from newlib"
Christopher Ferris [Fri, 11 Jul 2014 22:58:55 +0000 (22:58 +0000)]
Merge "Add optimized memchr implementation from newlib"

10 years agoAdd optimized memchr implementation from newlib
Bernhard Rosenkränzer [Thu, 10 Jul 2014 22:17:07 +0000 (00:17 +0200)]
Add optimized memchr implementation from newlib

Add NEON optimized memchr adapted from newlib

Change-Id: I91b2fafa243e4ab35fa56bb6171d48433c947cfd
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoMerge "EM_ARM and EM_AARCH64 are now in the uapi header."
Elliott Hughes [Fri, 11 Jul 2014 23:55:27 +0000 (23:55 +0000)]
Merge "EM_ARM and EM_AARCH64 are now in the uapi header."

10 years agoEM_ARM and EM_AARCH64 are now in the uapi header.
Elliott Hughes [Fri, 11 Jul 2014 18:01:42 +0000 (11:01 -0700)]
EM_ARM and EM_AARCH64 are now in the uapi header.

Change-Id: Ice73403daff75ea45b24e02351269f6c012df6c1

10 years agoMerge "Update kernel headers to v3.14."
Christopher Ferris [Fri, 11 Jul 2014 17:07:48 +0000 (17:07 +0000)]
Merge "Update kernel headers to v3.14."

10 years agoMerge "Enable building libc with clang."
Elliott Hughes [Fri, 11 Jul 2014 16:51:22 +0000 (16:51 +0000)]
Merge "Enable building libc with clang."

10 years agoEnable building libc with clang.
Elliott Hughes [Thu, 10 Jul 2014 23:57:27 +0000 (16:57 -0700)]
Enable building libc with clang.

Bug: 16218205
Change-Id: I024de2044fe016412c7bead22c264e96be4cb39c

10 years agoMerge "Revert "Revert "Add locale aware APIs."""
Dan Albert [Fri, 11 Jul 2014 16:44:02 +0000 (16:44 +0000)]
Merge "Revert "Revert "Add locale aware APIs."""

10 years agoRevert "Revert "Add locale aware APIs.""
Dan Albert [Wed, 9 Jul 2014 22:51:34 +0000 (22:51 +0000)]
Revert "Revert "Add locale aware APIs.""

This reverts commit 063e20c26943ec82ef1d53a544545e79054e93d3.

Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21

10 years agoMerge "The err family allow null format strings."
Elliott Hughes [Fri, 11 Jul 2014 02:53:59 +0000 (02:53 +0000)]
Merge "The err family allow null format strings."

10 years agoThe err family allow null format strings.
Elliott Hughes [Fri, 11 Jul 2014 02:31:29 +0000 (19:31 -0700)]
The err family allow null format strings.

Also remove declarations for the _* variants that were never implemented in bionic (or glibc).

Change-Id: I4ea1f17bbb377e70632c10dd218f47110cabc27b

10 years agoMerge "Make jemalloc the default choice."
Christopher Ferris [Fri, 11 Jul 2014 20:07:43 +0000 (20:07 +0000)]
Merge "Make jemalloc the default choice."

10 years agoMake jemalloc the default choice.
Christopher Ferris [Fri, 11 Jul 2014 01:53:41 +0000 (18:53 -0700)]
Make jemalloc the default choice.

Change-Id: I5ff0cf0c396b7ae6278e6fcd5a0d50f8b966fb54

10 years agoMerge "Slim down static binaries by avoiding stdio."
Elliott Hughes [Thu, 10 Jul 2014 21:58:14 +0000 (21:58 +0000)]
Merge "Slim down static binaries by avoiding stdio."

10 years agoMerge "Revert "Switch libm to building with clang.""
Elliott Hughes [Fri, 11 Jul 2014 01:24:25 +0000 (01:24 +0000)]
Merge "Revert "Switch libm to building with clang.""

10 years agoRevert "Switch libm to building with clang."
Elliott Hughes [Fri, 11 Jul 2014 01:24:15 +0000 (01:24 +0000)]
Revert "Switch libm to building with clang."

This reverts commit aadc4b2ff03b12142f2c6163266ebdb1df2a6e76.

The patch broke x86.

Change-Id: I0cda903732a685838bbd1877f94e1593a2a32acc

10 years agoSwitch libm to building with clang.
Elliott Hughes [Thu, 10 Jul 2014 23:58:07 +0000 (16:58 -0700)]
Switch libm to building with clang.

Bug: 16211965
Change-Id: I81ec9706a4f2b5e8a840508a0f711cd25a5826ca

10 years agoMerge "Switch libm to building with clang."
Elliott Hughes [Fri, 11 Jul 2014 01:13:05 +0000 (01:13 +0000)]
Merge "Switch libm to building with clang."

10 years agoUpdate kernel headers to v3.14.
Christopher Ferris [Wed, 9 Jul 2014 22:33:25 +0000 (15:33 -0700)]
Update kernel headers to v3.14.

Other changes:
- Modify update_all.py to skip ion header files when importing into aosp.
- Fix generate_uapi_headers.sh to handle imports from a linux-stable kernel.

Change-Id: I1ad81b9ccb063c21740f9875f2cc1238052cd4b3

10 years agoSlim down static binaries by avoiding stdio.
Elliott Hughes [Thu, 10 Jul 2014 19:34:23 +0000 (12:34 -0700)]
Slim down static binaries by avoiding stdio.

It's okay for a program to choose to drag in stdio, but it's unfortunate
if even the minimal "int main() { return 42; }" drags in stdio...

This brings the minimal static binary on ARM down from 78KiB to 46KiB.

Given that we don't have a separate -lpthread it's not obvious to me that
we can shave this down any further. I'm not sure whether this is a worthwhile
change for that reason. (And the fact that dynamic binaries, the usual case,
are unaffected either way.)

Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88

10 years agoMerge "Remove the global lock around thread stack creation."
Elliott Hughes [Thu, 10 Jul 2014 19:16:45 +0000 (19:16 +0000)]
Merge "Remove the global lock around thread stack creation."

10 years agoRemove the global lock around thread stack creation.
Elliott Hughes [Thu, 10 Jul 2014 17:25:26 +0000 (10:25 -0700)]
Remove the global lock around thread stack creation.

This lock has been here since the original commits, but as far as I can tell
it never served any purpose. We've never had a free list of cached stacks or
anything like that.

Change-Id: I9d665c7eaa9c699ce0659ffb111402a0239fe1f5

10 years agoMerge "Remove the obsolete _thread_created_hook."
Elliott Hughes [Thu, 10 Jul 2014 17:10:22 +0000 (17:10 +0000)]
Merge "Remove the obsolete _thread_created_hook."

10 years agoRemove the obsolete _thread_created_hook.
Elliott Hughes [Thu, 10 Jul 2014 05:13:55 +0000 (22:13 -0700)]
Remove the obsolete _thread_created_hook.

gdb won't even try to use this on Android because it knows we don't
support old enough kernels to need it.

Bug: 15470251
Change-Id: Ia6d54585d888bbab8ee0490a148a1586b25437b9

10 years agoMerge "Move __cmsg_nxthdr to its proper file."
Calin Juravle [Thu, 10 Jul 2014 15:13:47 +0000 (15:13 +0000)]
Merge "Move __cmsg_nxthdr to its proper file."

10 years agoMove __cmsg_nxthdr to its proper file.
Calin Juravle [Thu, 10 Jul 2014 11:47:13 +0000 (12:47 +0100)]
Move __cmsg_nxthdr to its proper file.

Change-Id: I095fb6bc5318f2d256baa97658bdfe679d235aec

10 years agoRemoved obsolete symbol cmsg_nxthdr.
Calin Juravle [Mon, 7 Jul 2014 12:33:04 +0000 (13:33 +0100)]
Removed obsolete symbol cmsg_nxthdr.

Bug: 15822452
Change-Id: I5322fb29522fc58e9c3489ff86216e25a12ef970

10 years agoMerge "Do not include libc_common in malloc debug code."
Christopher Ferris [Thu, 10 Jul 2014 05:06:47 +0000 (05:06 +0000)]
Merge "Do not include libc_common in malloc debug code."

10 years agoDo not include libc_common in malloc debug code.
Christopher Ferris [Thu, 10 Jul 2014 00:16:07 +0000 (17:16 -0700)]
Do not include libc_common in malloc debug code.

The inclusion of the static libc_common library in the malloc_debug_XXX.so
shared libraries causes constructors to be called twice. This doesn't seem
to have caused any issues when setting the libc.debug.malloc property.
However, jemalloc crashes because there are two jemalloc implementations,
one in the static libc_common library and one in the shared library. Each
implementation has created overlapping thread keys that are not the same.
The crash comes because one of the jemalloc keys is actually used by the
locale setting code. Thus if someone sets the locale, the jemalloc code
crashes trying to access the same key.

Change-Id: Iaac650a82d69064db148a6333e9403744f68b4a4

10 years agoMerge "Removed obsolete symbol cmsg_nxthdr."
Calin Juravle [Thu, 10 Jul 2014 11:46:22 +0000 (11:46 +0000)]
Merge "Removed obsolete symbol cmsg_nxthdr."

10 years agoMerge "Added __system_propery_read benchmark."
Elliott Hughes [Wed, 9 Jul 2014 18:03:19 +0000 (18:03 +0000)]
Merge "Added __system_propery_read benchmark."

10 years agoAdded __system_propery_read benchmark.
Brigid Smith [Wed, 9 Jul 2014 17:26:17 +0000 (10:26 -0700)]
Added __system_propery_read benchmark.

Change-Id: Ic0e9118859a013aa04841de25822a81a7fc74b3c

10 years agoMerge "Added a __system_property_serial benchmark."
Elliott Hughes [Wed, 9 Jul 2014 22:57:49 +0000 (22:57 +0000)]
Merge "Added a __system_property_serial benchmark."

10 years agoAdded a __system_property_serial benchmark.
Brigid Smith [Wed, 9 Jul 2014 22:48:37 +0000 (15:48 -0700)]
Added a __system_property_serial benchmark.

Change-Id: Ifc2116f26acb242f4dcdb6eefe128899a9dc63bb

10 years agoMerge "update-tzdata.py needs to know where to find icu."
Elliott Hughes [Wed, 9 Jul 2014 22:54:31 +0000 (22:54 +0000)]
Merge "update-tzdata.py needs to know where to find icu."

10 years agoupdate-tzdata.py needs to know where to find icu.
Elliott Hughes [Wed, 9 Jul 2014 22:42:59 +0000 (15:42 -0700)]
update-tzdata.py needs to know where to find icu.

Change-Id: If5561b92c233276fb072da62be21f23df4781c41

10 years agoMerge "Add locale aware APIs."
Dan Albert [Wed, 9 Jul 2014 22:45:18 +0000 (22:45 +0000)]
Merge "Add locale aware APIs."

10 years agoAdd locale aware APIs.
Dan Albert [Wed, 9 Jul 2014 17:09:04 +0000 (10:09 -0700)]
Add locale aware APIs.

Since we only support the C locale, we can just forward all of these to
their non-locale equivalents for correct behavior.

Change-Id: Ib7be71b7f636309c0cc3be1096a4c1f693f04fbb

10 years agoMerge "TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64...
Ying Wang [Wed, 9 Jul 2014 16:15:45 +0000 (16:15 +0000)]
Merge "TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target"

10 years agoMerge "Revert "Add locale aware APIs.""
Dan Albert [Wed, 9 Jul 2014 22:51:06 +0000 (22:51 +0000)]
Merge "Revert "Add locale aware APIs.""

10 years agoRevert "Add locale aware APIs."
Dan Albert [Wed, 9 Jul 2014 22:50:43 +0000 (22:50 +0000)]
Revert "Add locale aware APIs."

Accidentally verified against a dirty tree. Needs the companion change to libc++ to land upstream before I can submit this.

This reverts commit e087eac404b0e30de427392065e2750acf92bd4a.

Change-Id: I317ecd0923114f415eaad7603002f77feffb5e3f

10 years agoMerge "Remove __CTOR_LIST__ from mips/mips64."
Elliott Hughes [Wed, 9 Jul 2014 16:48:41 +0000 (16:48 +0000)]
Merge "Remove __CTOR_LIST__ from mips/mips64."

10 years agoRemove __CTOR_LIST__ from mips/mips64.
Elliott Hughes [Wed, 9 Jul 2014 16:20:17 +0000 (09:20 -0700)]
Remove __CTOR_LIST__ from mips/mips64.

Change-Id: I3486b09e30b32ddb67da602cbc2b5fb0402f9764

10 years agoMerge "Don't zero r1 on entry to the dynamic linker."
Elliott Hughes [Wed, 9 Jul 2014 16:25:10 +0000 (16:25 +0000)]
Merge "Don't zero r1 on entry to the dynamic linker."

10 years agoDon't zero r1 on entry to the dynamic linker.
Elliott Hughes [Wed, 9 Jul 2014 02:22:57 +0000 (19:22 -0700)]
Don't zero r1 on entry to the dynamic linker.

There's no need: __linker_init only takes one argument.

Also remove the arm __CTOR_LIST__; we use .init_array and .fini_array instead
of .ctor and .dtor anyway, and I don't think we've ever supported the latter.

Change-Id: Ifc91a5a90c6aa39d674bf0509a7af2e1ff0beddd

10 years agoTARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64...
Ying Wang [Wed, 9 Jul 2014 01:54:42 +0000 (18:54 -0700)]
TARGET_OUT_DATA_NATIVE_TESTS now points to $(TARGET_OUT_DATA)/nativetest64 in 64-bit target

Change-Id: I9a562e79de7ec0f065c90de9ae1b72cbcd7d8c6b

10 years agoMerge "Add test for constructor function."
Dmitriy Ivanov [Wed, 9 Jul 2014 04:24:57 +0000 (04:24 +0000)]
Merge "Add test for constructor function."

10 years agoAdd test for constructor function.
Dmitriy Ivanov [Wed, 9 Jul 2014 04:21:34 +0000 (21:21 -0700)]
Add test for constructor function.

Change-Id: I0ad26d617f00cdd6c2241d613be39a1d16918612

10 years agoMerge "Change android_dlextinfo flags to uint64_t"
Dmitriy Ivanov [Tue, 8 Jul 2014 18:27:20 +0000 (18:27 +0000)]
Merge "Change android_dlextinfo flags to uint64_t"

10 years agoChange android_dlextinfo flags to uint64_t
Dmitriy Ivanov [Tue, 8 Jul 2014 18:21:56 +0000 (11:21 -0700)]
Change android_dlextinfo flags to uint64_t

Change-Id: Id27e8f8e58dbcf6ae79644f2ad3af3dd0aef9ae7

10 years agoMerge "Regenerate the bionic NOTICE files."
Elliott Hughes [Tue, 8 Jul 2014 17:40:53 +0000 (17:40 +0000)]
Merge "Regenerate the bionic NOTICE files."

10 years agoRegenerate the bionic NOTICE files.
Elliott Hughes [Mon, 7 Jul 2014 22:42:06 +0000 (15:42 -0700)]
Regenerate the bionic NOTICE files.

Also fix a few formatting issues in copyright headers that were confusing
the script (though obviously it would be better if the script were smarter).

Change-Id: I7f561bef4f84fdcbd84f375ee226bd65db0e507b

10 years agoMerge "Remove some dead data."
Elliott Hughes [Mon, 7 Jul 2014 17:53:23 +0000 (17:53 +0000)]
Merge "Remove some dead data."

10 years agoRemove some dead data.
Elliott Hughes [Mon, 7 Jul 2014 16:46:11 +0000 (09:46 -0700)]
Remove some dead data.

Clang doesn't like dead data, and this is just an LP32 compatibility turd.

Change-Id: I3832748a4e773b254877f4438b5340e7d4c1ce70

10 years agoMerge "Fix recv.cpp so it can build with clang."
Elliott Hughes [Wed, 2 Jul 2014 23:58:33 +0000 (23:58 +0000)]
Merge "Fix recv.cpp so it can build with clang."

10 years agoFix recv.cpp so it can build with clang.
Elliott Hughes [Wed, 2 Jul 2014 23:46:34 +0000 (16:46 -0700)]
Fix recv.cpp so it can build with clang.

Change-Id: Iac3e676aa256837333240219bcadbdc31985b5dd

10 years agoMerge "Fix all resolv warnings and turn on -Werror."
Elliott Hughes [Wed, 2 Jul 2014 23:43:03 +0000 (23:43 +0000)]
Merge "Fix all resolv warnings and turn on -Werror."

10 years agoFix all resolv warnings and turn on -Werror.
Elliott Hughes [Wed, 2 Jul 2014 23:27:20 +0000 (16:27 -0700)]
Fix all resolv warnings and turn on -Werror.

The res_init.c changes bring us a bit closer to upstream too, though
there's still work to be done there. Some of the remaining differences
look like bugs we'd want to fix, so we should definitely try to come
back to that.

Change-Id: I50baa148e967c90d55d711e9904ad54c7d724d4d

10 years agoMerge "Build fix"
Dmitriy Ivanov [Wed, 2 Jul 2014 23:09:47 +0000 (23:09 +0000)]
Merge "Build fix"

10 years agoBuild fix
Dmitriy Ivanov [Wed, 2 Jul 2014 23:05:24 +0000 (16:05 -0700)]
Build fix

Change-Id: Ib43e0f055e3c5f07b50393bfcab9738454835ac3

10 years agoMerge "Load library using file handle."
Dmitriy Ivanov [Wed, 2 Jul 2014 22:48:24 +0000 (22:48 +0000)]
Merge "Load library using file handle."

10 years agoMerge "Switch to upstream OpenBSD mktemp.c."
Elliott Hughes [Wed, 2 Jul 2014 20:59:18 +0000 (20:59 +0000)]
Merge "Switch to upstream OpenBSD mktemp.c."

10 years agoMerge "Fix three clang complaints about the DNS code."
Elliott Hughes [Mon, 7 Jul 2014 17:50:21 +0000 (17:50 +0000)]
Merge "Fix three clang complaints about the DNS code."

10 years agoFix three clang complaints about the DNS code.
Elliott Hughes [Mon, 7 Jul 2014 16:44:17 +0000 (09:44 -0700)]
Fix three clang complaints about the DNS code.

These are all already fixed upstream in the same way.

Change-Id: I2881b6d0fbd0237fffc0f00563bc14750dcce0d9

10 years agoMerge "Fix a broken boolean test found by clang."
Elliott Hughes [Mon, 7 Jul 2014 17:49:58 +0000 (17:49 +0000)]
Merge "Fix a broken boolean test found by clang."

10 years agoFix a broken boolean test found by clang.
Elliott Hughes [Mon, 7 Jul 2014 16:45:15 +0000 (09:45 -0700)]
Fix a broken boolean test found by clang.

This was only on the failure case, so this probably never caused
any real trouble.

Change-Id: Id983689772102cbb9171693b927e544fb0b584fb

10 years agoMerge "Use __unused rather than self assignment for unused parameters."
Elliott Hughes [Mon, 7 Jul 2014 17:49:33 +0000 (17:49 +0000)]
Merge "Use __unused rather than self assignment for unused parameters."