OSDN Git Service

android-x86/bionic.git
9 years agoam 87c44930: am 9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."
Elliott Hughes [Thu, 5 Feb 2015 20:31:07 +0000 (20:31 +0000)]
am 87c44930: am 9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."

* commit '87c44930486af960de27996d94b742f19399b82b':
  Use the libcxxabi __cxa_demangle.

9 years agoam 1ec1bbda: am 9a9b6357: Merge "Apparently, logd does need the NULs."
Elliott Hughes [Thu, 5 Feb 2015 20:31:06 +0000 (20:31 +0000)]
am 1ec1bbda: am 9a9b6357: Merge "Apparently, logd does need the NULs."

* commit '1ec1bbda7f254266653a0db470f6e5d699a0cad1':
  Apparently, logd does need the NULs.

9 years agoam 9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."
Elliott Hughes [Thu, 5 Feb 2015 20:26:21 +0000 (20:26 +0000)]
am 9dfb00c1: Merge "Use the libcxxabi __cxa_demangle."

* commit '9dfb00c1d48545a2627c2aded62d3a79749351fb':
  Use the libcxxabi __cxa_demangle.

9 years agoam 9a9b6357: Merge "Apparently, logd does need the NULs."
Elliott Hughes [Thu, 5 Feb 2015 20:22:39 +0000 (20:22 +0000)]
am 9a9b6357: Merge "Apparently, logd does need the NULs."

* commit '9a9b635745dc776dcfeec51d68b85ca7e8cdbe7d':
  Apparently, logd does need the NULs.

9 years agoMerge "Use the libcxxabi __cxa_demangle."
Elliott Hughes [Thu, 5 Feb 2015 20:21:35 +0000 (20:21 +0000)]
Merge "Use the libcxxabi __cxa_demangle."

9 years agoMerge "Apparently, logd does need the NULs."
Elliott Hughes [Thu, 5 Feb 2015 20:05:45 +0000 (20:05 +0000)]
Merge "Apparently, logd does need the NULs."

9 years agoUse the libcxxabi __cxa_demangle.
Elliott Hughes [Thu, 5 Feb 2015 20:05:34 +0000 (12:05 -0800)]
Use the libcxxabi __cxa_demangle.

Bug: 18930951
Change-Id: If2ea3633ac6dfd4ec975c0f16bdf3dd58e05c614

9 years agoApparently, logd does need the NULs.
Elliott Hughes [Thu, 5 Feb 2015 20:02:04 +0000 (12:02 -0800)]
Apparently, logd does need the NULs.

Change-Id: I04b834e65c26c5821b952f78a0de7f92527cbdba

9 years agoam ffcabed4: am 63826658: Merge "Add signal handling in bionic gtest main."
Yabin Cui [Thu, 5 Feb 2015 18:47:26 +0000 (18:47 +0000)]
am ffcabed4: am 63826658: Merge "Add signal handling in bionic gtest main."

* commit 'ffcabed4bf8555e721c215a5140e2c8120add8af':
  Add signal handling in bionic gtest main.

9 years agoam a1d3aa1f: am 8e5f9bc8: Merge "linker: Use load_bias to adjust search address in...
Dimitry Ivanov [Thu, 5 Feb 2015 18:47:07 +0000 (18:47 +0000)]
am a1d3aa1f: am 8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"

* commit 'a1d3aa1f9579eaf579f579b43f836635fc9a5674':
  linker: Use load_bias to adjust search address in elf_addr_lookup

9 years agoam 427d438d: am da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
Colin Cross [Thu, 5 Feb 2015 18:47:07 +0000 (18:47 +0000)]
am 427d438d: am da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680

* commit '427d438dd44bb79dad87d51ad60593872391e7a7':
  Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
  Fix typo in cpu variant makefile depenendency for arm64
  Remove libc_static_common_src_files
  Share LP32 makefile settings between arches

9 years agoam e760a1eb: am 17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in...
Yabin Cui [Thu, 5 Feb 2015 18:47:06 +0000 (18:47 +0000)]
am e760a1eb: am 17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."

* commit 'e760a1eb30804df478640b2176fc798ab6e7db9b':
  Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.

9 years agoam 63826658: Merge "Add signal handling in bionic gtest main."
Yabin Cui [Thu, 5 Feb 2015 04:24:43 +0000 (04:24 +0000)]
am 63826658: Merge "Add signal handling in bionic gtest main."

* commit '63826658f4bcfff4f3a87fe651f22cc9b35fe8b9':
  Add signal handling in bionic gtest main.

