OSDN Git Service

android-x86/bionic.git
7 years agolinker: log only real dlerrors
Dimitry Ivanov [Tue, 28 Mar 2017 18:08:58 +0000 (11:08 -0700)]
linker: log only real dlerrors

Currently linker reports all potential dlerrors
for example if library was not found in 'this'
namespace - it initializes linker error buffer
with not found message but when consequent
search in linked namespace succeeds this message
is droped because dlopen was successful.

This commit avoids logging false positive error
messages when debug.ld.* set to dlerror.

Test: manual
Change-Id: I480694a1b1bbacd6bd1d8505cd2ee491710964cc
(cherry picked from commit 11968b80af5be601b820f261e2e102e5b8ed48c4)

7 years agoMerge "Expose seccomp table" am: 4b43140142 am: 448e702fd3
Paul Lawrence [Tue, 28 Mar 2017 02:07:01 +0000 (02:07 +0000)]
Merge "Expose seccomp table" am: 4b43140142 am: 448e702fd3
am: 6ed3b2bd7a

Change-Id: I7e5d34ce6c0feb6c65aa39189684a5f59d3b6679

7 years agoMerge "Expose seccomp table" am: 4b43140142
Paul Lawrence [Tue, 28 Mar 2017 02:02:28 +0000 (02:02 +0000)]
Merge "Expose seccomp table" am: 4b43140142
am: 448e702fd3

Change-Id: I5e315592d49d6417868b8d65189cb9a6b6f56b34

7 years agoMerge "Expose seccomp table"
Paul Lawrence [Tue, 28 Mar 2017 01:58:29 +0000 (01:58 +0000)]
Merge "Expose seccomp table"
am: 4b43140142

Change-Id: If4a0e4194e2b15bd2ce3bdc81c078074e462b1f9

7 years agoMerge "Expose seccomp table"
Treehugger Robot [Tue, 28 Mar 2017 01:54:12 +0000 (01:54 +0000)]
Merge "Expose seccomp table"

7 years agoMerge "bionic: arm64: generic: strcmp: align to 64B cache line" am: f785a6cbff am...
Christopher Ferris [Tue, 28 Mar 2017 01:42:29 +0000 (01:42 +0000)]
Merge "bionic: arm64: generic: strcmp: align to 64B cache line" am: f785a6cbff am: 08bfbd18f8
am: 4eb034cc35

Change-Id: I83c6ece416f9d8d974fbcd803087e5994217e595

7 years agoMerge "bionic: arm64: generic: strcmp: align to 64B cache line" am: f785a6cbff
Christopher Ferris [Tue, 28 Mar 2017 01:38:29 +0000 (01:38 +0000)]
Merge "bionic: arm64: generic: strcmp: align to 64B cache line" am: f785a6cbff
am: 08bfbd18f8

Change-Id: I88de7d71ee04b1ddac2b60489750bd75670003f3

7 years agoMerge "bionic: arm64: generic: strcmp: align to 64B cache line"
Christopher Ferris [Tue, 28 Mar 2017 01:34:28 +0000 (01:34 +0000)]
Merge "bionic: arm64: generic: strcmp: align to 64B cache line"
am: f785a6cbff

Change-Id: I3b5b76a6c9a0881c9f82012161254dbd480d062b

7 years agoMerge "bionic: arm64: generic: strcmp: align to 64B cache line"
Christopher Ferris [Tue, 28 Mar 2017 01:27:17 +0000 (01:27 +0000)]
Merge "bionic: arm64: generic: strcmp: align to 64B cache line"

7 years agoMerge "Make anonymous namespace isoalted." am: 6b0f17e588 am: e16a6463d9
Dimitry Ivanov [Tue, 28 Mar 2017 01:17:57 +0000 (01:17 +0000)]
Merge "Make anonymous namespace isoalted." am: 6b0f17e588 am: e16a6463d9
am: a6508f2b15

Change-Id: Ieda4f662c68f5910ee90391dd29cc23c93dbf3eb

7 years agoMerge "Make anonymous namespace isoalted." am: 6b0f17e588
Dimitry Ivanov [Tue, 28 Mar 2017 01:13:56 +0000 (01:13 +0000)]
Merge "Make anonymous namespace isoalted." am: 6b0f17e588
am: e16a6463d9

Change-Id: I07e8c932b5d11dd6f3c14e73a892d245b6c541a8

7 years agoMerge "Make anonymous namespace isoalted."
Dimitry Ivanov [Tue, 28 Mar 2017 01:09:57 +0000 (01:09 +0000)]
Merge "Make anonymous namespace isoalted."
am: 6b0f17e588

Change-Id: Ibecb1efa6b81242ffc1ffc6d5f60a13785fc8578

