OSDN Git Service

android-x86/bionic.git
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 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 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 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 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 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 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 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 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 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 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 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 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 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 cd1959b0: Merge "Add primitive CPPLINT.cfg."
Dan Albert [Thu, 29 Jan 2015 21:59:51 +0000 (21:59 +0000)]
am cd1959b0: Merge "Add primitive CPPLINT.cfg."

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

9 years agoMerge "Add primitive CPPLINT.cfg."
Dan Albert [Thu, 29 Jan 2015 21:54:54 +0000 (21:54 +0000)]
Merge "Add primitive CPPLINT.cfg."

9 years agoam 782aa39f: Merge "Rewrite __cxa_guard.cpp with <stdatomic.h>."
Yabin Cui [Thu, 29 Jan 2015 20:29:23 +0000 (20:29 +0000)]
am 782aa39f: Merge "Rewrite __cxa_guard.cpp with <stdatomic.h>."

* commit '782aa39f704e3d597c0ec869ec1b9701bc90a5c9':
  Rewrite __cxa_guard.cpp with <stdatomic.h>.

9 years agoMerge "Rewrite __cxa_guard.cpp with <stdatomic.h>."
Yabin Cui [Thu, 29 Jan 2015 20:22:24 +0000 (20:22 +0000)]
Merge "Rewrite __cxa_guard.cpp with <stdatomic.h>."

9 years agoAdd primitive CPPLINT.cfg.
Dan Albert [Thu, 29 Jan 2015 18:52:53 +0000 (10:52 -0800)]
Add primitive CPPLINT.cfg.

We'll add more things to this as we discover other warnings we don't
care about.

Change-Id: I408f688827cab0f74e055d8f1778069163663f0b

9 years agoRewrite __cxa_guard.cpp with <stdatomic.h>.
Yabin Cui [Thu, 29 Jan 2015 18:47:45 +0000 (10:47 -0800)]
Rewrite __cxa_guard.cpp with <stdatomic.h>.

Bug: 19180923
Change-Id: If4912d01db43c72ef12f4b04270ddb5d76d09462

9 years agoam 7f17aea2: Merge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 03:27:56 +0000 (03:27 +0000)]
am 7f17aea2: Merge "Add missing includes."

* commit '7f17aea2fc21aaf657824a023a4b7582fb74a2d9':
  Add missing includes.

9 years agoMerge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 03:23:35 +0000 (03:23 +0000)]
Merge "Add missing includes."

9 years agoAdd missing includes.
Elliott Hughes [Thu, 29 Jan 2015 02:02:33 +0000 (18:02 -0800)]
Add missing includes.

Change-Id: Ibf549266a19a67eb9158d341a69dddfb654be669

9 years agoam 017da8bc: Merge "Add --gtest-filter as synonym for --gtest_filter in bionic gtest...
Yabin Cui [Thu, 29 Jan 2015 02:33:59 +0000 (02:33 +0000)]
am 017da8bc: Merge "Add --gtest-filter as synonym for --gtest_filter in bionic gtest main."

* commit '017da8bc58ba07be92dd371020e9dc3fe26f481b':
  Add --gtest-filter as synonym for --gtest_filter in bionic gtest main.

9 years agoMerge "Add --gtest-filter as synonym for --gtest_filter in bionic gtest main."
Yabin Cui [Thu, 29 Jan 2015 02:30:24 +0000 (02:30 +0000)]
Merge "Add --gtest-filter as synonym for --gtest_filter in bionic gtest main."

9 years agoam 43606bc1: Merge "Only one crashing thread should contact debuggerd."
Christopher Ferris [Thu, 29 Jan 2015 01:53:49 +0000 (01:53 +0000)]
am 43606bc1: Merge "Only one crashing thread should contact debuggerd."

* commit '43606bc1ce974e4ba42d7d2c3682ad5182e6fc96':
  Only one crashing thread should contact debuggerd.

9 years agoMerge "Only one crashing thread should contact debuggerd."
Christopher Ferris [Thu, 29 Jan 2015 01:49:20 +0000 (01:49 +0000)]
Merge "Only one crashing thread should contact debuggerd."

