OSDN Git Service

android-x86/bionic.git
7 years agoAdd __libc_arc4random_unlimited_entropy. am: 585fc3e554 am: c640d75c77
Josh Gao [Wed, 30 Nov 2016 22:04:48 +0000 (22:04 +0000)]
Add __libc_arc4random_unlimited_entropy. am: 585fc3e554 am: c640d75c77
am: 0ccd8e87e8

Change-Id: I82533e506e15aadf172bf417b3d4a70ef7d45aa5

7 years agoAdd __libc_arc4random_unlimited_entropy. am: 585fc3e554
Josh Gao [Wed, 30 Nov 2016 21:55:26 +0000 (21:55 +0000)]
Add __libc_arc4random_unlimited_entropy. am: 585fc3e554
am: c640d75c77

Change-Id: I639854171f23a26ec8d5d39afc678c5dfc8ebd83

7 years agoAdd __libc_arc4random_unlimited_entropy.
Josh Gao [Wed, 30 Nov 2016 21:50:26 +0000 (21:50 +0000)]
Add __libc_arc4random_unlimited_entropy.
am: 585fc3e554

Change-Id: Ie14370e99ced180f5031c7a9bb1ac938184fc094

7 years agoMerge "Ship all the UAPI bits." am: f563ae89be am: ed7a9c1c6b
Dan Albert [Wed, 30 Nov 2016 20:05:44 +0000 (20:05 +0000)]
Merge "Ship all the UAPI bits." am: f563ae89be am: ed7a9c1c6b
am: fe2fccba2f

Change-Id: I9da4d4f7e90df82dd7c03d38ba3f2649aace7154

7 years agoMerge "Ship all the UAPI bits." am: f563ae89be
Dan Albert [Wed, 30 Nov 2016 20:00:42 +0000 (20:00 +0000)]
Merge "Ship all the UAPI bits." am: f563ae89be
am: ed7a9c1c6b

Change-Id: I57dd468de9134f509b42d4a585a788e20eae1180

7 years agoMerge "Ship all the UAPI bits."
Dan Albert [Wed, 30 Nov 2016 19:55:45 +0000 (19:55 +0000)]
Merge "Ship all the UAPI bits."
am: f563ae89be

Change-Id: I1465164f5a9498c8962dca5bae89cea977c1dea0

7 years agoMerge "Correct the return types of readv and writev." am: 04a3b24d7e am: 6d9daae2e0
Josh Gao [Wed, 30 Nov 2016 19:44:48 +0000 (19:44 +0000)]
Merge "Correct the return types of readv and writev." am: 04a3b24d7e am: 6d9daae2e0
am: b8e9c0f2d4

Change-Id: Ie1439457ac8c850d1c4ba2fd295f09b66ed02076

7 years agoMerge "Ship all the UAPI bits."
Treehugger Robot [Wed, 30 Nov 2016 19:43:29 +0000 (19:43 +0000)]
Merge "Ship all the UAPI bits."

7 years agoMerge "Correct the return types of readv and writev." am: 04a3b24d7e
Josh Gao [Wed, 30 Nov 2016 19:38:47 +0000 (19:38 +0000)]
Merge "Correct the return types of readv and writev." am: 04a3b24d7e
am: 6d9daae2e0

Change-Id: Ibee67d43fce2815fed14ef7b03d712f1efd30935

7 years agoMerge "Correct the return types of readv and writev."
Josh Gao [Wed, 30 Nov 2016 19:34:17 +0000 (19:34 +0000)]
Merge "Correct the return types of readv and writev."
am: 04a3b24d7e

Change-Id: Ifb0bab889ecb0847cf7b5af97bf706bd00eb3f99

7 years agoMerge "Correct the return types of readv and writev."
Treehugger Robot [Wed, 30 Nov 2016 19:26:05 +0000 (19:26 +0000)]
Merge "Correct the return types of readv and writev."

7 years agoMerge "Update timezone data to 2016j" am: fa1a85d003 am: 845df9e2d2
Neil Fuller [Wed, 30 Nov 2016 11:36:22 +0000 (11:36 +0000)]
Merge "Update timezone data to 2016j" am: fa1a85d003 am: 845df9e2d2
am: 984cddf12c

Change-Id: Ib39b103ceea77c4e19114e294ac6b18cd47dc657

7 years agoMerge "Update timezone data to 2016j" am: fa1a85d003
Neil Fuller [Wed, 30 Nov 2016 11:30:51 +0000 (11:30 +0000)]
Merge "Update timezone data to 2016j" am: fa1a85d003
am: 845df9e2d2