7 years agoMerge "Make anonymous namespace isoalted."
Dimitry Ivanov [Tue, 28 Mar 2017 00:59:08 +0000 (00:59 +0000)]
Merge "Make anonymous namespace isoalted."

7 years agoExpose seccomp table
Paul Lawrence [Mon, 27 Mar 2017 22:38:37 +0000 (15:38 -0700)]
Expose seccomp table

Test: Run with internal cl
      https://googleplex-android-review.git.corp.google.com/#/c/2028102/
      and make sure passes
Bug: 20890063
Change-Id: Id78e5ea843554a5d3750b8f9b350f28ad4dca99b

7 years agoMake anonymous namespace isoalted.
Dimitry Ivanov [Mon, 27 Mar 2017 22:42:17 +0000 (15:42 -0700)]
Make anonymous namespace isoalted.

This addresses outstanding todo for anonymous namespace
and fixes an app compatibility bug.

Bug: http://b/36008422
Test: start app from http://b/36008422 and make sure it runs
Change-Id: Ie148418b944379ee1000e7274f2f6c1eca511d6c

7 years agoMerge "Revert "linker: add more directories to default lib paths"" am: 840ae69408...
Dimitry Ivanov [Sat, 25 Mar 2017 07:54:42 +0000 (07:54 +0000)]
Merge "Revert "linker: add more directories to default lib paths"" am: 840ae69408 am: f3ee6cc97c
am: 990c69bd8f

Change-Id: Ic893b80bfc9c4e952145af76a165b86a9bc0800a

7 years agoMerge "Revert "linker: add more directories to default lib paths"" am: 840ae69408
Dimitry Ivanov [Sat, 25 Mar 2017 07:52:12 +0000 (07:52 +0000)]
Merge "Revert "linker: add more directories to default lib paths"" am: 840ae69408
am: f3ee6cc97c

Change-Id: I07a8802053765f3fb914be85927e89eb029b3ff9

7 years agoMerge "Revert "linker: add more directories to default lib paths""
Dimitry Ivanov [Sat, 25 Mar 2017 07:49:41 +0000 (07:49 +0000)]
Merge "Revert "linker: add more directories to default lib paths""
am: 840ae69408

Change-Id: I49d120109ead5daa672bf7dff916029828c6b94e

7 years agoMerge "Revert "linker: add more directories to default lib paths""
Dimitry Ivanov [Sat, 25 Mar 2017 07:46:18 +0000 (07:46 +0000)]
Merge "Revert "linker: add more directories to default lib paths""

7 years agoMerge "Load namespace configuration from ld.config.txt" am: deca8effd0 am: b6aeca5280
Dimitry Ivanov [Sat, 25 Mar 2017 05:26:12 +0000 (05:26 +0000)]
Merge "Load namespace configuration from ld.config.txt" am: deca8effd0 am: b6aeca5280
am: bbf42e6600

Change-Id: I97d7c42a399b3141ec0249a492a686a3098bda6f

7 years agoMerge "Load namespace configuration from ld.config.txt" am: deca8effd0
Dimitry Ivanov [Sat, 25 Mar 2017 05:23:40 +0000 (05:23 +0000)]
Merge "Load namespace configuration from ld.config.txt" am: deca8effd0
am: b6aeca5280

Change-Id: I7af2e9f35b09ffa93d8be0b5c8543c7ebf3e8d24

7 years agoMerge "Load namespace configuration from ld.config.txt"
Dimitry Ivanov [Sat, 25 Mar 2017 05:21:08 +0000 (05:21 +0000)]
Merge "Load namespace configuration from ld.config.txt"
am: deca8effd0

Change-Id: Iaf23427acf6a1e5a6336dc43838d1678b364a277

7 years agoMerge "Load namespace configuration from ld.config.txt"
Treehugger Robot [Sat, 25 Mar 2017 05:17:31 +0000 (05:17 +0000)]
Merge "Load namespace configuration from ld.config.txt"

7 years agoMerge "Disable compat_elf_hash_and_relocation_tables test for x86" am: fe96db819b...
Dimitry Ivanov [Fri, 24 Mar 2017 23:10:39 +0000 (23:10 +0000)]
Merge "Disable compat_elf_hash_and_relocation_tables test for x86" am: fe96db819b am: 72aed61800
am: 75fc414b61

Change-Id: I8215d3ce5dafc49d6b5df9f3d7f1c48dfdef45c5

7 years agoMerge "Disable compat_elf_hash_and_relocation_tables test for x86" am: fe96db819b
Dimitry Ivanov [Fri, 24 Mar 2017 23:08:39 +0000 (23:08 +0000)]
Merge "Disable compat_elf_hash_and_relocation_tables test for x86" am: fe96db819b
am: 72aed61800

