OSDN Git Service

android-x86/bionic.git
9 years agoam ca8b70bc: am c490b502: Merge "Rename soinfo methods and fields"
Dmitriy Ivanov [Fri, 14 Nov 2014 16:44:23 +0000 (16:44 +0000)]
am ca8b70bc: am c490b502: Merge "Rename soinfo methods and fields"

* commit 'ca8b70bc8d8a61c0a8b73577f5d90310c3d7cb9b':
  Rename soinfo methods and fields

9 years agoam c490b502: Merge "Rename soinfo methods and fields"
Dmitriy Ivanov [Fri, 14 Nov 2014 16:38:19 +0000 (16:38 +0000)]
am c490b502: Merge "Rename soinfo methods and fields"

* commit 'c490b5029fdc96f1dbf00d02d0ad63a03d8cd4f3':
  Rename soinfo methods and fields

9 years agoMerge "Rename soinfo methods and fields"
Dmitriy Ivanov [Fri, 14 Nov 2014 16:33:16 +0000 (16:33 +0000)]
Merge "Rename soinfo methods and fields"

9 years agoRename soinfo methods and fields
Dmitriy Ivanov [Thu, 13 Nov 2014 17:39:20 +0000 (09:39 -0800)]
Rename soinfo methods and fields

Change-Id: If68fbe287d3ad954238b1688f71013371f3f7fae

9 years agoam e6d238a5: am 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Fri, 14 Nov 2014 03:30:15 +0000 (03:30 +0000)]
am e6d238a5: am 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."

* commit 'e6d238a51cc7fb5e6621cb8c32b4f86780585907':
  Add missing function prototypes wcpcpy/wcpncpy.

9 years agoam 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Fri, 14 Nov 2014 03:27:16 +0000 (03:27 +0000)]
am 59b1dea8: Merge "Add missing function prototypes wcpcpy/wcpncpy."

* commit '59b1dea8829b081e23c3156b44af624bf8fac962':
  Add missing function prototypes wcpcpy/wcpncpy.

9 years agoMerge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Fri, 14 Nov 2014 03:23:35 +0000 (03:23 +0000)]
Merge "Add missing function prototypes wcpcpy/wcpncpy."

9 years agoAdd missing function prototypes wcpcpy/wcpncpy.
Christopher Ferris [Thu, 13 Nov 2014 23:48:39 +0000 (15:48 -0800)]
Add missing function prototypes wcpcpy/wcpncpy.

Also add smoke tests for a few of the wchar functions.

Change-Id: Id1be522f55a6708564d444941f42097548f16497

9 years agoam 4a50d8ea: bionic: libc: Added path to vendor build properties file.
Daniel Rosenberg [Fri, 14 Nov 2014 01:39:46 +0000 (01:39 +0000)]
am 4a50d8ea: bionic: libc: Added path to vendor build properties file.

* commit '4a50d8ead71c3dd6d9eebe23626d0d4e96dd963b':
  bionic: libc: Added path to vendor build properties file.

9 years agoam 9cfd1ec5: am 0a135b42: Merge "Fix our <mntent.h> implementation."
Elliott Hughes [Fri, 14 Nov 2014 00:09:43 +0000 (00:09 +0000)]
am 9cfd1ec5: am 0a135b42: Merge "Fix our <mntent.h> implementation."

* commit '9cfd1ec535d0344bfd39c25b746a3bc32a0c5b61':
  Fix our <mntent.h> implementation.

9 years agoam 0a135b42: Merge "Fix our <mntent.h> implementation."
Elliott Hughes [Fri, 14 Nov 2014 00:04:12 +0000 (00:04 +0000)]
am 0a135b42: Merge "Fix our <mntent.h> implementation."

* commit '0a135b4259077bbb48ec911c0fa92ab0654ffffa':
  Fix our <mntent.h> implementation.

9 years agoMerge "Fix our <mntent.h> implementation."
Elliott Hughes [Fri, 14 Nov 2014 00:00:53 +0000 (00:00 +0000)]
Merge "Fix our <mntent.h> implementation."