9 years agoMerge "Add signal handling in bionic gtest main."
Yabin Cui [Thu, 5 Feb 2015 04:21:03 +0000 (04:21 +0000)]
Merge "Add signal handling in bionic gtest main."

9 years agoAdd signal handling in bionic gtest main.
Yabin Cui [Tue, 3 Feb 2015 03:14:05 +0000 (19:14 -0800)]
Add signal handling in bionic gtest main.

The two bugs are very closely related and code amount is very small,
So I think they may be fixed in one change.

Bug: 19128558
Bug: 19129994
Change-Id: I44a35398e64dfca7e9676428cb8f4026e8f6e488

9 years agoam 8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"
Dimitry Ivanov [Thu, 5 Feb 2015 02:30:48 +0000 (02:30 +0000)]
am 8e5f9bc8: Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"

* commit '8e5f9bc8a46872e3f0ac4799558fdfd5999f9c20':
  linker: Use load_bias to adjust search address in elf_addr_lookup

9 years agoam da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
Colin Cross [Thu, 5 Feb 2015 02:30:47 +0000 (02:30 +0000)]
am da2c0a70: Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680

* commit 'da2c0a708ed6c0091f3f89fd8838292579dad800':
  Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
  Fix typo in cpu variant makefile depenendency for arm64
  Remove libc_static_common_src_files
  Share LP32 makefile settings between arches

9 years agoam 17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify...
Yabin Cui [Thu, 5 Feb 2015 02:30:46 +0000 (02:30 +0000)]
am 17976019: Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."

* commit '17976019a13a94ae428849bfe297f8e531f95013':
  Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.

9 years agoMerge "linker: Use load_bias to adjust search address in elf_addr_lookup"
Dimitry Ivanov [Thu, 5 Feb 2015 02:23:34 +0000 (02:23 +0000)]
Merge "linker: Use load_bias to adjust search address in elf_addr_lookup"

9 years agoMerge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680
Colin Cross [Thu, 5 Feb 2015 01:57:27 +0000 (01:57 +0000)]
Merge changes Ib87855e8,I4b46ae20,I66364a5c,Id3fcf680

* changes:
  Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
  Fix typo in cpu variant makefile depenendency for arm64
  Remove libc_static_common_src_files
  Share LP32 makefile settings between arches

9 years agoUse LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures
Colin Cross [Thu, 5 Feb 2015 01:40:29 +0000 (17:40 -0800)]
Use LOCAL_LDFLAGS_64 instead of enumerating 64-bit architectures

LOCAL_LDFLAGS_<arch> was being set for arm64, mips64, and x86_64.
Use LOCAL_LDFLAGS_64 instead.

Change-Id: Ib87855e8a7783f82461b707fffa7f1663e6be9c8

9 years agoFix typo in cpu variant makefile depenendency for arm64
Colin Cross [Thu, 5 Feb 2015 01:38:27 +0000 (17:38 -0800)]
Fix typo in cpu variant makefile depenendency for arm64

cpu_variank_mk -> cpu_variant_mk

Change-Id: I4b46ae20de72ed2dc8820d62ac35ddc6b915a195

9 years agoRemove libc_static_common_src_files
Colin Cross [Thu, 5 Feb 2015 01:37:23 +0000 (17:37 -0800)]
Remove libc_static_common_src_files

libc_static_common_src_files is never set after
c3f114037dbf028896310609fd28cf2b3da99c4d, remove the remaining
references to it.

Change-Id: I66364a5c1b031ad69d608f6f44244049192944f6

9 years agoShare LP32 makefile settings between arches
Colin Cross [Thu, 5 Feb 2015 01:35:49 +0000 (17:35 -0800)]
Share LP32 makefile settings between arches

Add <var>_32 to patch-up-arch-specific-flags, and move the LP32
cruft varaibles from the 32-bit arch specific makefiles into the
top level Android.mk.

Change-Id: Id3fcf6805d4af048c2524c94b1295416ebe7d057

9 years agolinker: Use load_bias to adjust search address in elf_addr_lookup
Chris Dearman [Thu, 14 Nov 2013 01:22:33 +0000 (17:22 -0800)]
linker: Use load_bias to adjust search address in elf_addr_lookup

load_bias is the delta between a symbols address in memory and the value
contained in the symbol table.

Change-Id: I35c87b69025b64f7e4a1418ca766618f4533fb3e

9 years agoMerge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."
Yabin Cui [Thu, 5 Feb 2015 01:14:32 +0000 (01:14 +0000)]
Merge "Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test."

9 years agoFix poll/ppoll fortify test to avoid hanging in failed fortify clang test.
Yabin Cui [Wed, 4 Feb 2015 01:52:32 +0000 (17:52 -0800)]
Fix poll/ppoll fortify test to avoid hanging in failed fortify clang test.