Change-Id: I922a143d5cb0c553cc55cf408026fdcb66d9197c

7 years agoMerge "Disable compat_elf_hash_and_relocation_tables test for x86"
Dimitry Ivanov [Fri, 24 Mar 2017 23:06:39 +0000 (23:06 +0000)]
Merge "Disable compat_elf_hash_and_relocation_tables test for x86"
am: fe96db819b

Change-Id: I6ff32babeeb514cd00704e797a713ac4149dc868

7 years agoMerge "Disable compat_elf_hash_and_relocation_tables test for x86"
Dimitry Ivanov [Fri, 24 Mar 2017 23:02:54 +0000 (23:02 +0000)]
Merge "Disable compat_elf_hash_and_relocation_tables test for x86"

7 years agoLoad namespace configuration from ld.config.txt
Dimitry Ivanov [Tue, 7 Mar 2017 19:19:05 +0000 (11:19 -0800)]
Load namespace configuration from ld.config.txt

This change allows customization of default namespace
configuration for different executables. It also enables
target_sdk_version setup for binaries (note that this
option should explicitly be enabled in ld.config.txt).

Bug: http://b/30706810
Bug: http://b/30435785
Test: run linker-unit-tests/bionic-unit-tests, boot angler
Change-Id: Ibbe87209acf1538fc9cec04944f3d22a190c38f1

7 years agoDisable compat_elf_hash_and_relocation_tables test for x86
Dimitry Ivanov [Fri, 24 Mar 2017 17:58:23 +0000 (10:58 -0700)]
Disable compat_elf_hash_and_relocation_tables test for x86

Bug: http://b/36571076
Test: run bionic-unit-tests on fugu
Change-Id: I2f901bc99e55f15b06fe6a5b0d7a125d1b8241a8

7 years agoMerge "loader: stop relying on AT_BASE" am: ad8dcd6023 am: bf8290dc7b
Dimitry Ivanov [Fri, 24 Mar 2017 02:10:53 +0000 (02:10 +0000)]
Merge "loader: stop relying on AT_BASE" am: ad8dcd6023 am: bf8290dc7b
am: 21b66ac81c

Change-Id: I205b884e2eab9f5db2331383979d65d222a02810

7 years agoMerge "loader: stop relying on AT_BASE" am: ad8dcd6023
Dimitry Ivanov [Fri, 24 Mar 2017 02:08:23 +0000 (02:08 +0000)]
Merge "loader: stop relying on AT_BASE" am: ad8dcd6023
am: bf8290dc7b

Change-Id: I75b13a6feadb8f69dc37fd94dd17c4111c171c84

7 years agoMerge "loader: stop relying on AT_BASE"
Dimitry Ivanov [Fri, 24 Mar 2017 02:06:22 +0000 (02:06 +0000)]
Merge "loader: stop relying on AT_BASE"
am: ad8dcd6023

Change-Id: Ie7a4ffd40a91d2b87468dc3374414cb4e6bed993

7 years agoMerge "loader: stop relying on AT_BASE"
Treehugger Robot [Fri, 24 Mar 2017 02:03:57 +0000 (02:03 +0000)]
Merge "loader: stop relying on AT_BASE"

7 years agoloader: stop relying on AT_BASE
Dimitry Ivanov [Thu, 23 Mar 2017 23:17:15 +0000 (16:17 -0700)]
loader: stop relying on AT_BASE

android loader should not rely on the fact
that AT_BASE is set because kernel currently
does not set it when linker is run standalone
(The linker does not have PT_INTERP set)

This commit replaces AT_BASE with calculated value.

Bug: http://b/30739481
Bug: http://b/35890756
Test: run bionic-unit-tests --gtest_filter=dl*
Change-Id: Ic2eb73e4452624b1f2e05f46e99e4c17df0bbc3f

7 years agoMerge "Expand whitelist" am: 58df5b2b86 am: 9fd409f56a
Paul Lawrence [Thu, 23 Mar 2017 20:52:25 +0000 (20:52 +0000)]
Merge "Expand whitelist" am: 58df5b2b86 am: 9fd409f56a
am: 30eadf34a5

Change-Id: I52a0943a42216bcde418300a6144bf373f58219b

7 years agoMerge "Expand whitelist" am: 58df5b2b86
Paul Lawrence [Thu, 23 Mar 2017 20:49:57 +0000 (20:49 +0000)]
Merge "Expand whitelist" am: 58df5b2b86
am: 9fd409f56a

Change-Id: Ie9afb6f951140b09ed85a1130bffeba6780d9198

7 years agoMerge "Expand whitelist"
Paul Lawrence [Thu, 23 Mar 2017 20:46:25 +0000 (20:46 +0000)]
Merge "Expand whitelist"
am: 58df5b2b86

