OSDN Git Service

android-x86/bionic.git
10 years agoam acc63574: am 321ecc4e: Merge "Remove non-standard memswap."
Elliott Hughes [Mon, 10 Mar 2014 23:23:25 +0000 (23:23 +0000)]
am acc63574: am 321ecc4e: Merge "Remove non-standard memswap."

* commit 'acc635740cf64262e54fc9f62ea9ab24ac6ae3f3':
  Remove non-standard memswap.

10 years agoam 321ecc4e: Merge "Remove non-standard memswap."
Elliott Hughes [Mon, 10 Mar 2014 23:18:03 +0000 (23:18 +0000)]
am 321ecc4e: Merge "Remove non-standard memswap."

* commit '321ecc4eaf9d061905f009494b420a604e1d973e':
  Remove non-standard memswap.

10 years agoMerge "Remove non-standard memswap."
Elliott Hughes [Mon, 10 Mar 2014 23:12:58 +0000 (23:12 +0000)]
Merge "Remove non-standard memswap."

10 years agoRemove non-standard memswap.
Elliott Hughes [Mon, 10 Mar 2014 22:54:40 +0000 (15:54 -0700)]
Remove non-standard memswap.

Change-Id: I06548dda339987b755ef7139c590ca3e1f9fe0a9

10 years agoam 4d212bdb: am 638e7892: Merge "Upgrade to tzdata2014a."
Elliott Hughes [Mon, 10 Mar 2014 22:35:31 +0000 (22:35 +0000)]
am 4d212bdb: am 638e7892: Merge "Upgrade to tzdata2014a."

* commit '4d212bdb4f1999225e3be862b1060bd2af2eb0cd':
  Upgrade to tzdata2014a.

10 years agoam 638e7892: Merge "Upgrade to tzdata2014a."
Elliott Hughes [Mon, 10 Mar 2014 22:29:29 +0000 (22:29 +0000)]
am 638e7892: Merge "Upgrade to tzdata2014a."

* commit '638e7892c63c9d6968c0cf2e98ace89b9c5b2f26':
  Upgrade to tzdata2014a.

10 years agoMerge "Upgrade to tzdata2014a."
Elliott Hughes [Mon, 10 Mar 2014 22:21:35 +0000 (22:21 +0000)]
Merge "Upgrade to tzdata2014a."

10 years agoUpgrade to tzdata2014a.
Elliott Hughes [Mon, 10 Mar 2014 22:19:05 +0000 (15:19 -0700)]
Upgrade to tzdata2014a.

From the release notes:

  Changes affecting near-future time stamps

    Turkey begins DST on 2014-03-31, not 03-30.  (Thanks to Faruk Pasin
    for the heads-up, and to Tim Parenti for simplifying the update.)

  Changes affecting past time stamps

    Fiji ended DST on 2014-01-19 at 02:00, not the previously-scheduled
    03:00.  (Thanks to Steffen Thorsen.)

    Ukraine switched from Moscow to Eastern European time on 1990-07-01
    (not 1992-01-01), and observed DST during the entire next winter.
    (Thanks to Vladimir in Moscow via Alois Treindl.)

    In 1988 Israel observed DST from 04-10 to 09-04, not 04-09 to
    09-03.  (Thanks to Avigdor Finkelstein.)

Bug: 13193205
Change-Id: Ie2e4fd48491315f3e97befff0c8ea797a766c676

10 years agoam eacfa695: am 55b6ec3f: Merge "Update the NOTICE files"
Calin Juravle [Mon, 10 Mar 2014 11:39:58 +0000 (11:39 +0000)]
am eacfa695: am 55b6ec3f: Merge "Update the NOTICE files"

* commit 'eacfa69553c2ca98af51e4dc636ade89c347e6e9':
  Update the NOTICE files

10 years agoam 55b6ec3f: Merge "Update the NOTICE files"
Calin Juravle [Mon, 10 Mar 2014 11:33:20 +0000 (11:33 +0000)]
am 55b6ec3f: Merge "Update the NOTICE files"

* commit '55b6ec3f93e88633b22a6f295e14a5ab4902e63a':
  Update the NOTICE files

10 years agoam f535485c: am 0bca08d6: Merge "Update res_debug.c to take into account changes...
Calin Juravle [Mon, 10 Mar 2014 11:32:02 +0000 (11:32 +0000)]
am f535485c: am 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"