Change-Id: If551a995f0fe72758ac9eb03fcb7573b2ac65de7

7 years agoMerge "Update timezone data to 2016j"
Neil Fuller [Wed, 30 Nov 2016 11:25:22 +0000 (11:25 +0000)]
Merge "Update timezone data to 2016j"
am: fa1a85d003

Change-Id: Icd6dd33712ee1ba21d2c6fcc7cd9b69232f6d140

7 years agoMerge "Update timezone data to 2016j"
Neil Fuller [Wed, 30 Nov 2016 11:16:38 +0000 (11:16 +0000)]
Merge "Update timezone data to 2016j"

7 years agoMerge "Fix getpriority/setpriority types." am: 609880c12f am: f3b691ad1c
Elliott Hughes [Wed, 30 Nov 2016 06:06:13 +0000 (06:06 +0000)]
Merge "Fix getpriority/setpriority types." am: 609880c12f am: f3b691ad1c
am: ebfe13addc

Change-Id: I22347c04771fe480cba91cb63291c8160f08d4b9

7 years agoMerge "Fix return type of sync(2)." am: 3b6b2f7c2d am: 558f6f9ff3
Elliott Hughes [Wed, 30 Nov 2016 06:05:59 +0000 (06:05 +0000)]
Merge "Fix return type of sync(2)." am: 3b6b2f7c2d am: 558f6f9ff3
am: f4a5f4b3f0

Change-Id: Ieab0a55e5fc6aaf6a93d5ac39d184fbeacae55e3

7 years agoMerge "Fix getpriority/setpriority types." am: 609880c12f
Elliott Hughes [Wed, 30 Nov 2016 06:00:10 +0000 (06:00 +0000)]
Merge "Fix getpriority/setpriority types." am: 609880c12f
am: f3b691ad1c

Change-Id: Id9e0aaa22ec4e3a1d99f398b6bd726f2cd2f604f

7 years agoMerge "Fix return type of sync(2)." am: 3b6b2f7c2d
Elliott Hughes [Wed, 30 Nov 2016 05:59:58 +0000 (05:59 +0000)]
Merge "Fix return type of sync(2)." am: 3b6b2f7c2d
am: 558f6f9ff3

Change-Id: I541635ba2a30a8822923b3d9841ad56d625b39e7

7 years agoMerge "Fix getpriority/setpriority types."
Elliott Hughes [Wed, 30 Nov 2016 05:54:41 +0000 (05:54 +0000)]
Merge "Fix getpriority/setpriority types."
am: 609880c12f

Change-Id: I33de9bd9710164a4b56c30491fd51b20ac5c34f8

7 years agoMerge "Fix return type of sync(2)."
Elliott Hughes [Wed, 30 Nov 2016 05:54:28 +0000 (05:54 +0000)]
Merge "Fix return type of sync(2)."
am: 3b6b2f7c2d

Change-Id: I56f6dc1e6a9a454f6691d71ea6f03b0fd6a034e2

7 years agoMerge "Fix getpriority/setpriority types."
Treehugger Robot [Wed, 30 Nov 2016 05:49:03 +0000 (05:49 +0000)]
Merge "Fix getpriority/setpriority types."

7 years agoMerge "Enable libc/libdl/libm/linker for host bionic" am: b99b6762b4 am: d528de0d58
Dan Willemsen [Wed, 30 Nov 2016 05:48:58 +0000 (05:48 +0000)]
Merge "Enable libc/libdl/libm/linker for host bionic" am: b99b6762b4 am: d528de0d58
am: 9d7afd082f

Change-Id: I916232a245b9da4df4563f3f146ed8394d02f8b9

7 years agoMerge "Enable libc/libdl/libm/linker for host bionic" am: b99b6762b4
Dan Willemsen [Wed, 30 Nov 2016 05:43:27 +0000 (05:43 +0000)]
Merge "Enable libc/libdl/libm/linker for host bionic" am: b99b6762b4
am: d528de0d58

Change-Id: Idfdb0b3636f710048c84d3c9e504a1c017be96bb

7 years agoMerge "Fix return type of sync(2)."
Treehugger Robot [Wed, 30 Nov 2016 05:42:53 +0000 (05:42 +0000)]
Merge "Fix return type of sync(2)."

7 years agoMerge "Enable libc/libdl/libm/linker for host bionic"
Dan Willemsen [Wed, 30 Nov 2016 05:37:56 +0000 (05:37 +0000)]
Merge "Enable libc/libdl/libm/linker for host bionic"
am: b99b6762b4

Change-Id: I5484525abac921f00ce6e01d0aef4c3a4c9a656a