Change-Id: I58f915835c2b0617c2bc846f2d021ce0747013c1

7 years agoMerge "Expand whitelist"
Treehugger Robot [Thu, 23 Mar 2017 20:41:34 +0000 (20:41 +0000)]
Merge "Expand whitelist"

7 years agoExpand whitelist
Paul Lawrence [Thu, 23 Mar 2017 19:20:00 +0000 (12:20 -0700)]
Expand whitelist

Bug: 36449658
Test: Builds
Change-Id: I610da03e7a3cede218d1657f53797ab72cbdf317

7 years agoMerge "Verify at least 2 frames out of signal handler." am: 8f804d71d0 am: ab39630cef
Christopher Ferris [Thu, 23 Mar 2017 19:21:20 +0000 (19:21 +0000)]
Merge "Verify at least 2 frames out of signal handler." am: 8f804d71d0 am: ab39630cef
am: 5412798368

Change-Id: I32762b2ee46209372cc0f15559139d5e1261daab

7 years agoMerge "Verify at least 2 frames out of signal handler." am: 8f804d71d0
Christopher Ferris [Thu, 23 Mar 2017 19:18:21 +0000 (19:18 +0000)]
Merge "Verify at least 2 frames out of signal handler." am: 8f804d71d0
am: ab39630cef

Change-Id: Iec48a7620b79a6a06689068895eee0487ee02c53

7 years agoMerge "Verify at least 2 frames out of signal handler."
Christopher Ferris [Thu, 23 Mar 2017 19:15:50 +0000 (19:15 +0000)]
Merge "Verify at least 2 frames out of signal handler."
am: 8f804d71d0

Change-Id: I101d82f95345ebda7d385142301e5fa3e35daeed

7 years agoMerge "Verify at least 2 frames out of signal handler."
Christopher Ferris [Thu, 23 Mar 2017 19:12:20 +0000 (19:12 +0000)]
Merge "Verify at least 2 frames out of signal handler."

7 years agoVerify at least 2 frames out of signal handler.
Christopher Ferris [Thu, 23 Mar 2017 02:05:50 +0000 (19:05 -0700)]
Verify at least 2 frames out of signal handler.

Modify the test slightly to make sure that the unwinder properly unwinds
through at least 2 frames outside of the signal handler. This guarantees
that if the first frame outside of the handler happens to be garbage,
this test will fail.

Bug: 34468756

Test: Ran the unit tests on fugu, angler (both 32 bit and 64 bit).
Change-Id: I6b76ac9fc1df9ed6fd5bbcc6f5fa4bf458354dff

7 years agoMerge "Fix problem that we don't block syscalls below min value" am: 4d099d1576 am...
Paul Lawrence [Wed, 22 Mar 2017 19:43:55 +0000 (19:43 +0000)]
Merge "Fix problem that we don't block syscalls below min value" am: 4d099d1576 am: 58b8d8c43e
am: 1f90e43573

Change-Id: Ic9096250cb21a28dccaa8d4653159cc52d0fd863

7 years agoMerge "Fix problem that we don't block syscalls below min value" am: 4d099d1576
Paul Lawrence [Wed, 22 Mar 2017 19:41:25 +0000 (19:41 +0000)]
Merge "Fix problem that we don't block syscalls below min value" am: 4d099d1576
am: 58b8d8c43e

Change-Id: Iabff94870501f59d94f96fbd9c4f9d35d6867cff

7 years agoMerge "Fix problem that we don't block syscalls below min value"
Paul Lawrence [Wed, 22 Mar 2017 19:38:55 +0000 (19:38 +0000)]
Merge "Fix problem that we don't block syscalls below min value"
am: 4d099d1576

Change-Id: Iaa83772727fd8cb4b9468cd7033523afabe6baed

7 years agoMerge "Fix problem that we don't block syscalls below min value"
Treehugger Robot [Wed, 22 Mar 2017 19:33:07 +0000 (19:33 +0000)]
Merge "Fix problem that we don't block syscalls below min value"

7 years agoFix problem that we don't block syscalls below min value
Paul Lawrence [Wed, 22 Mar 2017 15:03:51 +0000 (08:03 -0700)]
Fix problem that we don't block syscalls below min value

The check that we are not below the lowest permitted syscall was
off by one, so we always allowed them, rather than always denying
them

Test: Check arm64 boots, chrome and maps work
      mips and mips64 emulators boot
      Note that arm, x86 and x86_64 already allow syscall 0 so there
      will be no functional change there

Change-Id: I85873f1d04124e634e648bd47c027f280f1d6dbd