* commit 'f535485cc0fef33faaaa2bc2e2a0bd9d7254e97e':
  Update res_debug.c to take into account changes to the nameser.h

10 years agoam 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"
Calin Juravle [Mon, 10 Mar 2014 11:26:28 +0000 (11:26 +0000)]
am 0bca08d6: Merge "Update res_debug.c to take into account changes to the nameser.h"

* commit '0bca08d69f4d68782f5a3e6cf16dc74997bcf277':
  Update res_debug.c to take into account changes to the nameser.h

10 years agoMerge "Update the NOTICE files"
Calin Juravle [Mon, 10 Mar 2014 11:25:50 +0000 (11:25 +0000)]
Merge "Update the NOTICE files"

10 years agoUpdate the NOTICE files
Calin Juravle [Mon, 10 Mar 2014 11:23:52 +0000 (11:23 +0000)]
Update the NOTICE files

Change-Id: I751c4eeda813b811faa4ee26c64445896db3d5bd

10 years agoMerge "Update res_debug.c to take into account changes to the nameser.h"
Calin Juravle [Mon, 10 Mar 2014 11:20:12 +0000 (11:20 +0000)]
Merge "Update res_debug.c to take into account changes to the nameser.h"

10 years agoam e9dbdc8c: am cd50898a: Merge "Add includes for waitpid"
Brian Carlstrom [Sat, 8 Mar 2014 23:53:49 +0000 (23:53 +0000)]
am e9dbdc8c: am cd50898a: Merge "Add includes for waitpid"

* commit 'e9dbdc8cf429ff045861a1128ccd8be2c3d2324a':
  Add includes for waitpid

10 years agoam cd50898a: Merge "Add includes for waitpid"
Brian Carlstrom [Sat, 8 Mar 2014 23:48:00 +0000 (23:48 +0000)]
am cd50898a: Merge "Add includes for waitpid"

* commit 'cd50898ad11ad3157f22fac15802757a9b559822':
  Add includes for waitpid

10 years agoMerge "Add includes for waitpid"
Brian Carlstrom [Sat, 8 Mar 2014 23:41:45 +0000 (23:41 +0000)]
Merge "Add includes for waitpid"

10 years agoAdd includes for waitpid
Brian Carlstrom [Sat, 8 Mar 2014 23:05:26 +0000 (15:05 -0800)]
Add includes for waitpid

(cherry picked from commit f07c5dd9ab63f2e8ba736107bd4b69bbd8829c9f)

Change-Id: I7a765fd7a3a5f8f29a703f6a591c4fd8df4ebf1c

10 years agoam 00b522ad: am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."
Elliott Hughes [Sat, 8 Mar 2014 11:02:22 +0000 (11:02 +0000)]
am 00b522ad: am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."

* commit '00b522ad9e87cb9ae5ad776ded92ac01e79ef31b':
  Fix pthread_detach for already-exited threads.

10 years agoam 206e2c05: am 333e2ae8: Merge "Add si_timerid to <signal.h>."
Elliott Hughes [Sat, 8 Mar 2014 07:28:14 +0000 (07:28 +0000)]
am 206e2c05: am 333e2ae8: Merge "Add si_timerid to <signal.h>."

* commit '206e2c05f1b08a60b5706c93fbb6e53f456ae67d':
  Add si_timerid to <signal.h>.

10 years agoam 68126def: am 4d46c940: Merge "Rewrite the POSIX timer functions."
Elliott Hughes [Sat, 8 Mar 2014 07:28:11 +0000 (07:28 +0000)]
am 68126def: am 4d46c940: Merge "Rewrite the POSIX timer functions."

* commit '68126def6e37eae1ddc0b372fcecc3ac8287b97e':
  Rewrite the POSIX timer functions.

10 years agoam fd9e20d1: Merge "Fix pthread_detach for already-exited threads."
Elliott Hughes [Sat, 8 Mar 2014 03:13:34 +0000 (03:13 +0000)]
am fd9e20d1: Merge "Fix pthread_detach for already-exited threads."

* commit 'fd9e20d10f946334955ca199b0178580d284e89f':
  Fix pthread_detach for already-exited threads.

10 years agoMerge "Fix pthread_detach for already-exited threads."
Elliott Hughes [Sat, 8 Mar 2014 03:07:46 +0000 (03:07 +0000)]
Merge "Fix pthread_detach for already-exited threads."