9 years agoFix our <mntent.h> implementation.
Elliott Hughes [Thu, 13 Nov 2014 22:27:25 +0000 (14:27 -0800)]
Fix our <mntent.h> implementation.

Used by toybox.

Change-Id: I36a5053423e5cc54ae02a68f4fe110d75134accd

9 years agobionic: libc: Added path to vendor build properties file.
Daniel Rosenberg [Tue, 11 Nov 2014 00:59:57 +0000 (16:59 -0800)]
bionic: libc: Added path to vendor build properties file.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
(cherry picked from commit 71d220c1de1372e20c8bbec4ccf387991a3bb549)

Bug: 18281574
Change-Id: I2843f23ecb4c4ca79b230d8041bbca02dbedeadc

9 years agoam 105962b2: am 288fa03a: Merge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 19:10:25 +0000 (19:10 +0000)]
am 105962b2: am 288fa03a: Merge "Assume glibc >= 2.15."

* commit '105962b2fecad08ec2218cf6f2de2d2b20085e85':
  Assume glibc >= 2.15.

9 years agoam 288fa03a: Merge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 19:03:19 +0000 (19:03 +0000)]
am 288fa03a: Merge "Assume glibc >= 2.15."

* commit '288fa03a5aa5ee69c321e7266cdc656d11d8c022':
  Assume glibc >= 2.15.

9 years agoMerge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 18:11:00 +0000 (18:11 +0000)]
Merge "Assume glibc >= 2.15."

9 years agoam 4dcb9c78: am 6229798a: Merge "Don\'t receive structs containing pointers over...
Elliott Hughes [Thu, 13 Nov 2014 18:03:09 +0000 (18:03 +0000)]
am 4dcb9c78: am 6229798a: Merge "Don\'t receive structs containing pointers over sockets."

* commit '4dcb9c781143d30cc05f225557da0d86c2ccb93e':
  Don't receive structs containing pointers over sockets.

9 years agoam 6229798a: Merge "Don\'t receive structs containing pointers over sockets."
Elliott Hughes [Thu, 13 Nov 2014 17:58:57 +0000 (17:58 +0000)]
am 6229798a: Merge "Don\'t receive structs containing pointers over sockets."

* commit '6229798a7c2aa4df3d8fba70c679a127ee88ad76':
  Don't receive structs containing pointers over sockets.

9 years agoam 5b53da0b: am 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."
Hans Boehm [Thu, 13 Nov 2014 17:57:24 +0000 (17:57 +0000)]
am 5b53da0b: am 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."

* commit '5b53da0bf5b8a0034dd495859d8f83cae671d7e6':
  Allow stdatomic.h to be included from mingw prebuilt.

9 years agoMerge "Don't receive structs containing pointers over sockets."
Elliott Hughes [Thu, 13 Nov 2014 17:56:07 +0000 (17:56 +0000)]
Merge "Don't receive structs containing pointers over sockets."

9 years agoam 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."
Hans Boehm [Thu, 13 Nov 2014 17:53:23 +0000 (17:53 +0000)]
am 854c98d6: Merge "Allow stdatomic.h to be included from mingw prebuilt."

* commit '854c98d63671e38b3537620f323addcd313c9f11':
  Allow stdatomic.h to be included from mingw prebuilt.

9 years agoMerge "Allow stdatomic.h to be included from mingw prebuilt."
Hans Boehm [Thu, 13 Nov 2014 17:49:53 +0000 (17:49 +0000)]
Merge "Allow stdatomic.h to be included from mingw prebuilt."

9 years agoDon't receive structs containing pointers over sockets.
Elliott Hughes [Thu, 13 Nov 2014 01:00:30 +0000 (17:00 -0800)]
Don't receive structs containing pointers over sockets.

Fixes x86-64 netd.

Change-Id: Iee5ef802ebbf2e000b2593643de4eec46f296c04

9 years agoAssume glibc >= 2.15.
Elliott Hughes [Thu, 13 Nov 2014 05:03:26 +0000 (21:03 -0800)]
Assume glibc >= 2.15.