Bug: 19220800
Change-Id: Ie75c640183c4a41a499556fefb4f824a134a5fb1

9 years agoam 6d632af3: am 2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C...
Neil Fuller [Wed, 4 Feb 2015 16:45:04 +0000 (16:45 +0000)]
am 6d632af3: am 2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."

* commit '6d632af3b04e505a88aa0b73f95a873dcbd472f7':
  Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.

9 years agoam 2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
Neil Fuller [Wed, 4 Feb 2015 16:39:06 +0000 (16:39 +0000)]
am 2151f09f: Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."

* commit '2151f09fbfc2f6084366587df10132e93f4d818c':
  Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.

9 years agoMerge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."
Neil Fuller [Wed, 4 Feb 2015 16:33:01 +0000 (16:33 +0000)]
Merge "Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data."

9 years agoSet INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.
Fredrik Roubert [Wed, 4 Feb 2015 16:17:34 +0000 (17:17 +0100)]
Set INCLUDE_UNI_CORE_DATA=1 when rebuilding ICU4C time zone data.

This is now necessary to build .dat files that are useable for ICU4J as
well, and will need to be used for any future updates of the .dat file:

https://android.googlesource.com/platform/external/icu/+/6b52738

Change-Id: Ifa3a7469a66ab932db20876697e45814f0c5ddc3

9 years agoam dcf371f5: am 7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."
Yabin Cui [Wed, 4 Feb 2015 02:49:41 +0000 (02:49 +0000)]
am dcf371f5: am 7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."

* commit 'dcf371f5e7142e548b8f422bf45db14d15d86b62':
  Switch sem_t from bionic atomics to stdatomic.h.

9 years agoam 7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."
Yabin Cui [Wed, 4 Feb 2015 02:45:44 +0000 (02:45 +0000)]
am 7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."

* commit '7e1b3d3e68f7430322a88be06f6b53c358fd14bf':
  Switch sem_t from bionic atomics to stdatomic.h.

9 years agoMerge "Switch sem_t from bionic atomics to stdatomic.h."
Yabin Cui [Wed, 4 Feb 2015 02:42:15 +0000 (02:42 +0000)]
Merge "Switch sem_t from bionic atomics to stdatomic.h."

9 years agoSwitch sem_t from bionic atomics to stdatomic.h.
Yabin Cui [Fri, 30 Jan 2015 20:30:08 +0000 (12:30 -0800)]
Switch sem_t from bionic atomics to stdatomic.h.

Bug: 17572887
Change-Id: If66851ba9b831cdd698b9f1303289bb14448bd03

9 years agoam 2d988187: am 11829be3: Merge "Add test about pthread_mutex_t owner tid limit."
Yabin Cui [Tue, 3 Feb 2015 22:40:46 +0000 (22:40 +0000)]
am 2d988187: am 11829be3: Merge "Add test about pthread_mutex_t owner tid limit."

* commit '2d988187712f52773b89421d139b266c8b58f769':
  Add test about pthread_mutex_t owner tid limit.

9 years agoam 11829be3: Merge "Add test about pthread_mutex_t owner tid limit."
Yabin Cui [Tue, 3 Feb 2015 22:34:58 +0000 (22:34 +0000)]
am 11829be3: Merge "Add test about pthread_mutex_t owner tid limit."

* commit '11829be3e1a9e9e2271ba64a78c327bde6e044eb':
  Add test about pthread_mutex_t owner tid limit.

9 years agoMerge "Add test about pthread_mutex_t owner tid limit."
Yabin Cui [Tue, 3 Feb 2015 22:28:55 +0000 (22:28 +0000)]
Merge "Add test about pthread_mutex_t owner tid limit."

9 years agoam 72c3071d: am f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
Nick Kralevich [Tue, 3 Feb 2015 20:32:59 +0000 (20:32 +0000)]
am 72c3071d: am f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."

* commit '72c3071d548ee3bf3711abf13dce25042ccc3cea':
  Ensure raw fchmod/fchmodat syscalls are hidden.

9 years agoam f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."
Nick Kralevich [Tue, 3 Feb 2015 20:24:53 +0000 (20:24 +0000)]
am f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."

* commit 'f00f484cb59c1d599242daecbf833397aa3ba5d8':
  Ensure raw fchmod/fchmodat syscalls are hidden.

9 years agoAdd test about pthread_mutex_t owner tid limit.
Yabin Cui [Tue, 3 Feb 2015 18:32:00 +0000 (10:32 -0800)]
Add test about pthread_mutex_t owner tid limit.

