OSDN Git Service

android-x86/bionic.git
9 years agoam 5ace71de: am dcf371f5: am 7e1b3d3e: Merge "Switch sem_t from bionic atomics to...
Yabin Cui [Wed, 4 Feb 2015 18:56:59 +0000 (18:56 +0000)]
am 5ace71de: am dcf371f5: am 7e1b3d3e: Merge "Switch sem_t from bionic atomics to stdatomic.h."

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

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 70ad54d8: am 2d988187: am 11829be3: Merge "Add test about pthread_mutex_t owner...
Yabin Cui [Tue, 3 Feb 2015 22:56:43 +0000 (22:56 +0000)]
am 70ad54d8: am 2d988187: am 11829be3: Merge "Add test about pthread_mutex_t owner tid limit."

* commit '70ad54d8c0cdcffa476e671554afcfb5fd385090':
  Add test about pthread_mutex_t owner tid limit.

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 3ce62609: am 72c3071d: am f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls...
Nick Kralevich [Tue, 3 Feb 2015 20:39:28 +0000 (20:39 +0000)]
am 3ce62609: am 72c3071d: am f00f484c: Merge "Ensure raw fchmod/fchmodat syscalls are hidden."

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

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 f0e556a2: am 4177bd8d: Fixes to the update-tzdata.py tool
Neil Fuller [Tue, 3 Feb 2015 15:05:45 +0000 (15:05 +0000)]
am f0e556a2: am 4177bd8d: Fixes to the update-tzdata.py tool

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

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

* commit 'd3ef8fbdf746588e5c4a1ef2961f25ceabec8e42':
  Update tzdata to tzdata2015a

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 da3a4490: am 0cddad0f: am d57bf449: Merge "Switch pthread_mutex_t from bionic...
Hans Boehm [Tue, 3 Feb 2015 03:00:28 +0000 (03:00 +0000)]
am da3a4490: am 0cddad0f: am d57bf449: Merge "Switch pthread_mutex_t from bionic atomics to <stdatomic.h>."

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

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 ea31751e: am aa916c8d: am c5999c1e: Merge "Clean up SEEK_SET definitions."
Elliott Hughes [Tue, 3 Feb 2015 02:00:45 +0000 (02:00 +0000)]
am ea31751e: am aa916c8d: am c5999c1e: Merge "Clean up SEEK_SET definitions."

* commit 'ea31751e4b61adeaad1cf186b1774df4591012e2':
  Clean up SEEK_SET definitions.

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 4c8a50ba: am 0cb8abc6: am d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and...
Nick Kralevich [Mon, 2 Feb 2015 22:17:41 +0000 (22:17 +0000)]
am 4c8a50ba: am 0cb8abc6: am d80ec661: Merge "Add fchmodat(AT_SYMLINK_NOFOLLOW) and fchmod O_PATH support"

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

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 671b7eb2: am 815fc9bc: am c57b5c50: Merge "Small logging cleanup."
Elliott Hughes [Mon, 2 Feb 2015 21:14:14 +0000 (21:14 +0000)]
am 671b7eb2: am 815fc9bc: am c57b5c50: Merge "Small logging cleanup."

* commit '671b7eb288df3816b108871b5349c79f86d23be8':
  Small logging cleanup.

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 c8820e61: am 6c1252de: am 530aaecc: Merge "Explicitly check that the reason fortif...
Elliott Hughes [Mon, 2 Feb 2015 19:55:05 +0000 (19:55 +0000)]
am c8820e61: am 6c1252de: am 530aaecc: Merge "Explicitly check that the reason fortify tests abort is fortify."

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

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 agoam 2e02769a: am 5f7819d6: am 7f0f30c6: Merge "Fix clang build."
Elliott Hughes [Mon, 2 Feb 2015 19:31:01 +0000 (19:31 +0000)]
am 2e02769a: am 5f7819d6: am 7f0f30c6: Merge "Fix clang build."

* commit '2e02769aa145b6ca1890174b96be9bcd5cf33bc6':
  Fix clang build.

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 575bceb2: am 0a302e01: am d514d9bb: Merge "Fixes to the update-tzdata.py tool"
Neil Fuller [Mon, 2 Feb 2015 18:10:11 +0000 (18:10 +0000)]
am 575bceb2: am 0a302e01: am d514d9bb: Merge "Fixes to the update-tzdata.py tool"

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

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