This catches one trivial difference between us and glibc --- the error
returned by pthread_setname_np for an invalid pthread_t.

Change-Id: If4c21e22107c6488333d11184f8005f8669096c2

9 years agoam 04d2a595: am 92a585c9: Merge "Fix glibc 2.15 build."
Elliott Hughes [Thu, 13 Nov 2014 04:05:18 +0000 (04:05 +0000)]
am 04d2a595: am 92a585c9: Merge "Fix glibc 2.15 build."

* commit '04d2a59544354802526584a38968069ac65e813e':
  Fix glibc 2.15 build.

9 years agoam 353463d0: am 38b47f6e: Merge "Fix mips build"
Dmitriy Ivanov [Thu, 13 Nov 2014 04:05:16 +0000 (04:05 +0000)]
am 353463d0: am 38b47f6e: Merge "Fix mips build"

* commit '353463d0a2e507ec046647928af2dc17a76f890f':
  Fix mips build

9 years agoam 92a585c9: Merge "Fix glibc 2.15 build."
Elliott Hughes [Thu, 13 Nov 2014 03:58:55 +0000 (03:58 +0000)]
am 92a585c9: Merge "Fix glibc 2.15 build."

* commit '92a585c91a83e63949431c617de936742b080150':
  Fix glibc 2.15 build.

9 years agoam 38b47f6e: Merge "Fix mips build"
Dmitriy Ivanov [Thu, 13 Nov 2014 03:58:53 +0000 (03:58 +0000)]
am 38b47f6e: Merge "Fix mips build"

* commit '38b47f6eb4631e1fb2cba0e47fd4832a58b16755':
  Fix mips build

9 years agoMerge "Fix glibc 2.15 build."
Elliott Hughes [Thu, 13 Nov 2014 03:37:47 +0000 (03:37 +0000)]
Merge "Fix glibc 2.15 build."

9 years agoMerge "Fix mips build"
Dmitriy Ivanov [Thu, 13 Nov 2014 03:36:54 +0000 (03:36 +0000)]
Merge "Fix mips build"

9 years agoFix glibc 2.15 build.
Elliott Hughes [Thu, 13 Nov 2014 03:22:48 +0000 (19:22 -0800)]
Fix glibc 2.15 build.

glibc 2.15 has prlimit64, has an unsetenv that's declared nonnull,
and hasn't fixed the problems we were having trying to use the
POSIX strerror_r in C++ code.

Change-Id: I834356a385e5ae55500bd86781691b6c1c9c8300

9 years agoam 8d31f51a: am 16db1ae1: Merge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:29:06 +0000 (02:29 +0000)]
am 8d31f51a: am 16db1ae1: Merge "Add support for hash-style=gnu"

* commit '8d31f51a38f10917b2396412c2dbe45dc9abe864':
  Add support for hash-style=gnu

9 years agoFix mips build
Dmitriy Ivanov [Thu, 13 Nov 2014 02:20:39 +0000 (18:20 -0800)]
Fix mips build

Change-Id: I58b01db38ab9a397a8bd77c1296aac12957c21da

9 years agoam 16db1ae1: Merge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:17:57 +0000 (02:17 +0000)]
am 16db1ae1: Merge "Add support for hash-style=gnu"

* commit '16db1ae1089fdfe65a123d3e4d61d509a099cddc':
  Add support for hash-style=gnu

9 years agoMerge "Add support for hash-style=gnu"
Dmitriy Ivanov [Thu, 13 Nov 2014 02:10:30 +0000 (02:10 +0000)]
Merge "Add support for hash-style=gnu"

9 years agoAllow stdatomic.h to be included from mingw prebuilt.
Hans Boehm [Wed, 12 Nov 2014 18:34:26 +0000 (10:34 -0800)]
Allow stdatomic.h to be included from mingw prebuilt.

Define __GNUC_PREREQ if it isn't already defined.
This is a bit ugly, but it seems to be easiest to make this header as
context-independent as possible.  Together with the addition of a symbolic
link to this file from the mingw prebuilt, this appears to unblock
commit e9fa6be333e35d9e7ae435aeb32532875b95fe22.