7 years agoMerge "Update timezone data to 2017b" am: 341bb25a19 am: a4a0b78e8d
Joachim Sauer [Wed, 22 Mar 2017 13:21:05 +0000 (13:21 +0000)]
Merge "Update timezone data to 2017b" am: 341bb25a19 am: a4a0b78e8d
am: 4e363fa091

Change-Id: I86dc46fb4053d2ebba2f4a7e81a16ab99146c6c6

7 years agoMerge "Update timezone data to 2017b" am: 341bb25a19
Joachim Sauer [Wed, 22 Mar 2017 13:18:35 +0000 (13:18 +0000)]
Merge "Update timezone data to 2017b" am: 341bb25a19
am: a4a0b78e8d

Change-Id: I21179fde3482f5512832b4313b08cad4ea04be13

7 years agoMerge "Update timezone data to 2017b"
Joachim Sauer [Wed, 22 Mar 2017 13:16:05 +0000 (13:16 +0000)]
Merge "Update timezone data to 2017b"
am: 341bb25a19

Change-Id: Ie617b4613a4faa33ae95d8e610b3f854caa989b8

7 years agoMerge "Update timezone data to 2017b"
Joachim Sauer [Wed, 22 Mar 2017 13:11:45 +0000 (13:11 +0000)]
Merge "Update timezone data to 2017b"

7 years agoMerge "Add systrace output for dlclose/dlsym calls" am: 5153938e9a am: 314c5b4388
Dimitry Ivanov [Tue, 21 Mar 2017 22:26:52 +0000 (22:26 +0000)]
Merge "Add systrace output for dlclose/dlsym calls" am: 5153938e9a am: 314c5b4388
am: 4696a79e83

Change-Id: Ib24f774f79a719b97545ba58b247f70f807f7453

7 years agoMerge "Add systrace output for dlclose/dlsym calls" am: 5153938e9a
Dimitry Ivanov [Tue, 21 Mar 2017 22:20:22 +0000 (22:20 +0000)]
Merge "Add systrace output for dlclose/dlsym calls" am: 5153938e9a
am: 314c5b4388

Change-Id: I755be26817bdf2dea76ff4c82c1d9d9e659c0bf6

7 years agoMerge "Add systrace output for dlclose/dlsym calls"
Dimitry Ivanov [Tue, 21 Mar 2017 22:15:51 +0000 (22:15 +0000)]
Merge "Add systrace output for dlclose/dlsym calls"
am: 5153938e9a

Change-Id: I7c9914ae9b309e9c8d0369503546772b2b5b491e

7 years agoMerge "Add systrace output for dlclose/dlsym calls"
Treehugger Robot [Tue, 21 Mar 2017 22:06:08 +0000 (22:06 +0000)]
Merge "Add systrace output for dlclose/dlsym calls"

7 years agoMerge "POSIX support varies by API level." am: 8ebfc0d3a3 am: 650593498d
Elliott Hughes [Tue, 21 Mar 2017 20:30:14 +0000 (20:30 +0000)]
Merge "POSIX support varies by API level." am: 8ebfc0d3a3 am: 650593498d
am: f31212fbfe

Change-Id: Id18a10ff4359ba7531ffbf27d725bb381e5fd685

7 years agoMerge "POSIX support varies by API level." am: 8ebfc0d3a3
Elliott Hughes [Tue, 21 Mar 2017 20:26:43 +0000 (20:26 +0000)]
Merge "POSIX support varies by API level." am: 8ebfc0d3a3
am: 650593498d

Change-Id: I44846a3cf1fa3b03d33f804079b4037b25506cc2

7 years agoMerge "POSIX support varies by API level."
Elliott Hughes [Tue, 21 Mar 2017 20:22:13 +0000 (20:22 +0000)]
Merge "POSIX support varies by API level."
am: 8ebfc0d3a3

Change-Id: Ifa732c7835620aaf1d12ad9b3a97253fad3f14b3

7 years agoMerge "POSIX support varies by API level."
Treehugger Robot [Tue, 21 Mar 2017 20:11:35 +0000 (20:11 +0000)]
Merge "POSIX support varies by API level."

7 years agoMerge "pthread barrier and spinlock types should only appear at API level 24." am...
Elliott Hughes [Tue, 21 Mar 2017 19:29:11 +0000 (19:29 +0000)]
Merge "pthread barrier and spinlock types should only appear at API level 24." am: 72b6f4fae2 am: 6d60179839
am: 79d88ed706

Change-Id: Ieeaf1db4f62230da8f690dda02ea375b43b6682b

7 years agoMerge "pthread barrier and spinlock types should only appear at API level 24." am...
Elliott Hughes [Tue, 21 Mar 2017 19:24:41 +0000 (19:24 +0000)]
Merge "pthread barrier and spinlock types should only appear at API level 24." am: 72b6f4fae2
am: 6d60179839

