OSDN Git Service

android-x86/bionic.git
10 years agoam 56e1eebd: Merge "logd: default user space logger"
Mark Salyzyn [Wed, 12 Mar 2014 21:07:06 +0000 (21:07 +0000)]
am 56e1eebd: Merge "logd: default user space logger"

* commit '56e1eebd39be4830f309603b38e4b1118c544fb3':
  logd: default user space logger

10 years agoMerge "logd: default user space logger"
Mark Salyzyn [Wed, 12 Mar 2014 21:02:46 +0000 (21:02 +0000)]
Merge "logd: default user space logger"

10 years agoam eef2928f: Merge "Include what you use."
Elliott Hughes [Wed, 12 Mar 2014 20:56:22 +0000 (20:56 +0000)]
am eef2928f: Merge "Include what you use."

* commit 'eef2928f94ac6ff5659c6177785b47e6fcdd03a2':
  Include what you use.

10 years agoam 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
Elliott Hughes [Wed, 12 Mar 2014 20:52:56 +0000 (20:52 +0000)]
am 2282e16d: Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"

* commit '2282e16d76c6691968bd62a4c4bb3ecefabc98ca':
  Use [u]int32_t instead of __[u]int32_t in sys/types.h

10 years agoMerge "Include what you use."
Elliott Hughes [Wed, 12 Mar 2014 20:51:48 +0000 (20:51 +0000)]
Merge "Include what you use."

10 years agoInclude what you use.
Elliott Hughes [Wed, 12 Mar 2014 20:50:38 +0000 (13:50 -0700)]
Include what you use.

Don't rely on transitive includes. (Even though that works fine in AOSP.)

Change-Id: Ifc06575e4aea383cfff24d6c5c14fc0a7aabdf2b

10 years agoMerge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"
Elliott Hughes [Wed, 12 Mar 2014 20:48:39 +0000 (20:48 +0000)]
Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h"

10 years agoUse [u]int32_t instead of __[u]int32_t in sys/types.h
Pavel Chupin [Wed, 12 Mar 2014 07:23:49 +0000 (11:23 +0400)]
Use [u]int32_t instead of __[u]int32_t in sys/types.h

Avoid this error in -ffreestanding mode:
sys/types.h:45:1: error: unknown type name '__uint32_t'

Change-Id: I826b36873862d1d70b47401f31f4369a77666b8e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
10 years agologd: default user space logger
Mark Salyzyn [Wed, 12 Mar 2014 16:27:53 +0000 (09:27 -0700)]
logd: default user space logger

Change-Id: Id205b01537940051c72d79def28a3c1a8b169a21

10 years agoam ef43a6fb: Merge "Clean up our termios implementation."
Elliott Hughes [Wed, 12 Mar 2014 02:43:08 +0000 (02:43 +0000)]
am ef43a6fb: Merge "Clean up our termios implementation."

* commit 'ef43a6fb0e0c5fb1debd8db83a5b57749e8331fa':
  Clean up our termios implementation.

10 years agoMerge "Clean up our termios implementation."
Elliott Hughes [Wed, 12 Mar 2014 02:25:22 +0000 (02:25 +0000)]
Merge "Clean up our termios implementation."

10 years agoClean up our termios implementation.
Elliott Hughes [Tue, 11 Mar 2014 23:06:23 +0000 (16:06 -0700)]
Clean up our termios implementation.

It's safe to fix our constant definitions because we know we never
had symbols before, so can't be passing the bad old constants to the new
functions, or the correct new constants to the old inlines.

Change-Id: I858fc680df39bdd3ba471e867833bdfa71f6224e

10 years agoam 76b4f1a3: Merge "More stdio cleanup."
Elliott Hughes [Tue, 11 Mar 2014 23:23:02 +0000 (23:23 +0000)]
am 76b4f1a3: Merge "More stdio cleanup."

* commit '76b4f1a33caef09891114bf37562968ab627059a':
  More stdio cleanup.