Change-Id: I97e39cda8d8f9aa108aa61c4121da09eb9739062

9 years agoam ed3555f5: am 468f8410: Merge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:31:49 +0000 (01:31 +0000)]
am ed3555f5: am 468f8410: Merge "Add documentation about checkbuild."

* commit 'ed3555f5b2e2bdc0699ff9627463723381e0d4c7':
  Add documentation about checkbuild.

9 years agoam 468f8410: Merge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:22:00 +0000 (01:22 +0000)]
am 468f8410: Merge "Add documentation about checkbuild."

* commit '468f84107aaf108ac6b3ff389342092c2551f859':
  Add documentation about checkbuild.

9 years agoMerge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:14:26 +0000 (01:14 +0000)]
Merge "Add documentation about checkbuild."

9 years agoAdd documentation about checkbuild.
Dan Albert [Thu, 13 Nov 2014 01:08:38 +0000 (17:08 -0800)]
Add documentation about checkbuild.

Change-Id: I2c2d06bc0dc3cdc58b5563f62889122b76f3c469

9 years agoAdd support for hash-style=gnu
Dmitriy Ivanov [Mon, 10 Nov 2014 03:27:20 +0000 (19:27 -0800)]
Add support for hash-style=gnu

Change-Id: I171434a587420895feac8a9b1ad2342087197568

9 years agoam 616fa27b: am 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:26:57 +0000 (23:26 +0000)]
am 616fa27b: am 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."

* commit '616fa27b60ffdb0560d7134ceb7d8cdd4fbe672c':
  Add 64-bit slm optimized strlcpy and srlcat.

9 years agoam 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:21:42 +0000 (23:21 +0000)]
am 5d05d025: Merge "Add 64-bit slm optimized strlcpy and srlcat."

* commit '5d05d025b51fc7b1a59f230000601bc593c12eea':
  Add 64-bit slm optimized strlcpy and srlcat.

9 years agoMerge "Add 64-bit slm optimized strlcpy and srlcat."
Christopher Ferris [Wed, 12 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "Add 64-bit slm optimized strlcpy and srlcat."

9 years agoam 1b6b274a: am e5cabca5: Merge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:45:34 +0000 (20:45 +0000)]
am 1b6b274a: am e5cabca5: Merge "implement missing seekdir and telldir"

* commit '1b6b274a4b3d1b5462e379ff2144d42ae264677a':
  implement missing seekdir and telldir

9 years agoam e5cabca5: Merge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:40:49 +0000 (20:40 +0000)]
am e5cabca5: Merge "implement missing seekdir and telldir"

* commit 'e5cabca516252addb5e305c8e1e0f35cafbcafbe':
  implement missing seekdir and telldir

9 years agoMerge "implement missing seekdir and telldir"
Yabin Cui [Wed, 12 Nov 2014 20:36:25 +0000 (20:36 +0000)]
Merge "implement missing seekdir and telldir"

9 years agoam 03dd63bd: am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error...
Elliott Hughes [Wed, 12 Nov 2014 20:16:06 +0000 (20:16 +0000)]
am 03dd63bd: am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

* commit '03dd63bda8846db77cab6b4f17c8a2478f7ac65c':
  gethostname.c: change to report ENAMETOOLONG error when buflen is less

9 years agoam a4adc811: am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_tes...
Elliott Hughes [Wed, 12 Nov 2014 20:16:05 +0000 (20:16 +0000)]
am a4adc811: am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

* commit 'a4adc811d291d641e8291795d479bf8f426725b3':
  bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

9 years agoam bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen...
Elliott Hughes [Wed, 12 Nov 2014 20:11:41 +0000 (20:11 +0000)]
am bbdfa518: Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

* commit 'bbdfa518830d49565966acea02796769434e0d74':
  gethostname.c: change to report ENAMETOOLONG error when buflen is less

9 years agoam 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from...
Elliott Hughes [Wed, 12 Nov 2014 20:11:40 +0000 (20:11 +0000)]
am 83204d57: Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