9 years agoam a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."
Elliott Hughes [Thu, 29 Jan 2015 01:35:38 +0000 (01:35 +0000)]
am a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

* commit 'a9c3d0569f3b9511af445457cd455a7bb967b60e':
  Modify MIPS64 stat structure to match a generic one in AOSP.

9 years agoMerge "Modify MIPS64 stat structure to match a generic one in AOSP."
Elliott Hughes [Thu, 29 Jan 2015 01:31:58 +0000 (01:31 +0000)]
Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

9 years agoOnly one crashing thread should contact debuggerd.
Christopher Ferris [Thu, 29 Jan 2015 00:13:56 +0000 (16:13 -0800)]
Only one crashing thread should contact debuggerd.

If two or more threads crash at the same time, only let one talk to
debuggerd. It's possible for a race to occur that two threads send
data to debuggerd, the second one will cause errors in debuggerd since
the process will die once debuggerd lets the crashing pid start again.

Bug: 19183955
Change-Id: I17dfce46102117ab4a870f7381bd526488d37fb5

9 years agoModify MIPS64 stat structure to match a generic one in AOSP.
Raghu Gandham [Thu, 15 Jan 2015 19:12:22 +0000 (11:12 -0800)]
Modify MIPS64 stat structure to match a generic one in AOSP.

The kernel version of the stat structure is used during the syscalls. After the syscall,
the kernel stat structure is converted to match the generic one. Eventually we would like
the generic stat structure and related syscalls be added to MIPS64 kernel, removing the
thunks added to AOSP.

Change-Id: I7764e80278c1cc8254754c3531ec2dda7544a8ec

9 years agoAdd --gtest-filter as synonym for --gtest_filter in bionic gtest main.
Yabin Cui [Wed, 28 Jan 2015 22:28:14 +0000 (14:28 -0800)]
Add --gtest-filter as synonym for --gtest_filter in bionic gtest main.

Bug: 19130480
Change-Id: I0d3df70ee8f692581cc4b9b742c5f347259fd0d2

9 years agoam 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."
Yabin Cui [Wed, 28 Jan 2015 21:20:54 +0000 (21:20 +0000)]
am 9e82c4be: Merge "Switch pthread_once_t to stdatomic.h."

* commit '9e82c4be359a4637f21988b66b6d25abbfb79ddb':
  Switch pthread_once_t to stdatomic.h.

9 years agoMerge "Switch pthread_once_t to stdatomic.h."
Yabin Cui [Wed, 28 Jan 2015 21:16:04 +0000 (21:16 +0000)]
Merge "Switch pthread_once_t to stdatomic.h."

9 years agoam 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_cast"
Dimitry Ivanov [Wed, 28 Jan 2015 17:39:01 +0000 (17:39 +0000)]
am 3780aba6: Merge "Fix mips64 build. Replace explicit cast with static_cast"

* commit '3780aba6352affc7d2dcdad0737cb4254448fcae':
  Fix mips64 build. Replace explicit cast with static_cast

9 years agoMerge "Fix mips64 build. Replace explicit cast with static_cast"
Dimitry Ivanov [Wed, 28 Jan 2015 17:34:51 +0000 (17:34 +0000)]
Merge "Fix mips64 build. Replace explicit cast with static_cast"

9 years agoFix mips64 build. Replace explicit cast with static_cast
Nikola Veljkovic [Wed, 28 Jan 2015 15:18:52 +0000 (16:18 +0100)]
Fix mips64 build. Replace explicit cast with static_cast

Change-Id: Ib08fbe8bb832884a3eb33904fe4d490759116cb2

9 years agoSwitch pthread_once_t to stdatomic.h.
Yabin Cui [Sat, 24 Jan 2015 02:21:46 +0000 (18:21 -0800)]
Switch pthread_once_t to stdatomic.h.

Bug: 17574610

Change-Id: I653f2aa4b5b38dbdaffe4a6c3deccfe6ad3b0e74

9 years agoam 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 22:05:40 +0000 (22:05 +0000)]
am 385c07a7: Merge "Fix parse of gtest_filter in bionic gtest main."

* commit '385c07a74ca5438a6f7fe0ada2b461f880563073':
  Fix parse of gtest_filter in bionic gtest main.