Bug: 19216648
Change-Id: I7b12955bdcad31c13bf8ec2740ff88ba15223ec0

9 years agoMerge "Ensure raw fchmod/fchmodat syscalls are hidden."
Nick Kralevich [Tue, 3 Feb 2015 20:17:32 +0000 (20:17 +0000)]
Merge "Ensure raw fchmod/fchmodat syscalls are hidden."

9 years agoEnsure raw fchmod/fchmodat syscalls are hidden.
Nick Kralevich [Tue, 3 Feb 2015 19:27:25 +0000 (11:27 -0800)]
Ensure raw fchmod/fchmodat syscalls are hidden.

In https://android-review.googlesource.com/#/c/127908/5/libc/SYSCALLS.TXT@116
Elliott said:

  for LP64 these will be hidden. for LP32 we were cowards and left
  them all public for compatibility (though i don't think we ever
  dremeled to see whether it was needed). we don't have an easy
  way to recognize additions, though, so we can't prevent adding
  new turds.

Add a mechanism to prevent the adding of new turds, and use that
mechanism on the fchmod/fchmodat system calls.

Bug: 19233951
Change-Id: I98f98345970b631a379f348df57858f9fc3d57c0

9 years agoam 4177bd8d: Fixes to the update-tzdata.py tool
Neil Fuller [Tue, 3 Feb 2015 15:00:20 +0000 (15:00 +0000)]
am 4177bd8d: Fixes to the update-tzdata.py tool

* commit '4177bd8d16e0dc2d0d541fc54f81518c57651e55':
  Fixes to the update-tzdata.py tool

9 years agoam 700eb048: Update tzdata to tzdata2015a
Neil Fuller [Tue, 3 Feb 2015 15:00:18 +0000 (15:00 +0000)]
am 700eb048: Update tzdata to tzdata2015a

* commit '700eb048fb6df8805245097d73a87384108fdf67':
  Update tzdata to tzdata2015a

9 years agoam 0cddad0f: am d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdat...
Hans Boehm [Tue, 3 Feb 2015 02:53:31 +0000 (02:53 +0000)]
am 0cddad0f: am d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."

* commit '0cddad0fd17274575abe2e25484c909def51d7e3':
  Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.

9 years agoam d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
Hans Boehm [Tue, 3 Feb 2015 02:48:20 +0000 (02:48 +0000)]
am d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."

* commit 'd57bf449fe6c2dcf35d90d6e4098038ac8a24ecb':
  Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.

9 years agoMerge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."
Hans Boehm [Tue, 3 Feb 2015 02:42:53 +0000 (02:42 +0000)]
Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."

9 years agoam aa916c8d: am c5999c1e: Merge "Clean up SEEK_SET definitions."
Elliott Hughes [Tue, 3 Feb 2015 01:31:08 +0000 (01:31 +0000)]
am aa916c8d: am c5999c1e: Merge "Clean up SEEK_SET definitions."

* commit 'aa916c8db85b01389b929f060f232b3e06448e79':
  Clean up SEEK_SET definitions.

9 years agoam c5999c1e: Merge "Clean up SEEK_SET definitions."
Elliott Hughes [Tue, 3 Feb 2015 01:25:23 +0000 (01:25 +0000)]
am c5999c1e: Merge "Clean up SEEK_SET definitions."

* commit 'c5999c1e0382c40286cc631c6a53e7781bc03154':
  Clean up SEEK_SET definitions.

9 years agoMerge "Clean up SEEK_SET definitions."
Elliott Hughes [Tue, 3 Feb 2015 01:21:16 +0000 (01:21 +0000)]
Merge "Clean up SEEK_SET definitions."

9 years agoSwitch pthread_mutex_t from bionic atomics to <stdatomic.h>.
Yabin Cui [Fri, 30 Jan 2015 05:50:48 +0000 (21:50 -0800)]
Switch pthread_mutex_t from bionic atomics to <stdatomic.h>.

Bug: 17574456
Change-Id: I5ce3d3dc07e804e9ce55c42920f47531b56e04de

9 years agoam 0cb8abc6: am d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH...
Nick Kralevich [Mon, 2 Feb 2015 22:10:53 +0000 (22:10 +0000)]
am 0cb8abc6: am d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"

* commit '0cb8abc6207d7484ecbc9698064c1f24b9b668d5':
  Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support

9 years agoam d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
Nick Kralevich [Mon, 2 Feb 2015 22:07:35 +0000 (22:07 +0000)]
am d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"

* commit 'd80ec66121b5af96c6b3d07ba34353b3d517f5b3':
  Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support

9 years agoMerge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"
Nick Kralevich [Mon, 2 Feb 2015 22:03:41 +0000 (22:03 +0000)]
Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"