7 years agoMerge "Enable libc/libdl/libm/linker for host bionic"
Dan Willemsen [Wed, 30 Nov 2016 05:32:06 +0000 (05:32 +0000)]
Merge "Enable libc/libdl/libm/linker for host bionic"

7 years agoAdd __libc_arc4random_unlimited_entropy.
Josh Gao [Fri, 11 Nov 2016 00:26:44 +0000 (16:26 -0800)]
Add __libc_arc4random_unlimited_entropy.

Let the caller know when libc has an entropy source and arc4random is safe.
This is useful for the callers that want entropy, but don't absolutely need it.

Bug: http://b/27729263
Test: booted angler-userdebug w/ safestack
Change-Id: Iab3050bd19f23518e1676629573eebc656ba1090

7 years agoMerge "Use icu4c to implement <wctype.h>." am: bd734f0716 am: d3adf35e5b
Elliott Hughes [Tue, 29 Nov 2016 23:25:33 +0000 (23:25 +0000)]
Merge "Use icu4c to implement <wctype.h>." am: bd734f0716 am: d3adf35e5b
am: d023a9a174

Change-Id: I960fecd166c338cf1281671c8c2d58dbf12c39ed

7 years agoMerge "Use icu4c to implement <wctype.h>." am: bd734f0716
Elliott Hughes [Tue, 29 Nov 2016 23:20:03 +0000 (23:20 +0000)]
Merge "Use icu4c to implement <wctype.h>." am: bd734f0716
am: d3adf35e5b

Change-Id: If12283a7a6b992bd1d66d08e373c26fe415a6cba

7 years agoFix return type of sync(2).
Elliott Hughes [Tue, 29 Nov 2016 23:16:08 +0000 (15:16 -0800)]
Fix return type of sync(2).

Bug: N/A
Test: builds
Change-Id: Ie93f1e8609baf2939c809f673b96248a384695ee

7 years agoMerge "Use icu4c to implement <wctype.h>."
Elliott Hughes [Tue, 29 Nov 2016 23:15:02 +0000 (23:15 +0000)]
Merge "Use icu4c to implement <wctype.h>."
am: bd734f0716

Change-Id: Id46c588eb1e3502d02f5b7e8bf6a46ad69047fe5

7 years agoFix getpriority/setpriority types.
Elliott Hughes [Tue, 29 Nov 2016 23:10:29 +0000 (15:10 -0800)]
Fix getpriority/setpriority types.

Bug: N/A
Test: builds
Change-Id: Ica099bae04a0260871783452811a54672094ba4a

7 years agoMerge "Use icu4c to implement <wctype.h>."
Elliott Hughes [Tue, 29 Nov 2016 23:05:31 +0000 (23:05 +0000)]
Merge "Use icu4c to implement <wctype.h>."

7 years agoCorrect the return types of readv and writev.
Josh Gao [Tue, 29 Nov 2016 22:26:15 +0000 (14:26 -0800)]
Correct the return types of readv and writev.

readv and writev should return ssize_t, not int.

Bug: none
Test: `m checkbuild` on bullhead
Change-Id: I934c2e8cb7bf76384b63cedfeab88e2f6b65971a

7 years agoEnable libc/libdl/libm/linker for host bionic
Dan Willemsen [Tue, 29 Nov 2016 01:02:25 +0000 (17:02 -0800)]
Enable libc/libdl/libm/linker for host bionic

Disables debuggerd integration unless building for android.

Bug: 31559095
Test: Diff out/soong/build.ninja before/after, only change is moving
      linker's libdebuggerd_client static lib to the beginning of the
      list.
Test: lunch aosp_arm64-eng; mmma -j bionic
Change-Id: I62e725f7a9b98b7fe31637d0a835fd5846b0aff0

7 years agoMerge "Implement <langinfo.h>." am: 86841573ed am: 03b787262c
Elliott Hughes [Tue, 29 Nov 2016 19:36:19 +0000 (19:36 +0000)]
Merge "Implement <langinfo.h>." am: 86841573ed am: 03b787262c
am: 1d414d1239

Change-Id: Ifc3dcde8da74c3aa8d3820eabb49c29539449335

7 years agoMerge "Implement <langinfo.h>." am: 86841573ed
Elliott Hughes [Tue, 29 Nov 2016 19:31:48 +0000 (19:31 +0000)]
Merge "Implement <langinfo.h>." am: 86841573ed
am: 03b787262c

Change-Id: Idb64dcf0adb5bdd98e1a7ba0c3a3266517dedc15