* commit '83204d5708eb49df05ea365be01e136ef7823752':
  bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

9 years agoMerge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"
Elliott Hughes [Wed, 12 Nov 2014 20:09:59 +0000 (20:09 +0000)]
Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"

9 years agoMerge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"
Elliott Hughes [Wed, 12 Nov 2014 20:08:57 +0000 (20:08 +0000)]
Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"

9 years agogethostname.c: change to report ENAMETOOLONG error when buflen is less
Yongqin Liu [Thu, 30 Oct 2014 08:34:55 +0000 (16:34 +0800)]
gethostname.c: change to report ENAMETOOLONG error when buflen is less

change to behaviour the same as glibc for the check about buflen

Change-Id: I98265a8fe441df6fed2527686f89b087364ca53d
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
9 years agobionic tests: migrate gethostname test to unistd_test.cpp from system/extras
Derek Xue [Thu, 25 Sep 2014 10:12:01 +0000 (11:12 +0100)]
bionic tests: migrate gethostname test to unistd_test.cpp from system/extras

The old tests are implemented in file
    system/extras/tests/bionic/libc/common/test_gethostname.c
Here migrate the test to the tests/unistd_test.cpp file and
add some more checks

Change-Id: Iab1e3da873bb333d1ddefc03108d536933792db2
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
9 years agoam c05314a0: Merge "Fix tzdata update tools for \'backzone\'." into lmp-mr1-dev
Elliott Hughes [Wed, 12 Nov 2014 17:28:49 +0000 (17:28 +0000)]
am c05314a0: Merge "Fix tzdata update tools for \'backzone\'." into lmp-mr1-dev

* commit 'c05314a0b230d6820e07bcc641e8a553b5196e86':
  Fix tzdata update tools for 'backzone'.

9 years agoam 1ca3350f: Upgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 17:28:48 +0000 (17:28 +0000)]
am 1ca3350f: Upgrade bionic to tzdata2014j.

* commit '1ca3350f4c7b60afdb95784c9cb3ea5ba5ce591f':
  Upgrade bionic to tzdata2014j.

9 years agoMerge "Fix tzdata update tools for 'backzone'." into lmp-mr1-dev
Elliott Hughes [Wed, 12 Nov 2014 17:19:56 +0000 (17:19 +0000)]
Merge "Fix tzdata update tools for 'backzone'." into lmp-mr1-dev

9 years agoAdd 64-bit slm optimized strlcpy and srlcat.
Varvara Rainchik [Mon, 10 Nov 2014 12:15:58 +0000 (15:15 +0300)]
Add 64-bit slm optimized strlcpy and srlcat.

Change-Id: Ic948934d91c83bbfdfd00c05ee8b14952e012549
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
9 years agoUpgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 00:44:21 +0000 (16:44 -0800)]
Upgrade bionic to tzdata2014j.

From the release notes:

   Changes affecting current and future time stamps

     Turks & Caicos' switch from US eastern time to UTC-4 year-round
     did not occur on 2014-11-02 at 02:00.  It's currently scheduled
     for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

   Changes affecting past time stamps

     Many pre-1989 time stamps have been corrected for Asia/Seoul and
     Asia/Pyongyang, based on sources for the Korean-language Wikipedia
     entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
     longer guess that Pyongyang mimicked Seoul time after World War II,
     as this is politically implausible.

     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: Africa/Addis_Ababa, Africa/Asmara,
     Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
     Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
     Indian/Mayotte.

Bug: 18330681

(cherry picked from commit b11d8e057c86c3926128af9d07180d9328e144c6)

Change-Id: Ifd48e7446e400dccae3afd5cbef96ca843775477

9 years agoFix tzdata update tools for 'backzone'.
Elliott Hughes [Tue, 11 Nov 2014 22:10:51 +0000 (14:10 -0800)]
Fix tzdata update tools for 'backzone'.

To maintain the status quo, we need to pull in backzone file. This file
can't be built on its own, so the easiest fix is to give zic(1) all the
files at once.

We also now have a situation where we have links to links, so we need to
dereference them until we find actual data.

Bug: 18330681