10 years agoFix pthread_detach for already-exited threads.
Elliott Hughes [Sat, 8 Mar 2014 01:59:05 +0000 (17:59 -0800)]
Fix pthread_detach for already-exited threads.

Change-Id: I2bf7f41234d93b226132a4c51705f4186f4961c3
Reported-by: Paresh Nakhe <pnakhe@codeaurora.org>
10 years agoam 333e2ae8: Merge "Add si_timerid to <signal.h>."
Elliott Hughes [Sat, 8 Mar 2014 01:56:39 +0000 (01:56 +0000)]
am 333e2ae8: Merge "Add si_timerid to <signal.h>."

* commit '333e2ae87dac85d6420786e9e12ffd7ea84dae38':
  Add si_timerid to <signal.h>.

10 years agoam 4d46c940: Merge "Rewrite the POSIX timer functions."
Elliott Hughes [Sat, 8 Mar 2014 01:56:38 +0000 (01:56 +0000)]
am 4d46c940: Merge "Rewrite the POSIX timer functions."

* commit '4d46c940315af2d93efb44e751b69ea6880a5d65':
  Rewrite the POSIX timer functions.

10 years agoMerge "Add si_timerid to <signal.h>."
Elliott Hughes [Sat, 8 Mar 2014 00:52:02 +0000 (00:52 +0000)]
Merge "Add si_timerid to <signal.h>."

10 years agoMerge "Rewrite the POSIX timer functions."
Elliott Hughes [Sat, 8 Mar 2014 00:50:56 +0000 (00:50 +0000)]
Merge "Rewrite the POSIX timer functions."

10 years agoRewrite the POSIX timer functions.
Elliott Hughes [Tue, 4 Mar 2014 23:58:02 +0000 (15:58 -0800)]
Rewrite the POSIX timer functions.

This is a much simpler implementation that lets the kernel
do as much as possible.

Co-authored-by: Jörgen Strand <jorgen.strand@sonymobile.com>
Co-authored-by: Snild Dolkow <snild.dolkow@sonymobile.com>
Change-Id: Iad19f155de977667aea09410266d54e63e8a26bf

10 years agoAdd si_timerid to <signal.h>.
Elliott Hughes [Fri, 7 Mar 2014 23:41:25 +0000 (15:41 -0800)]
Add si_timerid to <signal.h>.

The kernel uses the very misleading name "si_tid", but glibc uses the more
intention-revealing "si_timerid". We should let people use that.

(Added because I wanted to improve SI_TIMER siginfo_t dumping in strace.)

Change-Id: Ib626cdd3b57a6afb276a15753a237b4e81ec45e3

10 years agoUpdate res_debug.c to take into account changes
Calin Juravle [Fri, 7 Mar 2014 20:03:57 +0000 (20:03 +0000)]
Update res_debug.c to take into account changes
to the nameser.h

Bug: 13219633
Change-Id: Id75de2e8933f716ad86ca296a97f5c619fb946a7

10 years agoam d57eb903: am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"
Calin Juravle [Fri, 7 Mar 2014 19:29:51 +0000 (19:29 +0000)]
am d57eb903: am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"

* commit 'd57eb903c1ca2f798ab6a9ab0f9c84678b0f3025':
  Fix broken pointer overflow check ns_name_unpack()

10 years agoam 542e6c87: am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"
Calin Juravle [Fri, 7 Mar 2014 19:29:50 +0000 (19:29 +0000)]
am 542e6c87: am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"

* commit '542e6c87e52f7886e5ede72e3222c2d6ed83aefb':
  Sync up nameser with upstream(2014.03.05)

10 years agoam b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"
Calin Juravle [Fri, 7 Mar 2014 11:52:24 +0000 (11:52 +0000)]
am b145b5ef: Merge "Fix broken pointer overflow check ns_name_unpack()"

* commit 'b145b5ef7c91ec76e4dc8450f70b7af80873b46e':
  Fix broken pointer overflow check ns_name_unpack()

10 years agoam d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"
Calin Juravle [Fri, 7 Mar 2014 11:52:24 +0000 (11:52 +0000)]
am d9ba757e: Merge "Sync up nameser with upstream(2014.03.05)"