10 years agoam 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."
Elliott Hughes [Tue, 11 Mar 2014 23:23:01 +0000 (23:23 +0000)]
am 55f9710a: Merge "Reimplement clock(3) and switch to OpenBSD time(3)."

* commit '55f9710ac4843b4a5d2c8b03ade3d2bddd1fdf46':
  Reimplement clock(3) and switch to OpenBSD time(3).

10 years agoam 753e1399: Merge "Add a basic unit test for system(3)."
Elliott Hughes [Tue, 11 Mar 2014 23:23:01 +0000 (23:23 +0000)]
am 753e1399: Merge "Add a basic unit test for system(3)."

* commit '753e1399060c08072a8fb17eb297889a2ae987d0':
  Add a basic unit test for system(3).

10 years agoam dd8c7863: Merge "Add various benchmarks."
Elliott Hughes [Tue, 11 Mar 2014 23:23:00 +0000 (23:23 +0000)]
am dd8c7863: Merge "Add various benchmarks."

* commit 'dd8c7863c613290acaa8bc4b90af34f020e0bee3':
  Add various benchmarks.

10 years agoMerge "More stdio cleanup."
Elliott Hughes [Tue, 11 Mar 2014 22:31:00 +0000 (22:31 +0000)]
Merge "More stdio cleanup."

10 years agoMore stdio cleanup.
Elliott Hughes [Tue, 11 Mar 2014 22:05:50 +0000 (15:05 -0700)]
More stdio cleanup.

Change-Id: Idc909cd3dc7b072f1edd2ae4980932d6550e8568

10 years agoMerge "Reimplement clock(3) and switch to OpenBSD time(3)."
Elliott Hughes [Tue, 11 Mar 2014 21:36:02 +0000 (21:36 +0000)]
Merge "Reimplement clock(3) and switch to OpenBSD time(3)."

10 years agoReimplement clock(3) and switch to OpenBSD time(3).
Elliott Hughes [Tue, 11 Mar 2014 20:37:11 +0000 (13:37 -0700)]
Reimplement clock(3) and switch to OpenBSD time(3).

The new implementation is a better approximation to the processor time used
by the process because it's actually based on resource usage rather than just
elapsed wall clock time.

Change-Id: I9e13b69c1d3048cadf0eb9dec1e3ebc78225596a

10 years agoMerge "Add a basic unit test for system(3)."
Elliott Hughes [Tue, 11 Mar 2014 20:02:49 +0000 (20:02 +0000)]
Merge "Add a basic unit test for system(3)."

10 years agoAdd a basic unit test for system(3).
Elliott Hughes [Tue, 11 Mar 2014 19:54:44 +0000 (12:54 -0700)]
Add a basic unit test for system(3).

Change-Id: Ibc5ac21f3663685d89ce261b58d6ea386fc1ff88

10 years agoMerge "Add various benchmarks."
Elliott Hughes [Tue, 11 Mar 2014 19:47:38 +0000 (19:47 +0000)]
Merge "Add various benchmarks."

10 years agoam 9061c829: am 04583ce9: Upgrade to tzdata2014a.
Elliott Hughes [Tue, 11 Mar 2014 19:18:44 +0000 (19:18 +0000)]
am 9061c829: am 04583ce9: Upgrade to tzdata2014a.

* commit '9061c82991bced72e88588803af4dab4da3d77af':
  Upgrade to tzdata2014a.

10 years agoAdd various benchmarks.
Elliott Hughes [Tue, 11 Mar 2014 18:19:06 +0000 (11:19 -0700)]
Add various benchmarks.

These are based on ones from system/extras/tests/bionic/.

Change-Id: I7b1ae15a2ca5d1031a6a511d97b88125c1770047

10 years agoam 04583ce9: Upgrade to tzdata2014a.
Elliott Hughes [Tue, 11 Mar 2014 17:44:37 +0000 (17:44 +0000)]
am 04583ce9: Upgrade to tzdata2014a.