(cherry picked from commit 2c2463bd3065f0a5fef34a47e3eb94aad64b0cea)

Change-Id: I654b80518a7144038d8b3ea7223f49e2b1d2ad13

9 years agoam c25737a1: am 22271d0c: Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:53:45 +0000 (02:53 +0000)]
am c25737a1: am 22271d0c: Merge "Upgrade bionic to tzdata2014j."

* commit 'c25737a193b77561a07cb778a947cd547148c46e':
  Upgrade bionic to tzdata2014j.

9 years agoam db71c2f3: am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."
Elliott Hughes [Wed, 12 Nov 2014 02:53:38 +0000 (02:53 +0000)]
am db71c2f3: am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."

* commit 'db71c2f3d22140cb2685362c35d93c374a621b7c':
  Fix tzdata update tools for 'backzone'.

9 years agoam 22271d0c: Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:35:54 +0000 (02:35 +0000)]
am 22271d0c: Merge "Upgrade bionic to tzdata2014j."

* commit '22271d0c200c8c2f7c7c960a8751eed0faa708ec':
  Upgrade bionic to tzdata2014j.

9 years agoMerge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 02:32:09 +0000 (02:32 +0000)]
Merge "Upgrade bionic to tzdata2014j."

9 years agoam 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."
Elliott Hughes [Wed, 12 Nov 2014 02:28:11 +0000 (02:28 +0000)]
am 440c80ad: Merge "Fix tzdata update tools for \'backzone\'."

* commit '440c80ad47fd748251b09d5146f2cb896d75724f':
  Fix tzdata update tools for 'backzone'.

9 years agoUpgrade bionic to tzdata2014j.
Elliott Hughes [Wed, 12 Nov 2014 00:44:21 +0000 (16:44 -0800)]
Upgrade bionic to tzdata2014j.

From the release notes:

   Changes affecting current and future time stamps

     Turks & Caicos' switch from US eastern time to UTC-4 year-round
     did not occur on 2014-11-02 at 02:00.  It's currently scheduled
     for 2015-11-01 at 02:00.  (Thanks to Chris Walton.)

   Changes affecting past time stamps

     Many pre-1989 time stamps have been corrected for Asia/Seoul and
     Asia/Pyongyang, based on sources for the Korean-language Wikipedia
     entry for time in Korea.  (Thanks to Sanghyuk Jung.)  Also, no
     longer guess that Pyongyang mimicked Seoul time after World War II,
     as this is politically implausible.

     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: Africa/Addis_Ababa, Africa/Asmara,
     Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
     Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
     Indian/Mayotte.

Bug: 18330681
Change-Id: I4b6939b4dcf08c47df5595ae445b6f44f4a03418

9 years agoMerge "Fix tzdata update tools for 'backzone'."
Elliott Hughes [Wed, 12 Nov 2014 00:42:49 +0000 (00:42 +0000)]
Merge "Fix tzdata update tools for 'backzone'."

9 years agoFix tzdata update tools for 'backzone'.
Elliott Hughes [Tue, 11 Nov 2014 22:10:51 +0000 (14:10 -0800)]
Fix tzdata update tools for 'backzone'.

To maintain the status quo, we need to pull in backzone file. This file
can't be built on its own, so the easiest fix is to give zic(1) all the
files at once.

We also now have a situation where we have links to links, so we need to
dereference them until we find actual data.

Bug: 18330681
Change-Id: I03f4aa8e6e23802dc35cbff2f74f325eb17d7b2b

9 years agoam bb50a667: am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties...
Daniel Rosenberg [Tue, 11 Nov 2014 22:50:48 +0000 (22:50 +0000)]
am bb50a667: am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."

* commit 'bb50a667441b0a2298eaa9ddeb7baf444b101947':
  bionic: libc: Added path to vendor build properties file.

9 years agoam 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."
Daniel Rosenberg [Tue, 11 Nov 2014 22:43:49 +0000 (22:43 +0000)]
am 1fb6a4d5: Merge "bionic: libc: Added path to vendor build properties file."