7 years agoMerge "Implement <langinfo.h>."
Elliott Hughes [Tue, 29 Nov 2016 19:25:48 +0000 (19:25 +0000)]
Merge "Implement <langinfo.h>."
am: 86841573ed

Change-Id: I1897be912644f66f2c73865b4d93bf2d0beabf60

7 years agoUse icu4c to implement <wctype.h>.
Elliott Hughes [Fri, 18 Nov 2016 02:18:08 +0000 (18:18 -0800)]
Use icu4c to implement <wctype.h>.

Pretty useless, because the POSIX APIs are useless for actually
internationalization, but it lets us put this to bed for good.

Bug: http://b/18492914
Test: bionic tests
Change-Id: I4dd0aff66c44b5547039be3ffea806c865b9014a

7 years agoShip all the UAPI bits.
Dan Albert [Tue, 29 Nov 2016 19:09:12 +0000 (11:09 -0800)]
Ship all the UAPI bits.

Test: make ndk
Bug: None
Change-Id: I24507846fb62b5844e06d7a424497a5ffc0357d1

7 years agoMerge "Implement <langinfo.h>."
Elliott Hughes [Tue, 29 Nov 2016 19:16:08 +0000 (19:16 +0000)]
Merge "Implement <langinfo.h>."

7 years agoUpdate timezone data to 2016j
Neil Fuller [Tue, 29 Nov 2016 14:46:05 +0000 (14:46 +0000)]
Update timezone data to 2016j

IANA changes:

Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04.

  Changes to future time stamps

    Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
    This hives off a new zone Europe/Saratov from Europe/Volgograd.
    (Thanks to Yuri Konotopov and Stepan Golosunov.)

  Changes to past time stamps

    The new zone Asia/Atyrau for AtyraĆ« Region, Kazakhstan, is like
    Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring
    1999, not fall 1994.  (Thanks to Stepan Golosunov.)

  Changes to past time zone abbreviations

    Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
    summer time before 1948.  The old use of "EET" was a typo.

Bug: 33136357
Change-Id: I6875bfa35b5d28839b6f4c3272fd9a1715b17aba
Test: CtsLibcoreTestCases / CtsBionicTestCases

7 years agoMerge "Fix bionic-unit-tests-glibc" am: 11b362d284 am: ead36866f4
Dimitry Ivanov [Mon, 28 Nov 2016 23:18:11 +0000 (23:18 +0000)]
Merge "Fix bionic-unit-tests-glibc" am: 11b362d284 am: ead36866f4
am: e522ca11ef

Change-Id: I7b88ce2dc6e3063adcb0c5ff4fc1b43a72f98f8a

7 years agoMerge "Fix bionic-unit-tests-glibc" am: 11b362d284
Dimitry Ivanov [Mon, 28 Nov 2016 23:14:14 +0000 (23:14 +0000)]
Merge "Fix bionic-unit-tests-glibc" am: 11b362d284
am: ead36866f4

Change-Id: Ib57706e5de0270e5d40ff429418589878aabff9e

7 years agoMerge "Fix bionic-unit-tests-glibc"
Dimitry Ivanov [Mon, 28 Nov 2016 23:09:14 +0000 (23:09 +0000)]
Merge "Fix bionic-unit-tests-glibc"
am: 11b362d284

Change-Id: I0d4ac9cbf001cbc49e35964a7ca607419283a0a4

7 years agoMerge "Fix bionic-unit-tests-glibc"
Treehugger Robot [Mon, 28 Nov 2016 23:01:54 +0000 (23:01 +0000)]
Merge "Fix bionic-unit-tests-glibc"

7 years agoMerge "Add cortex-a7 specific routines." am: 8c8cd2f3be am: cc8a4201a2
Christopher Ferris [Mon, 28 Nov 2016 22:52:01 +0000 (22:52 +0000)]
Merge "Add cortex-a7 specific routines." am: 8c8cd2f3be am: cc8a4201a2
am: b6b875a0ab

Change-Id: Id08e0d2b9057e58d87aca93e08641493e50d77b1

7 years agoMerge "Add cortex-a7 specific routines." am: 8c8cd2f3be
Christopher Ferris [Mon, 28 Nov 2016 22:47:30 +0000 (22:47 +0000)]
Merge "Add cortex-a7 specific routines." am: 8c8cd2f3be
am: cc8a4201a2

Change-Id: Ife027b526ebc413111bc3d4d38b047080e1b74d7

7 years agoMerge "Add cortex-a7 specific routines."
Christopher Ferris [Mon, 28 Nov 2016 22:43:30 +0000 (22:43 +0000)]
Merge "Add cortex-a7 specific routines."
am: 8c8cd2f3be