9 years agoClean up SEEK_SET definitions.
Elliott Hughes [Mon, 2 Feb 2015 22:02:09 +0000 (14:02 -0800)]
Clean up SEEK_SET definitions.

If we lose the #ifndef, the compiler will tell us if the definitions
of SEEK_SET and friends ever get out of sync.

Change-Id: I357cabec7c9cd451c604342344f210bba20fb6bc

9 years agoAdd fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support
Nick Kralevich [Sun, 1 Feb 2015 03:57:46 +0000 (19:57 -0800)]
Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support

Many libc functions have an option to not follow symbolic
links. This is useful to avoid security sensitive code
from inadvertantly following attacker supplied symlinks
and taking inappropriate action on files it shouldn't.
For example, open() has O_NOFOLLOW, chown() has
lchown(), stat() has lstat(), etc.

There is no such equivalent function for chmod(), such as lchmod().
To address this, POSIX introduced fchmodat(AT_SYMLINK_NOFOLLOW),
which is intended to provide a way to perform a chmod operation
which doesn't follow symlinks.

Currently, the Linux kernel doesn't implement AT_SYMLINK_NOFOLLOW.
In GLIBC, attempting to use the AT_SYMLINK_NOFOLLOW flag causes
fchmodat to return ENOTSUP. Details are in "man fchmodat".

Bionic currently differs from GLIBC in that AT_SYMLINK_NOFOLLOW
is silently ignored and treated as if the flag wasn't present.

This patch provides a userspace implementation of
AT_SYMLINK_NOFOLLOW for bionic. Using open(O_PATH | O_NOFOLLOW),
we can provide a way to atomically change the permissions on
files without worrying about race conditions.

As part of this change, we add support for fchmod on O_PATH
file descriptors, because it's relatively straight forward
and could be useful in the future.

The basic idea behind this implementation comes from
https://sourceware.org/bugzilla/show_bug.cgi?id=14578 , specifically
comment #10.

Change-Id: I1eba0cdb2c509d9193ceecf28f13118188a3cfa7

9 years agoam 815fc9bc: am c57b5c50: Merge "Small logging cleanup."
Elliott Hughes [Mon, 2 Feb 2015 20:54:27 +0000 (20:54 +0000)]
am 815fc9bc: am c57b5c50: Merge "Small logging cleanup."

* commit '815fc9bc9ecf96dd478c0800fdb9c4e9200320be':
  Small logging cleanup.

9 years agoam c57b5c50: Merge "Small logging cleanup."
Elliott Hughes [Mon, 2 Feb 2015 20:46:39 +0000 (20:46 +0000)]
am c57b5c50: Merge "Small logging cleanup."

* commit 'c57b5c5094f915ff975a256e086d58e2e7cfedf1':
  Small logging cleanup.

9 years agoMerge "Small logging cleanup."
Elliott Hughes [Mon, 2 Feb 2015 20:36:29 +0000 (20:36 +0000)]
Merge "Small logging cleanup."

9 years agoSmall logging cleanup.
Elliott Hughes [Mon, 2 Feb 2015 20:24:46 +0000 (12:24 -0800)]
Small logging cleanup.

Don't send the trailing NUL bytes to the logger, call strlen if we already
know the length, or cast more specifically than we need to.

Change-Id: I68c9388a22bddea49120a1022dda8db8991360c1

9 years agoam 6c1252de: am 530aaecc: Merge "Explicitly check that the reason fortify tests abort...
Elliott Hughes [Mon, 2 Feb 2015 19:40:41 +0000 (19:40 +0000)]
am 6c1252de: am 530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."

* commit '6c1252decba273087411cd9e480d0422eabec6ef':
  Explicitly check that the reason fortify tests abort is fortify.

9 years agoam 530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."
Elliott Hughes [Mon, 2 Feb 2015 19:32:44 +0000 (19:32 +0000)]
am 530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."

* commit '530aaeccd875f708918f59cd5ff8b076c156adab':
  Explicitly check that the reason fortify tests abort is fortify.

9 years agoMerge "Explicitly check that the reason fortify tests abort is fortify."
Elliott Hughes [Mon, 2 Feb 2015 19:25:57 +0000 (19:25 +0000)]
Merge "Explicitly check that the reason fortify tests abort is fortify."

9 years agoExplicitly check that the reason fortify tests abort is fortify.
Elliott Hughes [Mon, 2 Feb 2015 19:18:58 +0000 (11:18 -0800)]
Explicitly check that the reason fortify tests abort is fortify.

Change-Id: I95291e2febf7b497c1d9f37fd7fa9acdd21e86a4