* commit '1fb6a4d5c034423d4a22ded0bd3d87a14a6cad9a':
  bionic: libc: Added path to vendor build properties file.

9 years agoMerge "bionic: libc: Added path to vendor build properties file."
Daniel Rosenberg [Tue, 11 Nov 2014 20:40:03 +0000 (20:40 +0000)]
Merge "bionic: libc: Added path to vendor build properties file."

9 years agobionic: libc: Added path to vendor build properties file.
Daniel Rosenberg [Tue, 11 Nov 2014 00:59:57 +0000 (16:59 -0800)]
bionic: libc: Added path to vendor build properties file.

Change-Id: Ia9fc257a82fdd592751cbcde3fcf453a49856f62
Signed-off-by: Daniel Rosenberg <drosen@google.com>
9 years agoam 5f93f65d: am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:58:43 +0000 (19:58 +0000)]
am 5f93f65d: am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

* commit '5f93f65d3f514c39e76c0ae1a117c45ac2f72a67':
  Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

9 years agoam 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:52:55 +0000 (19:52 +0000)]
am 1e75a9b5: Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

* commit '1e75a9b56ad746ff038ca956bd3d83fe4b9a156f':
  Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

9 years agoMerge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 19:17:55 +0000 (19:17 +0000)]
Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"

9 years agoBionic: Make DISALLOW_COPY_AND_ASSIGN conditional
Andreas Gampe [Tue, 11 Nov 2014 06:04:08 +0000 (22:04 -0800)]
Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional

Make the definition of DISALLOW_COPY_AND_ASSIGN conditional. This is
so that the projects that include libnativehelper and bionic macros
do not have to be careful in which order those projects are included.

Bug: 18334516
Change-Id: Ib12a2c2b7ad2e360edcf3b26cb1be626540fadc1

9 years agoam ea8913fe: am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:44:57 +0000 (23:44 +0000)]
am ea8913fe: am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."

* commit 'ea8913fefdfcd57b5f960db65dcf482ace3d8083':
  Add align/overread tests for strlcpy/strlcat.

9 years agoam 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:42:28 +0000 (23:42 +0000)]
am 1e1ae4a7: Merge "Add align/overread tests for strlcpy/strlcat."

* commit '1e1ae4a74e42de07a5654f6a1774786fb4652094':
  Add align/overread tests for strlcpy/strlcat.

9 years agoMerge "Add align/overread tests for strlcpy/strlcat."
Christopher Ferris [Mon, 10 Nov 2014 23:38:21 +0000 (23:38 +0000)]
Merge "Add align/overread tests for strlcpy/strlcat."

9 years agoam 307d61c3: am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:26:23 +0000 (23:26 +0000)]
am 307d61c3: am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."

* commit '307d61c3385909dbbd28cfbb88cc2599fc5d7fdc':
  Add the <dirent.h> feature macros glibc uses.

9 years agoam 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:23:12 +0000 (23:23 +0000)]
am 6e7e2d20: Merge "Add the <dirent.h> feature macros glibc uses."

* commit '6e7e2d201f91fe5a04adc1b49ebb589dc56b425f':
  Add the <dirent.h> feature macros glibc uses.

9 years agoMerge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 23:18:35 +0000 (23:18 +0000)]
Merge "Add the <dirent.h> feature macros glibc uses."

9 years agoAdd the <dirent.h> feature macros glibc uses.
Elliott Hughes [Mon, 10 Nov 2014 22:56:49 +0000 (14:56 -0800)]
Add the <dirent.h> feature macros glibc uses.

Change-Id: I4da92b67d410839ea4ef0beaaa6c5cca06b74c0d

9 years agoam b80be438: am 6330b70c: Merge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 22:19:15 +0000 (22:19 +0000)]
am b80be438: am 6330b70c: Merge "Remove temporary compatibility hack."

* commit 'b80be43814a1562b0b66b435a7759cfed554287f':
  Remove temporary compatibility hack.

9 years agoam 6330b70c: Merge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 22:09:14 +0000 (22:09 +0000)]
am 6330b70c: Merge "Remove temporary compatibility hack."