9 years agoMerge "Fix parse of gtest_filter in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 22:00:35 +0000 (22:00 +0000)]
Merge "Fix parse of gtest_filter in bionic gtest main."

9 years agoam 86d98962: Merge "Fix mips build."
Elliott Hughes [Tue, 27 Jan 2015 19:43:32 +0000 (19:43 +0000)]
am 86d98962: Merge "Fix mips build."

* commit '86d9896273e81941d16034fdbf781a3f2bf94b81':
  Fix mips build.

9 years agoMerge "Fix mips build."
Elliott Hughes [Tue, 27 Jan 2015 19:39:37 +0000 (19:39 +0000)]
Merge "Fix mips build."

9 years agoFix parse of gtest_filter in bionic gtest main.
Yabin Cui [Tue, 27 Jan 2015 19:22:46 +0000 (11:22 -0800)]
Fix parse of gtest_filter in bionic gtest main.

Bug: 19130330
Change-Id: Id6a60570a8aab6ae7259ff228b3801285b378f77

9 years agoam acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."
Elliott Hughes [Tue, 27 Jan 2015 19:13:23 +0000 (19:13 +0000)]
am acc06a0b: Merge "Add a test for float registers across setjmp/logjmp."

* commit 'acc06a0b74e41728c6067280134a59d8b700d535':
  Add a test for float registers across setjmp/logjmp.

9 years agoFix mips build.
Elliott Hughes [Tue, 27 Jan 2015 19:09:27 +0000 (11:09 -0800)]
Fix mips build.

Move various mips-only things into the arch-mips directory. As soon as mips
writes assembler replacements, we can remove these.

Change-Id: Ia7308559bc361f5c8df3e1d456b381865e060b93

9 years agoMerge "Add a test for float registers across setjmp/logjmp."
Elliott Hughes [Tue, 27 Jan 2015 19:08:33 +0000 (19:08 +0000)]
Merge "Add a test for float registers across setjmp/logjmp."

9 years agoam 192e169a: Merge "x86 has an assembler bcopy implementation."
Elliott Hughes [Tue, 27 Jan 2015 05:52:55 +0000 (05:52 +0000)]
am 192e169a: Merge "x86 has an assembler bcopy implementation."

* commit '192e169a404fee48483335ed988788924266ff5d':
  x86 has an assembler bcopy implementation.

9 years agoMerge "x86 has an assembler bcopy implementation."
Elliott Hughes [Tue, 27 Jan 2015 05:46:55 +0000 (05:46 +0000)]
Merge "x86 has an assembler bcopy implementation."

9 years agox86 has an assembler bcopy implementation.
Elliott Hughes [Tue, 27 Jan 2015 05:45:56 +0000 (21:45 -0800)]
x86 has an assembler bcopy implementation.

Change-Id: I4ed7af3c5b104f86550120401f773150c460f37b

9 years agoam b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."
Yabin Cui [Tue, 27 Jan 2015 05:38:20 +0000 (05:38 +0000)]
am b518836e: Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."

* commit 'b518836e8c8aa8fce933d59705a24543672bf238':
  Rename "TIMEWARN" to "SLOW" in bionic gtest.

9 years agoMerge "Rename "TIMEWARN" to "SLOW" in bionic gtest."
Yabin Cui [Tue, 27 Jan 2015 05:32:52 +0000 (05:32 +0000)]
Merge "Rename "TIMEWARN" to "SLOW" in bionic gtest."

9 years agoam 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"
Elliott Hughes [Tue, 27 Jan 2015 04:59:51 +0000 (04:59 +0000)]
am 643a9be8: Merge "[Arm64] Fix overlapping fp fields in jmp_buf"

* commit '643a9be82e4a9897f22cee6dcb6070ee102107d6':
  [Arm64] Fix overlapping fp fields in jmp_buf

9 years agoRename "TIMEWARN" to "SLOW" in bionic gtest.
Yabin Cui [Tue, 27 Jan 2015 01:19:37 +0000 (17:19 -0800)]
Rename "TIMEWARN" to "SLOW" in bionic gtest.

Bug: 19109188.
Change-Id: Idfe769ac652bf37642da24e4abb6061ca861d57e