Change-Id: I28bb0f6829d8d83a6bddda6e66aedc33d788ffe1

7 years agoMerge "pthread barrier and spinlock types should only appear at API level 24."
Elliott Hughes [Tue, 21 Mar 2017 19:20:41 +0000 (19:20 +0000)]
Merge "pthread barrier and spinlock types should only appear at API level 24."
am: 72b6f4fae2

Change-Id: I497096763a796e0e69643d2240d3608eb169104d

7 years agoMerge "pthread barrier and spinlock types should only appear at API level 24."
Elliott Hughes [Tue, 21 Mar 2017 19:14:05 +0000 (19:14 +0000)]
Merge "pthread barrier and spinlock types should only appear at API level 24."

7 years agoPOSIX support varies by API level.
Elliott Hughes [Tue, 21 Mar 2017 18:24:13 +0000 (11:24 -0700)]
POSIX support varies by API level.

Bug: https://github.com/android-ndk/ndk/issues/332
Test: builds
Change-Id: I249c214d34244a1149ba6b1160e8eafc2cdbcdea

7 years agoAdd systrace output for dlclose/dlsym calls
Dimitry Ivanov [Tue, 21 Mar 2017 17:29:06 +0000 (10:29 -0700)]
Add systrace output for dlclose/dlsym calls

Bug: http://b/27195126
Test: manual: adb shell atrace -t 5 bionic
      and run bionic-unit-tests --gtest_filter=dl*

Change-Id: I9e93a069dd440bb643890d9952913938442ac375

7 years agopthread barrier and spinlock types should only appear at API level 24.
Elliott Hughes [Tue, 21 Mar 2017 16:39:56 +0000 (09:39 -0700)]
pthread barrier and spinlock types should only appear at API level 24.

Bug: https://github.com/android-ndk/ndk/issues/336
Test: builds
Change-Id: I938d9d7ea879d1dbc355f14e100f1ea31a51a1f0

7 years agoUpdate timezone data to 2017b
Joachim Sauer [Tue, 21 Mar 2017 15:25:34 +0000 (15:25 +0000)]
Update timezone data to 2017b

IANA changes:

  Briefly: Haiti has resumed DST.

  Changes to past and future time stamps

    Haiti resumed observance of DST in 2017.  (Thanks to Steffen Thorsen.)

  Changes to past time stamps

    Liberia changed from -004430 to +00 on 1972-01-07, not 1972-05-01.

    Use "MMT" to abbreviate Liberia's time zone before 1972, as "-004430"
    is one byte over the POSIX limit.  (Problem reported by Derick Rethans.)

Bug: 36470257
Test: CtsLibcoreTestCases / CtsBionicTestCases
Change-Id: I5a8ffb60232410d88ffa67c7702dd234ff05f61d

7 years agoMerge changes Ib2bad794,I82436292 am: e98d1e68ce am: ab6cc15afd
Dimitry Ivanov [Mon, 20 Mar 2017 22:47:19 +0000 (22:47 +0000)]
Merge changes Ib2bad794,I82436292 am: e98d1e68ce am: ab6cc15afd
am: b05bc9364f

Change-Id: I85ae2a1d8ba126c1dc3cb41308a002d7a4203c01

7 years agoMerge changes Ib2bad794,I82436292 am: e98d1e68ce
Dimitry Ivanov [Mon, 20 Mar 2017 22:43:48 +0000 (22:43 +0000)]
Merge changes Ib2bad794,I82436292 am: e98d1e68ce
am: ab6cc15afd

Change-Id: Ifd8d8a37c4af5061474b814effa72e67ecf9cd3e

7 years agoMerge changes Ib2bad794,I82436292
Dimitry Ivanov [Mon, 20 Mar 2017 22:39:50 +0000 (22:39 +0000)]
Merge changes Ib2bad794,I82436292
am: e98d1e68ce

Change-Id: I9a7976262216e9196bb1bc5a5b2bd5736346b109

7 years agoMerge changes Ib2bad794,I82436292
Dimitry Ivanov [Mon, 20 Mar 2017 22:34:36 +0000 (22:34 +0000)]
Merge changes Ib2bad794,I82436292

* changes:
  Add systrace output for dlopen calls
  Add end() method to bionic's ScopedTrace class

7 years agoMerge "Only rename mmap to mmap64 if we're L or newer." am: e36fb9ed9e am: 364aed595c
Dan Albert [Mon, 20 Mar 2017 22:07:16 +0000 (22:07 +0000)]
Merge "Only rename mmap to mmap64 if we're L or newer." am: e36fb9ed9e am: 364aed595c
am: 91f3973678

Change-Id: Ia6fdf1e52976233a0ff27c7693a83f68e693053e