* commit '04583ce9b94d6f41f4c1e66939c4ca2ee41ff058':
  Upgrade to tzdata2014a.

10 years agoam 5810bcf3: Merge "Sysconfig fixes"
Calin Juravle [Tue, 11 Mar 2014 10:55:09 +0000 (10:55 +0000)]
am 5810bcf3: Merge "Sysconfig fixes"

* commit '5810bcf381e28e423a782af9bf53c05085b09926':
  Sysconfig fixes

10 years agoam 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
Calin Juravle [Tue, 11 Mar 2014 10:55:09 +0000 (10:55 +0000)]
am 40c31ade: Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"

* commit '40c31ade2c854ad61ab43bd5dbd66979efcea4c5':
  Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr

10 years agoMerge "Sysconfig fixes"
Calin Juravle [Tue, 11 Mar 2014 10:50:00 +0000 (10:50 +0000)]
Merge "Sysconfig fixes"

10 years agoMerge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"
Calin Juravle [Tue, 11 Mar 2014 10:49:46 +0000 (10:49 +0000)]
Merge "Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr"

10 years agoSysconfig fixes
Calin Juravle [Mon, 10 Mar 2014 18:25:36 +0000 (18:25 +0000)]
Sysconfig fixes

Remove _POSIX_THREAD_ATTR_STACKADDR and _POSIX_THREAD_ATTR_STACKSIZE
since they don't exists. Return -1 for their corresponding values but
don't set errno.

Bug: 13281069
Change-Id: Ice29b4dfebe2b474212e40ee726d86782a3064b9

10 years agoRemoved pthread_attr_getstackaddr/pthread_attr_setstackaddr
Calin Juravle [Mon, 10 Mar 2014 18:10:04 +0000 (18:10 +0000)]
Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr

Moved existing definitions to ndk_cruft to preserve NDK compatibility.

Bug: 13281069
Change-Id: I6f260de69afa55a6274f0d13145c19ac6517b9d5

10 years agoam 10f6beb3: Merge "Add system/extras strftime and strptime tests."
Elliott Hughes [Tue, 11 Mar 2014 01:46:15 +0000 (01:46 +0000)]
am 10f6beb3: Merge "Add system/extras strftime and strptime tests."

* commit '10f6beb3eb46cb2488427f58dccdd7bbfab5a250':
  Add system/extras strftime and strptime tests.

10 years agoMerge "Add system/extras strftime and strptime tests."
Elliott Hughes [Tue, 11 Mar 2014 01:41:21 +0000 (01:41 +0000)]
Merge "Add system/extras strftime and strptime tests."

10 years agoAdd system/extras strftime and strptime tests.
Elliott Hughes [Tue, 11 Mar 2014 01:19:03 +0000 (18:19 -0700)]
Add system/extras strftime and strptime tests.

Change-Id: I889c58f6e2e27b99cf6328a8671858d2e5feaa4e

10 years agoam 2cd3490d: Merge "Take ownership of various simple syscall wrappers."
Elliott Hughes [Tue, 11 Mar 2014 00:46:57 +0000 (00:46 +0000)]
am 2cd3490d: Merge "Take ownership of various simple syscall wrappers."

* commit '2cd3490d7bdb18e5051a3cc66e7d03635bbcbeaf':
  Take ownership of various simple syscall wrappers.

10 years agoMerge "Take ownership of various simple syscall wrappers."
Elliott Hughes [Tue, 11 Mar 2014 00:40:56 +0000 (00:40 +0000)]
Merge "Take ownership of various simple syscall wrappers."

10 years agoTake ownership of various simple syscall wrappers.
Elliott Hughes [Tue, 11 Mar 2014 00:17:01 +0000 (17:17 -0700)]
Take ownership of various simple syscall wrappers.

None of these trivial functions is something we're going to get from BSD.

Change-Id: Iee1d1281b73db67da5ec303da7a49748121464bf