9 years agoam 5f7819d6: am 7f0f30c6: Merge "Fix clang build."
Elliott Hughes [Mon, 2 Feb 2015 18:50:43 +0000 (18:50 +0000)]
am 5f7819d6: am 7f0f30c6: Merge "Fix clang build."

* commit '5f7819d6f1b2cb706d818e3083d45337e35d386b':
  Fix clang build.

9 years agoam 7f0f30c6: Merge "Fix clang build."
Elliott Hughes [Mon, 2 Feb 2015 18:36:22 +0000 (18:36 +0000)]
am 7f0f30c6: Merge "Fix clang build."

* commit '7f0f30c6e20c1bf04bec05077eef2d779e7a32df':
  Fix clang build.

9 years agoMerge "Fix clang build."
Elliott Hughes [Mon, 2 Feb 2015 18:23:28 +0000 (18:23 +0000)]
Merge "Fix clang build."

9 years agoFix clang build.
Elliott Hughes [Mon, 2 Feb 2015 18:21:39 +0000 (10:21 -0800)]
Fix clang build.

Change-Id: I863137b5d35602267b4ef3a74399cf394c9994d6

9 years agoam 0a302e01: am d514d9bb: Merge "Fixes to the update-tzdata.py tool"
Neil Fuller [Mon, 2 Feb 2015 18:03:11 +0000 (18:03 +0000)]
am 0a302e01: am d514d9bb: Merge "Fixes to the update-tzdata.py tool"

* commit '0a302e0174da4432da4a6ad5ce126dc27e4a86de':
  Fixes to the update-tzdata.py tool

9 years agoam 20f2e4f7: am 5940f98a: Merge "Fortify poll and ppoll."
Elliott Hughes [Mon, 2 Feb 2015 18:03:10 +0000 (18:03 +0000)]
am 20f2e4f7: am 5940f98a: Merge "Fortify poll and ppoll."

* commit '20f2e4f7ad9d9f816be13f6509e602d4344a018d':
  Fortify poll and ppoll.

9 years agoam d514d9bb: Merge "Fixes to the update-tzdata.py tool"
Neil Fuller [Mon, 2 Feb 2015 17:57:22 +0000 (17:57 +0000)]
am d514d9bb: Merge "Fixes to the update-tzdata.py tool"

* commit 'd514d9bbae354da72fcb43349f0157378e52004d':
  Fixes to the update-tzdata.py tool

9 years agoam 5940f98a: Merge "Fortify poll and ppoll."
Elliott Hughes [Mon, 2 Feb 2015 17:57:21 +0000 (17:57 +0000)]
am 5940f98a: Merge "Fortify poll and ppoll."

* commit '5940f98a35d64f9ca249536bb8cdcdbfe43e9bc3':
  Fortify poll and ppoll.