* commit 'd9ba757ef4546ef931cfa2fff4e206b36c955ead':
  Sync up nameser with upstream(2014.03.05)

10 years agoMerge "Fix broken pointer overflow check ns_name_unpack()"
Calin Juravle [Fri, 7 Mar 2014 11:46:48 +0000 (11:46 +0000)]
Merge "Fix broken pointer overflow check ns_name_unpack()"

10 years agoMerge "Sync up nameser with upstream(2014.03.05)"
Calin Juravle [Fri, 7 Mar 2014 11:45:58 +0000 (11:45 +0000)]
Merge "Sync up nameser with upstream(2014.03.05)"

10 years agoam 37486940: am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under...
Elliott Hughes [Fri, 7 Mar 2014 11:00:32 +0000 (11:00 +0000)]
am 37486940: am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."

* commit '3748694064366694b2136ac8943332d5ceec7bf4':
  Fix some pthread symbols build as C++ symbol under x64 lunch.

10 years agoam e992f79a: am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."
Elliott Hughes [Fri, 7 Mar 2014 03:09:45 +0000 (03:09 +0000)]
am e992f79a: am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."

* commit 'e992f79a5627e9d839a001f8563b637d2e97bb93':
  Bring the generate-NOTICE script up to date.

10 years agoam 372196e9: am dec5bacf: Merge "Update the NOTICE files."
Elliott Hughes [Fri, 7 Mar 2014 03:09:44 +0000 (03:09 +0000)]
am 372196e9: am dec5bacf: Merge "Update the NOTICE files."

* commit '372196e955047551d6241de7b83ae43bdb5a8b5c':
  Update the NOTICE files.

10 years agoam 91a5272e: am e7ea9363: Merge "Add ARMv8 optimized string handling functions based...
Elliott Hughes [Fri, 7 Mar 2014 03:09:44 +0000 (03:09 +0000)]
am 91a5272e: am e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex-strings"

* commit '91a5272e6f7712e5313b85c6a615f6891e7ea0a7':
  Add ARMv8 optimized string handling functions based on cortex-strings

10 years agoam d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."
Elliott Hughes [Fri, 7 Mar 2014 01:27:38 +0000 (01:27 +0000)]
am d40eb159: Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."

* commit 'd40eb1594dff0103247292967f8a801ef8c0ff12':
  Fix some pthread symbols build as C++ symbol under x64 lunch.

10 years agoMerge "Fix some pthread symbols build as C++ symbol under x64 lunch."
Elliott Hughes [Fri, 7 Mar 2014 01:03:24 +0000 (01:03 +0000)]
Merge "Fix some pthread symbols build as C++ symbol under x64 lunch."

10 years agoam 087dbc6b: Merge "Bring the generate-NOTICE script up to date."
Elliott Hughes [Fri, 7 Mar 2014 00:01:24 +0000 (00:01 +0000)]
am 087dbc6b: Merge "Bring the generate-NOTICE script up to date."

* commit '087dbc6bb789dc549d8f71ea820e6fc7e69d99d2':
  Bring the generate-NOTICE script up to date.

10 years agoam dec5bacf: Merge "Update the NOTICE files."
Elliott Hughes [Fri, 7 Mar 2014 00:01:23 +0000 (00:01 +0000)]
am dec5bacf: Merge "Update the NOTICE files."

* commit 'dec5bacf1481a0e6b0ae0078933dbfb8953b7d19':
  Update the NOTICE files.

10 years agoam e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex...
Elliott Hughes [Fri, 7 Mar 2014 00:01:23 +0000 (00:01 +0000)]
am e7ea9363: Merge "Add ARMv8 optimized string handling functions based on cortex-strings"

* commit 'e7ea9363cb30d5c36c9333162c11b1e7b4f302b6':
  Add ARMv8 optimized string handling functions based on cortex-strings

10 years agoMerge "Bring the generate-NOTICE script up to date."
Elliott Hughes [Thu, 6 Mar 2014 23:12:15 +0000 (23:12 +0000)]
Merge "Bring the generate-NOTICE script up to date."

10 years agoBring the generate-NOTICE script up to date.
Elliott Hughes [Thu, 6 Mar 2014 23:10:22 +0000 (15:10 -0800)]
Bring the generate-NOTICE script up to date.

Change-Id: I63981a2f3cb0a4d7ee7e1a2b4ce00f77898ac25b