* commit '6330b70cac8072007be9c351a934f9ff10f30cb5':
  Remove temporary compatibility hack.

9 years agoAdd align/overread tests for strlcpy/strlcat.
Christopher Ferris [Mon, 10 Nov 2014 21:58:17 +0000 (13:58 -0800)]
Add align/overread tests for strlcpy/strlcat.

Change-Id: I2801c7ee1847cd68ec95eba5bdffde5e52edf1e5

9 years agoMerge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 19:32:51 +0000 (19:32 +0000)]
Merge "Remove temporary compatibility hack."

9 years agoRemove temporary compatibility hack.
Elliott Hughes [Mon, 10 Nov 2014 19:24:51 +0000 (11:24 -0800)]
Remove temporary compatibility hack.

The callers have been fixed.

Bug: 18298106
Change-Id: I65e24032d0a82c4b118abace854d2dcdada881fb

9 years agoam db37cd61: am b6360093: Merge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:33:37 +0000 (17:33 +0000)]
am db37cd61: am b6360093: Merge "Fix struct stat to match POSIX 2008."

* commit 'db37cd61e5e7c2ede11ce7a8eade9c31b7796c09':
  Fix struct stat to match POSIX 2008.

9 years agoam b6360093: Merge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:29:21 +0000 (17:29 +0000)]
am b6360093: Merge "Fix struct stat to match POSIX 2008."

* commit 'b63600934c62beb09514e2ced1fce1bdb489195f':
  Fix struct stat to match POSIX 2008.

9 years agoMerge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Mon, 10 Nov 2014 17:25:08 +0000 (17:25 +0000)]
Merge "Fix struct stat to match POSIX 2008."

9 years agoFix struct stat to match POSIX 2008.
Elliott Hughes [Sat, 8 Nov 2014 03:15:10 +0000 (19:15 -0800)]
Fix struct stat to match POSIX 2008.

Our representation of sub-second times matched the Linux kernel, and we
provided macros for glibc source compatibility. This change switches us
over to match POSIX 2008, adds the macros they insist on (for compatibility
with earlier versions of POSIX), and also adds macros for compatibility
with any code that expects the kernel or old bionic names.

Unfortunately this breaks strace which defines its own structures using
the kernel names, and thus implicitly assumes that there are no macros with
those names, but this does allow the rest of the tree to build.

Bug: 18298106
Change-Id: Ibfa8c21cb2a2566091ef3dc2019a9f78d2de2991

9 years agoam 3a3f388c: am 47b9083b: Merge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 01:43:02 +0000 (01:43 +0000)]
am 3a3f388c: am 47b9083b: Merge "Add sethostname(2)."

* commit '3a3f388c3c24457ea0f452f6abc7f340e6fc640b':
  Add sethostname(2).

9 years agoam 47b9083b: Merge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 00:59:51 +0000 (00:59 +0000)]
am 47b9083b: Merge "Add sethostname(2)."

* commit '47b9083b582bc8f7aefa0b6b4df051cba835ac0f':
  Add sethostname(2).

9 years agoMerge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 00:55:20 +0000 (00:55 +0000)]
Merge "Add sethostname(2)."

9 years agoAdd sethostname(2).
Elliott Hughes [Sat, 8 Nov 2014 00:07:13 +0000 (16:07 -0800)]
Add sethostname(2).

Not very useful, but helps building stuff like toybox out of the box.

Change-Id: I110e39030452bd093a84278e019c5752d293718d

9 years agoimplement missing seekdir and telldir
Yabin Cui [Fri, 7 Nov 2014 03:55:09 +0000 (19:55 -0800)]
implement missing seekdir and telldir

Bug: 18266863
Change-Id: I189ee949d4f7ccee099f3341e349cd969d25480f

9 years agoam b4471046: am 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\...
The Android Open Source Project [Fri, 7 Nov 2014 13:30:20 +0000 (13:30 +0000)]
am b4471046: am 2ed9ee1e: Merge remote-tracking branch \'goog/stage-aosp-master\' into HEAD

* commit 'b447104656ff77caf4d5bcfd547533d941aef804':