9 years agoMerge "[Arm64] Fix overlapping fp fields in jmp_buf"
Elliott Hughes [Tue, 27 Jan 2015 04:56:19 +0000 (04:56 +0000)]
Merge "[Arm64] Fix overlapping fp fields in jmp_buf"

9 years agoam 5c7964c5: Merge "Clean up <stdlib.h> slightly."
Elliott Hughes [Tue, 27 Jan 2015 04:54:07 +0000 (04:54 +0000)]
am 5c7964c5: Merge "Clean up <stdlib.h> slightly."

* commit '5c7964c5f159bc3e1bbc577c7ace52177f399b21':
  Clean up <stdlib.h> slightly.

9 years agoAdd a test for float registers across setjmp/logjmp.
Elliott Hughes [Tue, 27 Jan 2015 04:52:34 +0000 (20:52 -0800)]
Add a test for float registers across setjmp/logjmp.

Change-Id: I17cc056b185755e0b91de096b5ceefee4f4e0b3a

9 years agoMerge "Clean up <stdlib.h> slightly."
Elliott Hughes [Tue, 27 Jan 2015 04:49:06 +0000 (04:49 +0000)]
Merge "Clean up <stdlib.h> slightly."

9 years agoam f2d02c38: Merge "Make bionic compile even if resolver debugging is enabled."
Lorenzo Colitti [Tue, 27 Jan 2015 04:07:10 +0000 (04:07 +0000)]
am f2d02c38: Merge "Make bionic compile even if resolver debugging is enabled."

* commit 'f2d02c38fb7a7b91ddbb7e54fffa1e9c6c0c7449':
  Make bionic compile even if resolver debugging is enabled.

9 years agoMerge "Make bionic compile even if resolver debugging is enabled."
Lorenzo Colitti [Tue, 27 Jan 2015 04:02:42 +0000 (04:02 +0000)]
Merge "Make bionic compile even if resolver debugging is enabled."

9 years agoam 5d428bba: Merge "Do not build host benchmark code on macs."
Christopher Ferris [Tue, 27 Jan 2015 01:37:45 +0000 (01:37 +0000)]
am 5d428bba: Merge "Do not build host benchmark code on macs."

* commit '5d428bbab4d5a1124186a75bef6a4fb008682e43':
  Do not build host benchmark code on macs.

9 years agoMerge "Do not build host benchmark code on macs."
Christopher Ferris [Tue, 27 Jan 2015 01:32:06 +0000 (01:32 +0000)]
Merge "Do not build host benchmark code on macs."

9 years agoam 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 01:21:06 +0000 (01:21 +0000)]
am 0e6af17a: Merge "Support --gtest_ouput option in bionic gtest main."

* commit '0e6af17a35b1e5e6e8c4a22dcb934bb641a92488':
  Support --gtest_ouput option in bionic gtest main.

9 years agoMerge "Support --gtest_ouput option in bionic gtest main."
Yabin Cui [Tue, 27 Jan 2015 01:01:05 +0000 (01:01 +0000)]
Merge "Support --gtest_ouput option in bionic gtest main."

9 years agoDo not build host benchmark code on macs.
Christopher Ferris [Tue, 27 Jan 2015 00:54:40 +0000 (16:54 -0800)]
Do not build host benchmark code on macs.

Macs don't have clock_gettime, and it doesn't seem worth getting this
to run on the host for mac.

Change-Id: I59d9939acc2ede1308b24a60c4242d45355d967d

9 years agoSupport --gtest_ouput option in bionic gtest main.
Yabin Cui [Fri, 23 Jan 2015 03:26:12 +0000 (19:26 -0800)]
Support --gtest_ouput option in bionic gtest main.

Bug: 19109500
Change-Id: Ib18f90ad522e66ea62dd4e02e314585d9b36e15f

9 years ago[Arm64] Fix overlapping fp fields in jmp_buf
Duane Sand [Tue, 27 Jan 2015 00:20:05 +0000 (16:20 -0800)]
[Arm64] Fix overlapping fp fields in jmp_buf

Change-Id: I9be9f118108f3f6e2bb02a5b01e0420fbfd15d85