10 years agoMerge "Update the NOTICE files."
Elliott Hughes [Thu, 6 Mar 2014 23:07:08 +0000 (23:07 +0000)]
Merge "Update the NOTICE files."

10 years agoUpdate the NOTICE files.
Elliott Hughes [Thu, 6 Mar 2014 23:06:11 +0000 (15:06 -0800)]
Update the NOTICE files.

Change-Id: Ie72a01cddd5b813393656f603689e497b0f88ddd

10 years agoMerge "Add ARMv8 optimized string handling functions based on cortex-strings"
Elliott Hughes [Thu, 6 Mar 2014 23:02:11 +0000 (23:02 +0000)]
Merge "Add ARMv8 optimized string handling functions based on cortex-strings"

10 years agoAdd ARMv8 optimized string handling functions based on cortex-strings
Bernhard Rosenkraenzer [Wed, 5 Mar 2014 10:40:57 +0000 (11:40 +0100)]
Add ARMv8 optimized string handling functions based on cortex-strings

This adds ARMv8 optimized string handling functions to Bionic.
The implementations live in a generic/ directory because there will
likely be more CPU specific versions (e.g. Cortex-A53 vs. Cortex-A57)
later.

These implementations are 50%+ faster on current v8 models.

Change-Id: If3adc54a284d9519459b0d4d4390f0cd6ded8786
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
10 years agoFix broken pointer overflow check ns_name_unpack()
Calin Juravle [Thu, 6 Mar 2014 17:05:49 +0000 (17:05 +0000)]
Fix broken pointer overflow check ns_name_unpack()

Many compilers may optimize away the overflow check `msg + l < msg',
where `msg' is a pointer and `l' is an integer, because pointer
overflow is undefined behavior in C.