Change-Id: I61878678e1007b554f0c6e0a36f1a5e5cb7736e9

7 years agoFix uninitialized variable usage. am: c0f1f552f9
Christopher Ferris [Mon, 28 Nov 2016 22:36:07 +0000 (22:36 +0000)]
Fix uninitialized variable usage. am: c0f1f552f9
am: 207e326ee5

Change-Id: If7040ed63e8e651fdb7069aa6327d57547712c3a

7 years agoFix error case to print newlines properly. am: 1dc3ae163e
Christopher Ferris [Mon, 28 Nov 2016 22:36:02 +0000 (22:36 +0000)]
Fix error case to print newlines properly. am: 1dc3ae163e
am: ae5b4be9a1

Change-Id: Iee47145316906d64c078b6be342d50fb5cbdfbec

7 years agoMake prctl test check maps. am: f1e44785e5 -s ours
Christopher Ferris [Mon, 28 Nov 2016 22:35:58 +0000 (22:35 +0000)]
Make prctl test check maps. am: f1e44785e5  -s ours
am: a3e2e69e26  -s ours

Change-Id: I40b2654662b6f4f7da32596602a197303b94cfe4

7 years agoMerge "Add cortex-a7 specific routines."
Christopher Ferris [Mon, 28 Nov 2016 22:34:28 +0000 (22:34 +0000)]
Merge "Add cortex-a7 specific routines."

7 years agoFix uninitialized variable usage.
Christopher Ferris [Mon, 28 Nov 2016 22:15:34 +0000 (22:15 +0000)]
Fix uninitialized variable usage.
am: c0f1f552f9

Change-Id: Ie13391e8e79e01b5120043daaafe1f416587dde3

7 years agoFix error case to print newlines properly.
Christopher Ferris [Mon, 28 Nov 2016 22:15:31 +0000 (22:15 +0000)]
Fix error case to print newlines properly.
am: 1dc3ae163e

Change-Id: Ibc7e676a5b6bd4ad99bad30541fa913cc1c8ee18

7 years agoMake prctl test check maps.
Christopher Ferris [Mon, 28 Nov 2016 22:15:28 +0000 (22:15 +0000)]
Make prctl test check maps.
am: f1e44785e5  -s ours

Change-Id: If914f99af809df110a78f90563b13d10cfae3aa6

7 years agoFix bionic-unit-tests-glibc
Dimitry Ivanov [Fri, 25 Nov 2016 20:23:11 +0000 (12:23 -0800)]
Fix bionic-unit-tests-glibc

Also add another test for dlsym(RTLD_NEXT, ..)

Bug: http://b/33106624
Test: run bionic-unit-tests-glibc and bionic-unit-tests
Change-Id: I340165d66bf2360b0e3273d3561a08cb5e7bd025

7 years agoAdd cortex-a7 specific routines.
Christopher Ferris [Mon, 28 Nov 2016 19:09:49 +0000 (11:09 -0800)]
Add cortex-a7 specific routines.

Test: Changed angler target to use cortex-a7 and I compiled.
Test: Booted this version on angler and ran bionic-unit-tests.

Change-Id: Ice7f6ea38a2569582161a8e659d7877918c1a45a

7 years agoMerge "bionic: make NONBLOCK call to getrandom" am: 1eb0ecb596 am: f1b71da8cf
Wei Wang [Thu, 24 Nov 2016 04:34:30 +0000 (04:34 +0000)]
Merge "bionic: make NONBLOCK call to getrandom" am: 1eb0ecb596 am: f1b71da8cf
am: 293106ecaf

Change-Id: I726c3def0f220a67401f68c80fa7ef27bbe31b0d

7 years agoMerge "bionic: make NONBLOCK call to getrandom" am: 1eb0ecb596
Wei Wang [Thu, 24 Nov 2016 04:31:59 +0000 (04:31 +0000)]
Merge "bionic: make NONBLOCK call to getrandom" am: 1eb0ecb596
am: f1b71da8cf

Change-Id: I6836ea573518b695f27ba014e32dfda0ddd8339f

7 years agoMerge "bionic: make NONBLOCK call to getrandom"
Wei Wang [Thu, 24 Nov 2016 04:29:29 +0000 (04:29 +0000)]
Merge "bionic: make NONBLOCK call to getrandom"
am: 1eb0ecb596

Change-Id: Ia993ead6dc380e517686feb0587d5595b252f3a1

7 years agoMerge "bionic: make NONBLOCK call to getrandom"
Treehugger Robot [Thu, 24 Nov 2016 04:23:01 +0000 (04:23 +0000)]
Merge "bionic: make NONBLOCK call to getrandom"