7 years agoMerge "Only rename mmap to mmap64 if we're L or newer." am: e36fb9ed9e
Dan Albert [Mon, 20 Mar 2017 22:03:46 +0000 (22:03 +0000)]
Merge "Only rename mmap to mmap64 if we're L or newer." am: e36fb9ed9e
am: 364aed595c

Change-Id: I36bc2f094776578d794b862835726fb966fd5f48

7 years agoMerge "Only rename mmap to mmap64 if we're L or newer."
Dan Albert [Mon, 20 Mar 2017 22:00:16 +0000 (22:00 +0000)]
Merge "Only rename mmap to mmap64 if we're L or newer."
am: e36fb9ed9e

Change-Id: Id3694c3dbb255887c208566757063bf51f08ec42

7 years agoMerge "Only rename mmap to mmap64 if we're L or newer."
Treehugger Robot [Mon, 20 Mar 2017 21:53:39 +0000 (21:53 +0000)]
Merge "Only rename mmap to mmap64 if we're L or newer."

7 years agoAdd systrace output for dlopen calls
Dimitry Ivanov [Fri, 17 Mar 2017 23:41:34 +0000 (16:41 -0700)]
Add systrace output for dlopen calls

Bug: http://b/27195126
Test: manual: adb shell atrace -t 5 bionic
      and run bionic-unit-tests --gtest_filter=dl*:Dl*

Change-Id: Ib2bad794e571b89bd1f52c9e0de642c2092e5c21

7 years agoMerge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer." am...
Elliott Hughes [Mon, 20 Mar 2017 20:15:10 +0000 (20:15 +0000)]
Merge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer." am: 8bd97b007e am: 7a228993be
am: e8a04a8ed3

Change-Id: I9999ab4f74afb98a0325e5aeee3184dd911cc4f1

7 years agoMerge "Only rename sendfile to sendfile64 if we're L or newer." am: f12d719b01 am...
Elliott Hughes [Mon, 20 Mar 2017 20:14:40 +0000 (20:14 +0000)]
Merge "Only rename sendfile to sendfile64 if we're L or newer." am: f12d719b01 am: b6aae754bf
am: 1fcd364365

Change-Id: If555e8845c9a24460a943f29e013f683ef068927

7 years agoMerge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer." am...
Elliott Hughes [Mon, 20 Mar 2017 20:11:49 +0000 (20:11 +0000)]
Merge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer." am: 8bd97b007e
am: 7a228993be

Change-Id: I130a29e213e4f0848c9e175a177ed0a93bb36c1c

7 years agoMerge "Only rename sendfile to sendfile64 if we're L or newer." am: f12d719b01
Elliott Hughes [Mon, 20 Mar 2017 20:11:39 +0000 (20:11 +0000)]
Merge "Only rename sendfile to sendfile64 if we're L or newer." am: f12d719b01
am: b6aae754bf

Change-Id: I8282d67edad0e57e6b36adac46b6656b8400c639

7 years agoMerge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer."
Elliott Hughes [Mon, 20 Mar 2017 20:08:20 +0000 (20:08 +0000)]
Merge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer."
am: 8bd97b007e

Change-Id: I64aadf8f81717e78c2d96d6fe13ae034a5955557

7 years agoMerge "Only rename sendfile to sendfile64 if we're L or newer."
Elliott Hughes [Mon, 20 Mar 2017 20:08:09 +0000 (20:08 +0000)]
Merge "Only rename sendfile to sendfile64 if we're L or newer."
am: f12d719b01

Change-Id: Id7bab533a4be040f5c3eac10a5df32e9b6820cfc

7 years agoMerge "Expand whitelist" am: b43a222ee7 am: 1551b7a9b2
Paul Lawrence [Mon, 20 Mar 2017 20:04:37 +0000 (20:04 +0000)]
Merge "Expand whitelist" am: b43a222ee7 am: 1551b7a9b2
am: 002e3daef9

Change-Id: I518cc83bfec8f33cbfd067cc749cbf54c62c974f

7 years agoMerge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer."
Elliott Hughes [Mon, 20 Mar 2017 20:01:16 +0000 (20:01 +0000)]
Merge "Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer."

7 years agoMerge "Only rename sendfile to sendfile64 if we're L or newer."
Elliott Hughes [Mon, 20 Mar 2017 20:01:06 +0000 (20:01 +0000)]
Merge "Only rename sendfile to sendfile64 if we're L or newer."

7 years agoMerge "Expand whitelist" am: b43a222ee7
Paul Lawrence [Mon, 20 Mar 2017 20:00:37 +0000 (20:00 +0000)]
Merge "Expand whitelist" am: b43a222ee7
am: 1551b7a9b2