* commit '5372b83eab9d9e5bd6bec18a832858c9dd18c432':
  Fortify poll and ppoll.

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 a5d743a6: am 9843afd6: am ffbda83b: Merge "Add the fortify tests back into the...
Elliott Hughes [Mon, 2 Feb 2015 06:40:36 +0000 (06:40 +0000)]
am a5d743a6: am 9843afd6: am ffbda83b: Merge "Add the fortify tests back into the glibc tests."

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

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 9b96dd6b: am d2d63740: am 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."
Elliott Hughes [Sat, 31 Jan 2015 08:34:02 +0000 (08:34 +0000)]
am 9b96dd6b: am d2d63740: am 21cdd22f: Merge "Include <malloc.h> for struct mallinfo."

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

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

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

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 3c68e194: am 18dd2f3b: am 94335cc8: Merge "Put back inline definitions if using...
Dan Albert [Fri, 30 Jan 2015 21:28:05 +0000 (21:28 +0000)]
am 3c68e194: am 18dd2f3b: am 94335cc8: Merge "Put back inline definitions if using an old API."

* commit '3c68e1946ae61fc0bbd18c718d9be441f4d3c350':
  Put back inline definitions if using an old API.

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

* commit '0772f933a4e5e7659c7dbc37d784a5f25a2ce94b':
  Remove unused CONFIG_SECONDS.

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 36aad393: am c9af0e9a: am cd1959b0: Merge "Add primitive CPPLINT.cfg."
Dan Albert [Thu, 29 Jan 2015 22:26:14 +0000 (22:26 +0000)]
am 36aad393: am c9af0e9a: am cd1959b0: Merge "Add primitive CPPLINT.cfg."

* commit '36aad393dba7ac1870e36e6e75a71154cd6a8213':
  Add primitive CPPLINT.cfg.

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.

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 f63ae055: am 508d5579: am 782aa39f: Merge "Rewrite __cxa_guard.cpp with <stdatomic...
Yabin Cui [Thu, 29 Jan 2015 20:57:43 +0000 (20:57 +0000)]
am f63ae055: am 508d5579: am 782aa39f: Merge "Rewrite __cxa_guard.cpp with <stdatomic.h>."

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

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

* commit '508d5579cd0d3723662755ab418ac3085e9f30cd':
  Rewrite __cxa_guard.cpp with <stdatomic.h>.

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 dbfcf000: am e40b4eb3: am 7f17aea2: Merge "Add missing includes."
Elliott Hughes [Thu, 29 Jan 2015 17:22:39 +0000 (17:22 +0000)]
am dbfcf000: am e40b4eb3: am 7f17aea2: Merge "Add missing includes."

* commit 'dbfcf000c077ba97d22d957647eabb3b45d015cf':
  Add missing includes.

9 years agoam 5d7fb6f0: am 38dfc222: am 017da8bc: Merge "Add --gtest-filter as synonym for ...
Yabin Cui [Thu, 29 Jan 2015 17:22:22 +0000 (17:22 +0000)]
am 5d7fb6f0: am 38dfc222: am 017da8bc: Merge "Add --gtest-filter as synonym for --gtest_filter in bionic gtest main."

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

9 years agoam 1d72a38d: am 2633dfa5: am 43606bc1: Merge "Only one crashing thread should contact...
Christopher Ferris [Thu, 29 Jan 2015 17:22:08 +0000 (17:22 +0000)]
am 1d72a38d: am 2633dfa5: am 43606bc1: Merge "Only one crashing thread should contact debuggerd."

* commit '1d72a38dbb40b0096cf205fcdf0e3c2eca28f7f5':
  Only one crashing thread should contact debuggerd.

9 years agoam 4f2e2a9d: am 8661b092: am a9c3d056: Merge "Modify MIPS64 stat structure to match...
Elliott Hughes [Thu, 29 Jan 2015 17:22:02 +0000 (17:22 +0000)]
am 4f2e2a9d: am 8661b092: am a9c3d056: Merge "Modify MIPS64 stat structure to match a generic one in AOSP."

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