7 years agoFix x86_64 build which uses g++ and hits -Werror=unused-but-set-variable
Brian Carlstrom [Thu, 24 Nov 2016 04:12:56 +0000 (04:12 +0000)]
Fix x86_64 build which uses g++ and hits -Werror=unused-but-set-variable
am: 2993aaa261

Change-Id: If389245812985975992b852cbadccfd84ea14fac

7 years agoFix x86_64 build which uses g++ and hits -Werror=unused-but-set-variable
Brian Carlstrom [Thu, 24 Nov 2016 01:57:09 +0000 (17:57 -0800)]
Fix x86_64 build which uses g++ and hits -Werror=unused-but-set-variable

Bug: 32640542
Bug: 33078014
Change-Id: Id9d3b4e69ac909078b2ac5b81acf161debcefae3

7 years agobionic: make NONBLOCK call to getrandom
Wei Wang [Wed, 23 Nov 2016 18:41:35 +0000 (10:41 -0800)]
bionic: make NONBLOCK call to getrandom

By default getrandom() blocks if the entropy pool has not yet been initialized.
This will be an issue when init was first executed in some kernels.

This CL makes a check of getrandom readyness, by adding the GRND_NONBLOCK flag.
In such case, getrandom() does not block returns -1 with errno set to EAGAIN.

Test: on M/S devices
Bug: 33059407
Change-Id: I2a2ba8372a5e1c336852ba2ab77cdaac03c90389

7 years agoMerge "Remove CLONE_NEWNS for gettid and getpid cache tests." am: d39380cc4d am:...
Yabin Cui [Wed, 23 Nov 2016 18:40:19 +0000 (18:40 +0000)]
Merge "Remove CLONE_NEWNS for gettid and getpid cache tests." am: d39380cc4d am: d6e512ec00
am: e8660db0b3

Change-Id: I3ee4a27338dc8345c296b00bf4837073204f8799

7 years agoMerge "Remove CLONE_NEWNS for gettid and getpid cache tests." am: d39380cc4d
Yabin Cui [Wed, 23 Nov 2016 18:23:50 +0000 (18:23 +0000)]
Merge "Remove CLONE_NEWNS for gettid and getpid cache tests." am: d39380cc4d
am: d6e512ec00

Change-Id: I04ead6789d4a43d2ad595777900680f1395b3db5

7 years agoMerge "Remove CLONE_NEWNS for gettid and getpid cache tests."
Yabin Cui [Wed, 23 Nov 2016 18:21:19 +0000 (18:21 +0000)]
Merge "Remove CLONE_NEWNS for gettid and getpid cache tests."
am: d39380cc4d

Change-Id: I1f6da5f7d6717e80c067828241723ba62465d6a6

7 years agoMerge "Remove CLONE_NEWNS for gettid and getpid cache tests."
Yabin Cui [Wed, 23 Nov 2016 18:15:31 +0000 (18:15 +0000)]
Merge "Remove CLONE_NEWNS for gettid and getpid cache tests."

7 years agoRemove CLONE_NEWNS for gettid and getpid cache tests.
Yabin Cui [Wed, 23 Nov 2016 01:18:10 +0000 (17:18 -0800)]
Remove CLONE_NEWNS for gettid and getpid cache tests.

Using CLONE_NEWNS flag is not related to the tests, and it make
the tests unavailable in cts tests. So remove the flag.

Bug: http://b/33089743
Test: run CtsBionicTestCases --gtest_filter=unistd*.
Change-Id: I4bda39c6a0c41c9973d275202a3a7f7a1e9bbba3

7 years agoMerge "Log call to elf-constructors" am: 0dafdd4306 am: 57642e54be
Dimitry Ivanov [Tue, 22 Nov 2016 01:52:40 +0000 (01:52 +0000)]
Merge "Log call to elf-constructors" am: 0dafdd4306 am: 57642e54be
am: 4db07e7c5e

Change-Id: I4a8006f42487e4cb1247eafaf8b45a674300bc2f

7 years agoMerge "Log call to elf-constructors" am: 0dafdd4306
Dimitry Ivanov [Tue, 22 Nov 2016 01:47:42 +0000 (01:47 +0000)]
Merge "Log call to elf-constructors" am: 0dafdd4306
am: 57642e54be

Change-Id: I333898d91ee47f2e8875aaaa1d591061533403d6

7 years agoMerge "Log call to elf-constructors"
Dimitry Ivanov [Tue, 22 Nov 2016 01:41:11 +0000 (01:41 +0000)]
Merge "Log call to elf-constructors"
am: 0dafdd4306