Change-Id: I0edc4e1c1dcc90f80839214ac0b13f373c5e71da

7 years agoMerge "Expand whitelist"
Paul Lawrence [Mon, 20 Mar 2017 19:57:36 +0000 (19:57 +0000)]
Merge "Expand whitelist"
am: b43a222ee7

Change-Id: If0754c6fed7fc9d2704c6761e46643abb502a5ca

7 years agoOnly rename mmap to mmap64 if we're L or newer.
Dan Albert [Fri, 17 Mar 2017 18:47:09 +0000 (11:47 -0700)]
Only rename mmap to mmap64 if we're L or newer.

Without this, setting `__USE_FILE_OFFSET64` and targeting pre-L made
mmap entirely unavailable.

Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/332
Change-Id: I9f61c44f8d9ab5c7cae845c9f89a7d889c6df365

7 years agoMerge "Expand whitelist"
Treehugger Robot [Mon, 20 Mar 2017 19:52:12 +0000 (19:52 +0000)]
Merge "Expand whitelist"

7 years agoAdd end() method to bionic's ScopedTrace class
Dimitry Ivanov [Mon, 20 Mar 2017 17:54:52 +0000 (10:54 -0700)]
Add end() method to bionic's ScopedTrace class

Bug: http://b/27195126
Test: make
Change-Id: I8243629200606ca87b11cbd479ca093add42eb56

7 years agoExpand whitelist
Paul Lawrence [Mon, 20 Mar 2017 18:02:11 +0000 (11:02 -0700)]
Expand whitelist

Bug: 36435222
Test: App starts, plays game
Change-Id: If21f59e4d218be64fdac46115d35dc1ffb6fe771

7 years agobionic: arm64: generic: strcmp: align to 64B cache line
Yuanyuan Zhong [Wed, 7 Sep 2016 21:58:40 +0000 (16:58 -0500)]
bionic: arm64: generic: strcmp: align to 64B cache line

Align strcmp to 64B. This will ensure the preformance critical
loop is within one 64B cache line.

Change-Id: I88eef2f12b2a6442cacec9cdbdffbf17293e7d32
Signed-off-by: Yuanyuan Zhong <zyy@motorola.com>
Reviewed-on: https://gerrit.mot.com/902536
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>

7 years agoOnly rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer.
Elliott Hughes [Sat, 18 Mar 2017 01:56:08 +0000 (18:56 -0700)]
Only rename fgetpos/fsetpos/fseeko/ftello/funopen if we're N or newer.

Without this, setting __FILE_OFFSET_BITS to 64 and targeting pre-L
made these functions entirely unavailable.

Bug: https://github.com/android-ndk/ndk/issues/333
Test: builds
Change-Id: Id17ae3c070f8b2650a9bc9aa2aa2e92c5fcdf4ad

7 years agoOnly rename sendfile to sendfile64 if we're L or newer.
Elliott Hughes [Sat, 18 Mar 2017 01:50:12 +0000 (18:50 -0700)]
Only rename sendfile to sendfile64 if we're L or newer.

Without this, setting __FILE_OFFSET_BITS to 64 and targeting pre-L
made sendfile entirely unavailable.

Bug: https://github.com/android-ndk/ndk/issues/333
Test: builds
Change-Id: I82d326ff244473dd5443632ff6c19d726d5e29ee

7 years agoMerge "Add libc optimizations to bionic for MIPS" am: 9cb82a2c6b am: 2052e20fec
Prashant Patil [Fri, 17 Mar 2017 15:39:18 +0000 (15:39 +0000)]
Merge "Add libc optimizations to bionic for MIPS" am: 9cb82a2c6b am: 2052e20fec
am: 4a1b70e85d

Change-Id: Ic0444e783add8ec2d835303a83635523096681bd

7 years agoMerge "Add libc optimizations to bionic for MIPS" am: 9cb82a2c6b
Prashant Patil [Fri, 17 Mar 2017 15:36:18 +0000 (15:36 +0000)]
Merge "Add libc optimizations to bionic for MIPS" am: 9cb82a2c6b
am: 2052e20fec

Change-Id: I99ba763cf73ac3a186ca55e693214c29b92e019c

7 years agoMerge "Add libc optimizations to bionic for MIPS"
Prashant Patil [Fri, 17 Mar 2017 15:32:48 +0000 (15:32 +0000)]
Merge "Add libc optimizations to bionic for MIPS"
am: 9cb82a2c6b

Change-Id: I5b0417f2053ba28fb9cd104c8f51ef9b206bf194

7 years agoMerge "Add libc optimizations to bionic for MIPS"
Treehugger Robot [Fri, 17 Mar 2017 15:29:13 +0000 (15:29 +0000)]
Merge "Add libc optimizations to bionic for MIPS"