9 years agoFixes to the update-tzdata.py tool
Neil Fuller [Mon, 2 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Fixes to the update-tzdata.py tool

We build one too many times. Creating a missing directory
is sufficient.

The tz2icu needs some files in the CWD. Added symlinks.

Bug: 19230091
(cherry-pick of commit 0662c3e5b33840e19f4c14b85bf619c33b3a0d0f)
Change-Id: Ie21d848f1b776ec745473b9122e003fdf0acf105

9 years agoMerge "Fixes to the update-tzdata.py tool"
Neil Fuller [Mon, 2 Feb 2015 17:52:47 +0000 (17:52 +0000)]
Merge "Fixes to the update-tzdata.py tool"

9 years agoMerge "Fortify poll and ppoll."
Elliott Hughes [Mon, 2 Feb 2015 17:51:50 +0000 (17:51 +0000)]
Merge "Fortify poll and ppoll."

9 years agoFixes to the update-tzdata.py tool
Neil Fuller [Mon, 2 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Fixes to the update-tzdata.py tool

We build one too many times. Creating a missing directory
is sufficient.

The tz2icu needs some files in the CWD. Added symlinks.

Bug: 19230091
Change-Id: I58f9817af68b229f48139e56503f50a2b6dbb4fe

9 years agoFortify poll and ppoll.
Elliott Hughes [Mon, 2 Feb 2015 17:15:19 +0000 (09:15 -0800)]
Fortify poll and ppoll.

And remove the test for FD_ZERO fortification, which never made much
sense anyway.

Change-Id: Id1009c5298d461fa4722189e8ecaf22f0c529536

9 years agoUpdate tzdata to tzdata2015a
Neil Fuller [Mon, 2 Feb 2015 11:24:22 +0000 (11:24 +0000)]
Update tzdata to tzdata2015a

Time Zone Data v. 2015a (Released 2015-01-29)
http://www.iana.org/time-zones/repository/releases/tzdata2015a.tar.gz

Information from NEWS:

Release 2015a - 2015-01-29 22:35:20 -0800

  Changes affecting future time stamps

    The Mexican state of Quintana Roo, represented by America/Cancun,
    will shift from Central Time with DST to Eastern Time without DST
    on 2015-02-01 at 02:00.  (Thanks to Steffen Thorsen and Gwillim Law.)

    Chile will not change clocks in April or thereafter; its new standard time
    will be its old daylight saving time.  This affects America/Santiago,
    Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)

    New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
    (Thanks to Tim Parenti.)

  Changes affecting past time stamps

    Iceland observed DST in 1919 and 1921, and its 1939 fallback
    transition was Oct. 29, not Nov. 29.  Remove incorrect data from
    Shanks about time in Iceland between 1837 and 1908.

    Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.  As usual,
    these changes affect UTC offsets in pre-1970 time stamps only.
    Their old contents have been moved to the 'backzone' file.
    The affected zones are: Asia/Aden, Asia/Bahrain, Asia/Kuwait,
    and Asia/Muscat.

  Changes affecting code

    tzalloc now scrubs time zone abbreviations compatibly with the way
    that tzset always has, by replacing invalid bytes with '_' and by
    shortening too-long abbreviations.

    tzselect ports to POSIX awk implementations, no longer mishandles
    POSIX TZ settings when GNU awk is used, and reports POSIX TZ
    settings to the user.  (Thanks to Stefan Kuhn.)

  Changes affecting build procedure

    'make check' now checks for links to links in the data.
    One such link (for Africa/Asmera) has been fixed.
    (Thanks to Stephen Colebourne for pointing out the problem.)

  Changes affecting commentary

    The leapseconds file commentary now mentions the expiration date.
    (Problem reported by Martin Burnicki.)

    Update Mexican Library of Congress URL.

Bug: 19212588
Change-Id: Idc07ac862901500d4a1dbd0f4aadcfd0aa9d10b8

9 years agoam 9843afd6: am ffbda83b: Merge "Add the fortify tests back into the glibc tests."
Elliott Hughes [Mon, 2 Feb 2015 06:07:15 +0000 (06:07 +0000)]
am 9843afd6: am ffbda83b: Merge "Add the fortify tests back into the glibc tests."

* commit '9843afd62982516974fdc3c4481d36007527825a':
  Add the fortify tests back into the glibc tests.

9 years agoam ffbda83b: Merge "Add the fortify tests back into the glibc tests."
Elliott Hughes [Mon, 2 Feb 2015 06:01:10 +0000 (06:01 +0000)]
am ffbda83b: Merge "Add the fortify tests back into the glibc tests."

* commit 'ffbda83b302e3c3970135013d2bb92402e040fe5':
  Add the fortify tests back into the glibc tests.

9 years agoMerge "Add the fortify tests back into the glibc tests."
Elliott Hughes [Mon, 2 Feb 2015 05:56:26 +0000 (05:56 +0000)]
Merge "Add the fortify tests back into the glibc tests."

9 years agoAdd the fortify tests back into the glibc tests.
Elliott Hughes [Sun, 1 Feb 2015 05:32:10 +0000 (21:32 -0800)]
Add the fortify tests back into the glibc tests.

Change-Id: I4426d0c7c1bfe3b0028a674f72d1c3b9d883d6af

9 years agoam d2d63740: am 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."
Elliott Hughes [Sat, 31 Jan 2015 07:49:25 +0000 (07:49 +0000)]
am d2d63740: am 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."

* commit 'd2d63740b78459a414e293efdb16e7a9ac089d5c':
  Include <malloc.h> for struct mallinfo.

9 years agoam fd10c019: am 09c33824: Merge "Break two incorrect transitive includes."
Elliott Hughes [Sat, 31 Jan 2015 07:49:24 +0000 (07:49 +0000)]
am fd10c019: am 09c33824: Merge "Break two incorrect transitive includes."

* commit 'fd10c019fab50c06f391b6a765b0904ce477d3b7':
  Break two incorrect transitive includes.

9 years agoam 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."
Elliott Hughes [Sat, 31 Jan 2015 06:21:34 +0000 (06:21 +0000)]
am 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."

* commit '21cdd22f035efd50902b7780fc6ea53bd1684357':
  Include <malloc.h> for struct mallinfo.

9 years agoam 09c33824: Merge "Break two incorrect transitive includes."
Elliott Hughes [Sat, 31 Jan 2015 06:21:33 +0000 (06:21 +0000)]
am 09c33824: Merge "Break two incorrect transitive includes."

* commit '09c3382433ae94ada45780312a2a9fd082ad1478':
  Break two incorrect transitive includes.

9 years agoMerge "Include <malloc.h> for struct mallinfo."
Elliott Hughes [Sat, 31 Jan 2015 04:37:10 +0000 (04:37 +0000)]
Merge "Include <malloc.h> for struct mallinfo."

9 years agoInclude <malloc.h> for struct mallinfo.
Elliott Hughes [Sat, 31 Jan 2015 04:33:31 +0000 (20:33 -0800)]
Include <malloc.h> for struct mallinfo.

GCC doesn't seem to care, but clang does.

Change-Id: I9884820339a9e6f142862928c357f1a538184ae0

9 years agoMerge "Break two incorrect transitive includes."
Elliott Hughes [Sat, 31 Jan 2015 04:18:09 +0000 (04:18 +0000)]
Merge "Break two incorrect transitive includes."

9 years agoam 18dd2f3b: am 94335cc8: Merge "Put back inline definitions if using an old API."
Dan Albert [Fri, 30 Jan 2015 21:16:35 +0000 (21:16 +0000)]
am 18dd2f3b: am 94335cc8: Merge "Put back inline definitions if using an old API."

* commit '18dd2f3b918af8233dc63ad6efa780a26c8ae79c':
  Put back inline definitions if using an old API.

9 years agoam 6cf2cf8b: am 542b94d9: Merge "Remove unused CONFIG_SECONDS."
Elliott Hughes [Fri, 30 Jan 2015 21:16:34 +0000 (21:16 +0000)]
am 6cf2cf8b: am 542b94d9: Merge "Remove unused CONFIG_SECONDS."

* commit '6cf2cf8bf26b99b7318791c75cbccfd95893b04e':
  Remove unused CONFIG_SECONDS.

9 years agoam 94335cc8: Merge "Put back inline definitions if using an old API."
Dan Albert [Fri, 30 Jan 2015 19:44:02 +0000 (19:44 +0000)]
am 94335cc8: Merge "Put back inline definitions if using an old API."

* commit '94335cc8e2f32638d9e38741ddabfd19a38e0840':
  Put back inline definitions if using an old API.

9 years agoam 542b94d9: Merge "Remove unused CONFIG_SECONDS."
Elliott Hughes [Fri, 30 Jan 2015 19:44:01 +0000 (19:44 +0000)]
am 542b94d9: Merge "Remove unused CONFIG_SECONDS."

* commit '542b94d9bf7eb3838b0582c02d7a1bf2e270af5a':
  Remove unused CONFIG_SECONDS.

9 years agoMerge "Put back inline definitions if using an old API."
Dan Albert [Fri, 30 Jan 2015 17:18:48 +0000 (17:18 +0000)]
Merge "Put back inline definitions if using an old API."

9 years agoMerge "Remove unused CONFIG_SECONDS."
Elliott Hughes [Fri, 30 Jan 2015 06:21:54 +0000 (06:21 +0000)]
Merge "Remove unused CONFIG_SECONDS."

9 years agoRemove unused CONFIG_SECONDS.
Elliott Hughes [Fri, 30 Jan 2015 05:47:37 +0000 (21:47 -0800)]
Remove unused CONFIG_SECONDS.

Bug: https://code.google.com/p/android/issues/detail?id=65951
Change-Id: I8ae7057c68e16618de6dd06cf052426c6cad8a3d

9 years agoBreak two incorrect transitive includes.
Elliott Hughes [Thu, 29 Jan 2015 05:02:34 +0000 (21:02 -0800)]
Break two incorrect transitive includes.

Change-Id: I95519caa5258cf5c6b8053f1c7e08ade2a824e49

9 years agoPut back inline definitions if using an old API.
Dan Albert [Thu, 29 Jan 2015 02:16:08 +0000 (18:16 -0800)]
Put back inline definitions if using an old API.

All these inlines were turned in to out of line definitions in L.
This brings us a step closer to being able to just use the current
bionic headers for the NDK, rather than having many old versions of
them.

Change-Id: Ie010bc727d78d3742abc577c70f6578db2e68625

9 years agoam c9af0e9a: am cd1959b0: Merge "Add primitive CPPLINT.cfg."
Dan Albert [Thu, 29 Jan 2015 22:06:28 +0000 (22:06 +0000)]
am c9af0e9a: am cd1959b0: Merge "Add primitive CPPLINT.cfg."

* commit 'c9af0e9a2d215b60a128643b6bdddd671e33864b':
  Add primitive CPPLINT.cfg.