Change-Id: I321192705d99952bc9318e33069ab92742c275e3

7 years agoMerge "Log call to elf-constructors"
Treehugger Robot [Tue, 22 Nov 2016 01:27:23 +0000 (01:27 +0000)]
Merge "Log call to elf-constructors"

7 years agoMerge "versioner: extract strict warnings out of -v into its own flag." am: 9f9200c2e...
Josh Gao [Tue, 22 Nov 2016 01:01:02 +0000 (01:01 +0000)]
Merge "versioner: extract strict warnings out of -v into its own flag." am: 9f9200c2ee am: 0cd3126647
am: dc8224da7e

Change-Id: I95f1b4a78d26ca2dc390a9eb1ca912e7abafc310

7 years agoversioner: extract strict warnings out of -v into its own flag. am: acc3d80edf am...
Josh Gao [Tue, 22 Nov 2016 01:00:49 +0000 (01:00 +0000)]
versioner: extract strict warnings out of -v into its own flag. am: acc3d80edf am: 240aeb0f95
am: 03b185c76e

Change-Id: I6d334b13a50eee6888b1600de3663db643056a6b

7 years agoMerge "versioner: use a single work queue." am: 2796894c98 am: 29f96ed48d
Josh Gao [Tue, 22 Nov 2016 01:00:37 +0000 (01:00 +0000)]
Merge "versioner: use a single work queue." am: 2796894c98 am: 29f96ed48d
am: d6d1505f4a

Change-Id: I408193e92f54397b1ecb90de357e429a947f3e90

7 years agoMerge "versioner: extract strict warnings out of -v into its own flag." am: 9f9200c2ee
Josh Gao [Tue, 22 Nov 2016 00:58:31 +0000 (00:58 +0000)]
Merge "versioner: extract strict warnings out of -v into its own flag." am: 9f9200c2ee
am: 0cd3126647

Change-Id: I356013978c71f9e7945a6ca4d5278bf34b4b0d28

7 years agoversioner: extract strict warnings out of -v into its own flag. am: acc3d80edf
Josh Gao [Tue, 22 Nov 2016 00:58:19 +0000 (00:58 +0000)]
versioner: extract strict warnings out of -v into its own flag. am: acc3d80edf
am: 240aeb0f95

Change-Id: I4861e163de41e01797c475de0ab9e0ef834d3786

7 years agoMerge "versioner: use a single work queue." am: 2796894c98
Josh Gao [Tue, 22 Nov 2016 00:58:07 +0000 (00:58 +0000)]
Merge "versioner: use a single work queue." am: 2796894c98
am: 29f96ed48d

Change-Id: I0cf5ec46e4b4a090cbc34e2104880da824a85f3b

7 years agoMerge "versioner: extract strict warnings out of -v into its own flag."
Josh Gao [Tue, 22 Nov 2016 00:56:22 +0000 (00:56 +0000)]
Merge "versioner: extract strict warnings out of -v into its own flag."
am: 9f9200c2ee

Change-Id: I11126bf948c71cce3c0cd08ddeec1fe1b94570fd

7 years agoversioner: extract strict warnings out of -v into its own flag.
Josh Gao [Tue, 22 Nov 2016 00:56:21 +0000 (00:56 +0000)]
versioner: extract strict warnings out of -v into its own flag.
am: acc3d80edf

Change-Id: I2bfed6bfb316cda894edec3b944c3440c5fb49c3

7 years agoMerge "versioner: use a single work queue."
Josh Gao [Tue, 22 Nov 2016 00:56:08 +0000 (00:56 +0000)]
Merge "versioner: use a single work queue."
am: 2796894c98

Change-Id: I32ff5aa349d22586e3938896c962870e06efe2a6

7 years agoMerge "versioner: extract strict warnings out of -v into its own flag."
Josh Gao [Tue, 22 Nov 2016 00:51:14 +0000 (00:51 +0000)]
Merge "versioner: extract strict warnings out of -v into its own flag."

7 years agoMerge "versioner: use a single work queue."
Josh Gao [Tue, 22 Nov 2016 00:50:58 +0000 (00:50 +0000)]
Merge "versioner: use a single work queue."

7 years agoLog call to elf-constructors
Dimitry Ivanov [Mon, 21 Nov 2016 18:44:35 +0000 (10:44 -0800)]
Log call to elf-constructors

Log call to constructors when dlopen logging is enabled.

Bug: http://b/29458203
Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: I0cd591bf147f8f910ae9def1ac4089ef44099aff

7 years agoImplement <langinfo.h>.
Elliott Hughes [Sat, 19 Nov 2016 00:27:29 +0000 (16:27 -0800)]
Implement <langinfo.h>.