Use a safe precondition test `l >= eom - msg' instead.
Bug: 13219633

Change-Id: I3fca2125834073cc36d7e9c4e586e97842265a59

10 years agoSync up nameser with upstream(2014.03.05)
Calin Juravle [Wed, 5 Mar 2014 15:06:52 +0000 (15:06 +0000)]
Sync up nameser with upstream(2014.03.05)

Bug: 13219633

Change-Id: I8ee4ddf270710e9eea415fa3db984af7719a8dd4

10 years agoam a6bd876e: am 68a651e7: Merge "libc: libc_logging 64bit compile issue"
Mark Salyzyn [Thu, 6 Mar 2014 02:50:44 +0000 (02:50 +0000)]
am a6bd876e: am 68a651e7: Merge "libc: libc_logging 64bit compile issue"

* commit 'a6bd876e3dffedb2227dde034328987ebb79223b':
  libc: libc_logging 64bit compile issue

10 years agoam 68a651e7: Merge "libc: libc_logging 64bit compile issue"
Mark Salyzyn [Thu, 6 Mar 2014 01:08:55 +0000 (01:08 +0000)]
am 68a651e7: Merge "libc: libc_logging 64bit compile issue"

* commit '68a651e7162b922a2916da524ef9706276640752':
  libc: libc_logging 64bit compile issue

10 years agoMerge "libc: libc_logging 64bit compile issue"
Mark Salyzyn [Thu, 6 Mar 2014 01:01:17 +0000 (01:01 +0000)]
Merge "libc: libc_logging 64bit compile issue"

10 years agolibc: libc_logging 64bit compile issue
Mark Salyzyn [Wed, 5 Mar 2014 21:44:00 +0000 (13:44 -0800)]
libc: libc_logging 64bit compile issue

- user space logger wire format for time

Change-Id: I4840653e3a6ae151a02584311d1227d2fe536d0f

10 years agoam 320765f4: am 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use...
Robert Greenwalt [Thu, 6 Mar 2014 00:14:42 +0000 (00:14 +0000)]
am 320765f4: am 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

* commit '320765f44e2d20b4b9542c13fb3358a0ea2caef3':
  Fix dns searchdomain use in gethostbyname.

10 years agoam 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyna...
Robert Greenwalt [Wed, 5 Mar 2014 22:21:24 +0000 (22:21 +0000)]
am 8b6a9651: am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

* commit '8b6a965150b955393e46572c79d69577f0425a30':
  Fix dns searchdomain use in gethostbyname.

10 years agoam c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into...
Robert Greenwalt [Wed, 5 Mar 2014 22:14:48 +0000 (22:14 +0000)]
am c5443e6e: am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

* commit 'c5443e6e516921bdb1862b85a52b873523427bea':
  Fix dns searchdomain use in gethostbyname.

10 years agoam abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev
Robert Greenwalt [Wed, 5 Mar 2014 18:35:18 +0000 (18:35 +0000)]
am abf91850: Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

* commit 'abf91850f96858a286de268267ca5cf337ec9a3b':
  Fix dns searchdomain use in gethostbyname.

10 years agoMerge "Fix dns searchdomain use in gethostbyname." into klp-dev
Robert Greenwalt [Wed, 5 Mar 2014 18:26:26 +0000 (18:26 +0000)]
Merge "Fix dns searchdomain use in gethostbyname." into klp-dev

10 years agoam 4e53c59d: am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
Narayan Kamath [Wed, 5 Mar 2014 13:31:12 +0000 (13:31 +0000)]
am 4e53c59d: am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."

* commit '4e53c59db205bcb991000bf540241eb5d3b99bef':
  Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.

10 years agoam 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
Narayan Kamath [Wed, 5 Mar 2014 13:24:32 +0000 (13:24 +0000)]
am 48d145c1: Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."

* commit '48d145c1ced299525ca766afd2aa34725bef5301':
  Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.

10 years agoMerge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."
Narayan Kamath [Wed, 5 Mar 2014 13:19:21 +0000 (13:19 +0000)]
Merge "Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC."

10 years agoStop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.
Narayan Kamath [Tue, 4 Mar 2014 16:16:43 +0000 (16:16 +0000)]
Stop defining HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC.

No code is using this definition.

Change-Id: I188db63f38d62baf1cb57d0a36fcda540ad98492

10 years agoFix some pthread symbols build as C++ symbol under x64 lunch.
Halton Huo [Fri, 21 Feb 2014 10:05:29 +0000 (18:05 +0800)]
Fix some pthread symbols build as C++ symbol under x64 lunch.

Functions protected with !defined(__LP64__) will be get build as C++
symbols for X64 build. This is not the desired work. So protect the
implementation with !defined(__LP64__) as well.

Change-Id: I4ef50ec36e46289ab308063e24f6c5ac61a6ca8d

10 years agoam 614f7626: am bef50164: Merge "Remove dead NULL checks from pthread code."
Elliott Hughes [Tue, 4 Mar 2014 19:16:08 +0000 (19:16 +0000)]
am 614f7626: am bef50164: Merge "Remove dead NULL checks from pthread code."

* commit '614f7626fc5dcf5c0cff2c49799f2659524d3ad3':
  Remove dead NULL checks from pthread code.

10 years agoam bef50164: Merge "Remove dead NULL checks from pthread code."
Elliott Hughes [Tue, 4 Mar 2014 19:10:24 +0000 (19:10 +0000)]
am bef50164: Merge "Remove dead NULL checks from pthread code."

* commit 'bef5016491eed41521f514d5c5528e2274689948':
  Remove dead NULL checks from pthread code.

10 years agoMerge "Remove dead NULL checks from pthread code."
Elliott Hughes [Tue, 4 Mar 2014 19:04:19 +0000 (19:04 +0000)]
Merge "Remove dead NULL checks from pthread code."

10 years agoRemove dead NULL checks from pthread code.
Elliott Hughes [Tue, 4 Mar 2014 18:55:39 +0000 (10:55 -0800)]
Remove dead NULL checks from pthread code.

GCC is removing these checks anyway because it knows the arguments
must be non-null, so leaving this code around is just confusing.

We know from experience that people were shipping code with locking
bugs because they weren't checking for error returns. Failing hard
like glibc does seems the better choice. (And it's what the checked
in code was already doing; this patch doesn't change that. It just
makes it more obvious that that's what's going on.)

Change-Id: I167c6d7c0a296822baf0cb9b43b97821eba7ab35

10 years agoam 17ef5653: am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."
Elliott Hughes [Tue, 4 Mar 2014 18:50:35 +0000 (18:50 +0000)]
am 17ef5653: am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."

* commit '17ef5653dd8aa92176e90964c95a02ccf4809695':
  Implement POSIX pthread_mutex_timedlock.

10 years agoam a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."
Elliott Hughes [Tue, 4 Mar 2014 18:45:18 +0000 (18:45 +0000)]
am a0bf9bde: Merge "Implement POSIX pthread_mutex_timedlock."

* commit 'a0bf9bdea24164db96ec1d5dfa2cd327942671b6':
  Implement POSIX pthread_mutex_timedlock.

10 years agoMerge "Implement POSIX pthread_mutex_timedlock."
Elliott Hughes [Tue, 4 Mar 2014 18:39:08 +0000 (18:39 +0000)]
Merge "Implement POSIX pthread_mutex_timedlock."

10 years agoam a934a901: am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
Elliott Hughes [Tue, 4 Mar 2014 18:35:33 +0000 (18:35 +0000)]
am a934a901: am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.

* commit 'a934a9019efeb2630bfac92ad186c3db4a525735':
  Upgrade to tzdata2013i.

10 years agoam e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
Elliott Hughes [Tue, 4 Mar 2014 18:29:22 +0000 (18:29 +0000)]
am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.

* commit 'e365f2840f20bb6b7fdd044c9515018b2d4cd309':
  Upgrade to tzdata2013i.

10 years agoImplement POSIX pthread_mutex_timedlock.
Elliott Hughes [Tue, 4 Mar 2014 00:42:47 +0000 (16:42 -0800)]
Implement POSIX pthread_mutex_timedlock.

This replaces the non-standard pthread_mutex_lock_timeout_np, which we have
to keep around on LP32 for binary compatibility.

Change-Id: I098dc7cd38369f0c1bec1fac35687fbd27392e00

10 years agoam f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
Elliott Hughes [Tue, 4 Mar 2014 18:26:11 +0000 (18:26 +0000)]
am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.

* commit 'f27cc051ec36809a64f8cc6a17fd39eca3516d1d':
  Upgrade to tzdata2013i.

10 years agoam 806f3bd7: Upgrade to tzdata2013i.
Elliott Hughes [Tue, 4 Mar 2014 18:22:45 +0000 (18:22 +0000)]
am 806f3bd7: Upgrade to tzdata2013i.

* commit '806f3bd7aaec5b7444b1b218b69b3952386cb92f':
  Upgrade to tzdata2013i.

10 years agoam 0c8d3b35: am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public includ...
Calin Juravle [Tue, 4 Mar 2014 18:04:44 +0000 (18:04 +0000)]
am 0c8d3b35: am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"

* commit '0c8d3b35c6eb07384b0176ab3d1d462bad996e06':
  Moved nameser.h and namser_compat.h to public include dir

10 years agoam 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"
Calin Juravle [Tue, 4 Mar 2014 17:58:52 +0000 (17:58 +0000)]
am 8e541b12: Merge "Moved nameser.h and namser_compat.h to public include dir"

* commit '8e541b12237f597c186820b9e18b059b620bef54':
  Moved nameser.h and namser_compat.h to public include dir

10 years agoam cc0948d8: am 4a46a689: Merge "Moved private dns header to their own dir."
Calin Juravle [Tue, 4 Mar 2014 17:55:59 +0000 (17:55 +0000)]
am cc0948d8: am 4a46a689: Merge "Moved private dns header to their own dir."

* commit 'cc0948d86a50a1b2441552cd0f357ca040855928':
  Moved private dns header to their own dir.

10 years agoam 8121d264: am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to...
Calin Juravle [Tue, 4 Mar 2014 17:55:58 +0000 (17:55 +0000)]
am 8121d264: am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."

* commit '8121d264bc58c6d97edae23981d2646b05fcdf83':
  Renamed the misleading libc/netbsd directory to libc/dns.

10 years agoMerge "Moved nameser.h and namser_compat.h to public include dir"
Calin Juravle [Tue, 4 Mar 2014 17:53:19 +0000 (17:53 +0000)]
Merge "Moved nameser.h and namser_compat.h to public include dir"

10 years agoam 4a46a689: Merge "Moved private dns header to their own dir."
Calin Juravle [Tue, 4 Mar 2014 17:19:13 +0000 (17:19 +0000)]
am 4a46a689: Merge "Moved private dns header to their own dir."

* commit '4a46a68942d180e28c3e87f08359351245b220b7':
  Moved private dns header to their own dir.

10 years agoam 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."
Calin Juravle [Tue, 4 Mar 2014 17:19:13 +0000 (17:19 +0000)]
am 9f2d1bcd: Merge "Renamed the misleading libc/netbsd directory to libc/dns."

* commit '9f2d1bcd176cb4a6f2bc0cae3f3c786444383476':
  Renamed the misleading libc/netbsd directory to libc/dns.

10 years agoam 3f985d31: am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 16:05:46 +0000 (16:05 +0000)]
am 3f985d31: am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."

* commit '3f985d31b6fc3fd61f76b71aa05c3c69d853452a':
  Implement pthread_condattr_{get,set}clock.

10 years agoMoved nameser.h and namser_compat.h to public include dir
Calin Juravle [Tue, 4 Mar 2014 15:01:29 +0000 (15:01 +0000)]
Moved nameser.h and namser_compat.h to public include dir

This is part of the upstream sync (Net/Open/Free BSDs expose the
nameser.h in their public headers).

Change-Id: Ib063d4e50586748cc70201a8296cd90d2e48bbcf

10 years agoMerge "Moved private dns header to their own dir."
Calin Juravle [Tue, 4 Mar 2014 14:25:50 +0000 (14:25 +0000)]
Merge "Moved private dns header to their own dir."

10 years agoMerge "Renamed the misleading libc/netbsd directory to libc/dns."
Calin Juravle [Tue, 4 Mar 2014 14:25:30 +0000 (14:25 +0000)]
Merge "Renamed the misleading libc/netbsd directory to libc/dns."

10 years agoam caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 13:41:52 +0000 (13:41 +0000)]
am caaae7f2: Merge "Implement pthread_condattr_{get,set}clock."

* commit 'caaae7f2e9a89df1514ba06d13e9eb5a0f04e94c':
  Implement pthread_condattr_{get,set}clock.

10 years agoMerge "Implement pthread_condattr_{get,set}clock."
Narayan Kamath [Tue, 4 Mar 2014 13:37:07 +0000 (13:37 +0000)]
Merge "Implement pthread_condattr_{get,set}clock."

10 years agoImplement pthread_condattr_{get,set}clock.
Narayan Kamath [Mon, 3 Mar 2014 15:38:51 +0000 (15:38 +0000)]
Implement pthread_condattr_{get,set}clock.

We only support CLOCK_REALTIME and CLOCK_MONOTONIC for now,
so we us a single bit from pthread_cond_t->value to denote
the clock type. Note that this reduces the width of the counter
to 30 bits, but this should be large enough for all practical
purposes.

bug: 13232338

Change-Id: I857e7da64b3ecbb23eeac7c9f3fbd460f60231bd

10 years agoam fea778b3: am 2c7c79e6: Merge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 01:11:01 +0000 (01:11 +0000)]
am fea778b3: am 2c7c79e6: Merge "Switch to upstream alarm(3)."

* commit 'fea778b308be2dd0d75bd757129c3ef62ace3a61':
  Switch to upstream alarm(3).

10 years agoam 2c7c79e6: Merge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 01:04:22 +0000 (01:04 +0000)]
am 2c7c79e6: Merge "Switch to upstream alarm(3)."

* commit '2c7c79e6e5e730553281b6d42e734ee2c532a660':
  Switch to upstream alarm(3).

10 years agoMerge "Switch to upstream alarm(3)."
Elliott Hughes [Tue, 4 Mar 2014 00:58:53 +0000 (00:58 +0000)]
Merge "Switch to upstream alarm(3)."

10 years agoSwitch to upstream alarm(3).
Elliott Hughes [Mon, 3 Mar 2014 22:38:20 +0000 (14:38 -0800)]
Switch to upstream alarm(3).

The only way the setitimer call can fail is if the unsigned number of seconds is
too large to fit in the kernel's signed number of seconds. If you schedule a
68-year alarm, glibc will fail by returning 0 and BSD will fail by returning -1.

Change-Id: Ic3721b01428f5402d99f31fd7f2ba2cc58805607

10 years agoam 337815ff: am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"
Mark Salyzyn [Mon, 3 Mar 2014 21:18:08 +0000 (21:18 +0000)]
am 337815ff: am f33df6a6: Merge "libc: Make calls to new user-space logger (revisit)"

* commit '337815ffa2d4c899bf3c2b9798cb90665b497cea':
  libc: Make calls to new user-space logger (revisit)