10 years agoam a3056591: Merge "Switch to NetBSD utmp.c."
Elliott Hughes [Mon, 10 Mar 2014 23:42:50 +0000 (23:42 +0000)]
am a3056591: Merge "Switch to NetBSD utmp.c."

* commit 'a3056591960f9d9f646135ee20804cc1a9e41106':
  Switch to NetBSD utmp.c.

10 years agoMerge "Switch to NetBSD utmp.c."
Elliott Hughes [Mon, 10 Mar 2014 23:37:27 +0000 (23:37 +0000)]
Merge "Switch to NetBSD utmp.c."

10 years agoam ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."
Elliott Hughes [Mon, 10 Mar 2014 23:33:49 +0000 (23:33 +0000)]
am ec674b4d: Merge "Switch to upstream FreeBSD ldexp.c."

* commit 'ec674b4d064d923818d0deba9f8378d13ff6451a':
  Switch to upstream FreeBSD ldexp.c.

10 years agoam 21d9e58d: Merge "Rename the stack protector intermediate library."
Elliott Hughes [Mon, 10 Mar 2014 23:33:49 +0000 (23:33 +0000)]
am 21d9e58d: Merge "Rename the stack protector intermediate library."

* commit '21d9e58d01080c7494c639ed3bd9e6c805e022d8':
  Rename the stack protector intermediate library.

10 years agoSwitch to NetBSD utmp.c.
Elliott Hughes [Mon, 10 Mar 2014 23:32:35 +0000 (16:32 -0700)]
Switch to NetBSD utmp.c.

Change-Id: Ibe94888aa48b5b28fea97fd5719a1ed7a23ddeb3

10 years agoam 7aef2746: Merge "Switch to OpenBSD wcscoll."
Elliott Hughes [Mon, 10 Mar 2014 23:26:45 +0000 (23:26 +0000)]
am 7aef2746: Merge "Switch to OpenBSD wcscoll."

* commit '7aef27468ee7683a0ce436f5453e6eb6ca12103b':
  Switch to OpenBSD wcscoll.

10 years agoMerge "Switch to upstream FreeBSD ldexp.c."
Elliott Hughes [Mon, 10 Mar 2014 23:25:38 +0000 (23:25 +0000)]
Merge "Switch to upstream FreeBSD ldexp.c."

10 years agoMerge "Rename the stack protector intermediate library."
Elliott Hughes [Mon, 10 Mar 2014 23:25:04 +0000 (23:25 +0000)]
Merge "Rename the stack protector intermediate library."

10 years agoSwitch to upstream FreeBSD ldexp.c.
Elliott Hughes [Mon, 10 Mar 2014 23:23:09 +0000 (16:23 -0700)]
Switch to upstream FreeBSD ldexp.c.

(Yes, this should be in libm, but it isn't. For once, this mistake predates
bionic!)

Change-Id: I1340407acbcdc0151dee969a38ba490bdd5e6767

10 years agoMerge "Switch to OpenBSD wcscoll."
Elliott Hughes [Mon, 10 Mar 2014 23:21:08 +0000 (23:21 +0000)]
Merge "Switch to OpenBSD wcscoll."

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 agoRename the stack protector intermediate library.
Elliott Hughes [Mon, 10 Mar 2014 23:15:11 +0000 (16:15 -0700)]
Rename the stack protector intermediate library.

libbionic_ssp already confused at least one person, and characters
in filenames are cheap, so let's just call this library what it is.

Change-Id: I69ab950bf52fa4d267a6891efb49b5e177efc0c4

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 agoSwitch to OpenBSD wcscoll.
Elliott Hughes [Mon, 10 Mar 2014 23:11:59 +0000 (16:11 -0700)]
Switch to OpenBSD wcscoll.

Change-Id: I1050ef728e18124656e76f32b42ac9a4688f252d

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 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 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.)

(cherry picked from commit 159b28eb46f03cb1dae6484059e2559f1e42e208)

Bug: 13193205
Change-Id: I3d302039f7e057a97c9d307ce8d32efa056481ed

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 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 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 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 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 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 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 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 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 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.