POSIX locale only, as usual.

The GNU YESSTR and NOSTR extensions return the empty string in the C locale,
so I haven't bothered supporting them.

Bug: http://b/1401872
Test: bionic tests
Change-Id: I6846839e4f9f1812344ed5dce0b93f83c0c20eb3

7 years agoMerge "Document more dynamic linker changes." am: 5fabe02757 am: 78991b1f68
Elliott Hughes [Sat, 19 Nov 2016 01:02:33 +0000 (01:02 +0000)]
Merge "Document more dynamic linker changes." am: 5fabe02757 am: 78991b1f68
am: 136508c1b2

Change-Id: I0b23cd9eb6f9ee727c2eaf6788ef16a2e1b43dd2

7 years agoMerge "Document more dynamic linker changes." am: 5fabe02757
Elliott Hughes [Sat, 19 Nov 2016 00:58:33 +0000 (00:58 +0000)]
Merge "Document more dynamic linker changes." am: 5fabe02757
am: 78991b1f68

Change-Id: I2bf47dc9b127a3f1586c063f4ca20d2c62ce04d3

7 years agoMerge "Document more dynamic linker changes."
Elliott Hughes [Sat, 19 Nov 2016 00:55:03 +0000 (00:55 +0000)]
Merge "Document more dynamic linker changes."
am: 5fabe02757

Change-Id: I706fa3635c31b8520fcb4ba57245de0b4d926d33

7 years agoMerge "Document more dynamic linker changes."
Treehugger Robot [Sat, 19 Nov 2016 00:49:38 +0000 (00:49 +0000)]
Merge "Document more dynamic linker changes."

7 years agoDocument more dynamic linker changes.
Elliott Hughes [Fri, 18 Nov 2016 20:28:01 +0000 (12:28 -0800)]
Document more dynamic linker changes.

Based on https://plus.google.com/+ElliottHughes/posts/dtguP8BWkc7?sfc=false.

Bug: http://b/33001640
Change-Id: I9efedaf1c17a38d4426f030dd252446e4dfbc1cb

7 years agoMerge "Enable malloc debug using environment variables" am: c2395be74a am: 2b1150ee30
Christopher Ferris [Fri, 18 Nov 2016 21:46:18 +0000 (21:46 +0000)]
Merge "Enable malloc debug using environment variables" am: c2395be74a am: 2b1150ee30
am: 72b07c26b8

Change-Id: Ia1588dbf658bdf335123c8684d3d1ddda61eb073

7 years agoMerge "Enable malloc debug using environment variables" am: c2395be74a
Christopher Ferris [Fri, 18 Nov 2016 21:42:48 +0000 (21:42 +0000)]
Merge "Enable malloc debug using environment variables" am: c2395be74a
am: 2b1150ee30

Change-Id: I15d3b85ad8295e323017f70c7a7296afbe952f05

7 years agoMerge "Enable malloc debug using environment variables"
Christopher Ferris [Fri, 18 Nov 2016 21:39:17 +0000 (21:39 +0000)]
Merge "Enable malloc debug using environment variables"
am: c2395be74a

Change-Id: I9d9cfebc646895aaf49fdcffd20ac3ddb098deba

7 years agoMerge "Enable malloc debug using environment variables"
Christopher Ferris [Fri, 18 Nov 2016 21:33:17 +0000 (21:33 +0000)]
Merge "Enable malloc debug using environment variables"

7 years agoMerge "Add note about pid_max to host test documentation." am: a7e74f09b8 am: 7015e90e35
Josh Gao [Fri, 18 Nov 2016 03:04:59 +0000 (03:04 +0000)]
Merge "Add note about pid_max to host test documentation." am: a7e74f09b8 am: 7015e90e35
am: 58ee451ba0

Change-Id: I37b9d6be67e292dd976b1e3554774167fbfccc27

7 years agoMerge "Add note about pid_max to host test documentation." am: a7e74f09b8
Josh Gao [Fri, 18 Nov 2016 03:02:28 +0000 (03:02 +0000)]
Merge "Add note about pid_max to host test documentation." am: a7e74f09b8
am: 7015e90e35

Change-Id: I420b45b315853328794ef7e92b9c29daf8815280

7 years agoMerge "Add note about pid_max to host test documentation."
Josh Gao [Fri, 18 Nov 2016 02:59:28 +0000 (02:59 +0000)]
Merge "Add note about pid_max to host test documentation."
am: a7e74f09b8

Change-Id: I2d000a8bfc7b697a50bd5f268b32d8c2d3380d85