OSDN Git Service

android-x86/bionic.git
8 years agoLimit greylisting to apps targeting sdk version<=23
Dimitry Ivanov [Mon, 11 Jan 2016 18:20:15 +0000 (10:20 -0800)]
Limit greylisting to apps targeting sdk version<=23

Bug: http://b/26394120
Change-Id: Ida7afd944cebca7170591e4181a9d5941ea2e422

8 years agoMerge "Defend against -fstack-protector in libc startup." am: 195b85a80f
Elliott Hughes [Fri, 8 Jan 2016 19:03:18 +0000 (19:03 +0000)]
Merge "Defend against -fstack-protector in libc startup." am: 195b85a80f
am: 6e499bc37d

* commit '6e499bc37d9caa8c914a8f83345bc2b2d8ae8132':
  Defend against -fstack-protector in libc startup.

8 years agoMerge "Defend against -fstack-protector in libc startup."
Elliott Hughes [Fri, 8 Jan 2016 18:57:56 +0000 (18:57 +0000)]
Merge "Defend against -fstack-protector in libc startup."
am: 195b85a80f

* commit '195b85a80faadcb4180f7f8192fc8ae162165892':
  Defend against -fstack-protector in libc startup.

8 years agoMerge "Move __aeabi* symbols to LIBC_N version" am: 2afe5af77f
Dimitry Ivanov [Fri, 8 Jan 2016 18:55:50 +0000 (18:55 +0000)]
Merge "Move __aeabi* symbols to LIBC_N version" am: 2afe5af77f
am: 8f52313afe

* commit '8f52313afe1fefd9f8d6b5f19c37dfd4063be289':
  Move __aeabi* symbols to LIBC_N version

8 years agoMerge "Defend against -fstack-protector in libc startup."
Elliott Hughes [Fri, 8 Jan 2016 18:54:01 +0000 (18:54 +0000)]
Merge "Defend against -fstack-protector in libc startup."

8 years agoMerge "Move __aeabi* symbols to LIBC_N version"
Dimitry Ivanov [Fri, 8 Jan 2016 18:53:48 +0000 (18:53 +0000)]
Merge "Move __aeabi* symbols to LIBC_N version"
am: 2afe5af77f

* commit '2afe5af77ff01e2ecf2c21e39bdb9b029c7e2cf4':
  Move __aeabi* symbols to LIBC_N version

8 years agoMerge "Move __aeabi* symbols to LIBC_N version"
Dimitry Ivanov [Fri, 8 Jan 2016 18:50:13 +0000 (18:50 +0000)]
Merge "Move __aeabi* symbols to LIBC_N version"

8 years agoMove __aeabi* symbols to LIBC_N version
Dimitry Ivanov [Fri, 8 Jan 2016 18:06:44 +0000 (10:06 -0800)]
Move __aeabi* symbols to LIBC_N version

We had these symbols incorrectly versioned as LIBC_PRIVATE
in M release. This change moves __aeabi* symbols from LIBC
to LIBC_N and adds __gnu_Unwind_Find_exidx to the list

Bug: https://github.com/android-ndk/ndk/issues/1
Change-Id: I0b353012adeacb00ae29ea10c63b9d1cf1cadbe7

8 years agoRefine greylist to exclude transitively DT_NEEDED libraries
Dimitry Ivanov [Fri, 8 Jan 2016 02:43:20 +0000 (18:43 -0800)]
Refine greylist to exclude transitively DT_NEEDED libraries

Bug: http://b/26394120
Change-Id: I6d63ed3ea11811c08846c19d7ca74e80e3848f3e

8 years agoGreylist some of internal native libraries
Dimitry Ivanov [Thu, 7 Jan 2016 19:16:43 +0000 (11:16 -0800)]
Greylist some of internal native libraries

This change is workaround for the http://b/26394120
greylisting the libraries used by some popular apps
to keep them working on dogfood builds. It will
be removed before the release.

Bug: http://b/26394120
Change-Id: I4e588b81da59f6f667aa9d2ef7e715d6607b9a36

8 years agoDefend against -fstack-protector in libc startup.
Elliott Hughes [Thu, 7 Jan 2016 03:51:43 +0000 (19:51 -0800)]
Defend against -fstack-protector in libc startup.

Exactly which functions get a stack protector is up to the compiler, so
let's separate the code that sets up the environment stack protection
requires and explicitly build it with -fno-stack-protector.

Bug: http://b/26276517
Change-Id: I8719e23ead1f1e81715c32c1335da868f68369b5

8 years agoMerge "Kill BOARD_MALLOC_ALIGNMENT." am: 988e71b2b2
Josh Gao [Wed, 6 Jan 2016 22:56:09 +0000 (22:56 +0000)]
Merge "Kill BOARD_MALLOC_ALIGNMENT." am: 988e71b2b2
am: b0f7fc83aa

* commit 'b0f7fc83aa649b5287a884ccf5b74fd7dcc24096':
  Kill BOARD_MALLOC_ALIGNMENT.

8 years agoMerge "Kill BOARD_MALLOC_ALIGNMENT."
Josh Gao [Wed, 6 Jan 2016 22:54:11 +0000 (22:54 +0000)]
Merge "Kill BOARD_MALLOC_ALIGNMENT."
am: 988e71b2b2

* commit '988e71b2b22117b0f7e994cbe764066630494125':
  Kill BOARD_MALLOC_ALIGNMENT.

8 years agoMerge "Kill BOARD_MALLOC_ALIGNMENT."
Josh Gao [Wed, 6 Jan 2016 22:49:30 +0000 (22:49 +0000)]
Merge "Kill BOARD_MALLOC_ALIGNMENT."

8 years agoKill BOARD_MALLOC_ALIGNMENT.
Josh Gao [Wed, 6 Jan 2016 22:06:55 +0000 (14:06 -0800)]
Kill BOARD_MALLOC_ALIGNMENT.

Bug: http://b/26403338
Change-Id: Iba4006277fdb7c7ca60542c517634ae86c847b4f

8 years agoMerge "Replace MALLOC_IMPL with MALLOC_SVELTE." am: e1f8c66d0b
Josh Gao [Wed, 6 Jan 2016 20:33:31 +0000 (20:33 +0000)]
Merge "Replace MALLOC_IMPL with MALLOC_SVELTE." am: e1f8c66d0b
am: 8e3cc4179b

* commit '8e3cc4179bc1130cdcb940466602a89ceb9c0327':
  Replace MALLOC_IMPL with MALLOC_SVELTE.

8 years agoMerge "Replace MALLOC_IMPL with MALLOC_SVELTE."
Josh Gao [Wed, 6 Jan 2016 20:30:34 +0000 (20:30 +0000)]
Merge "Replace MALLOC_IMPL with MALLOC_SVELTE."
am: e1f8c66d0b

* commit 'e1f8c66d0b5806b4080d120723de2deec561a3ef':
  Replace MALLOC_IMPL with MALLOC_SVELTE.

8 years agoMerge "Temporary hack to avoid stack protector crashes." am: 32388ba4dc
Elliott Hughes [Wed, 6 Jan 2016 20:27:58 +0000 (20:27 +0000)]
Merge "Temporary hack to avoid stack protector crashes." am: 32388ba4dc
am: 316cc664ac  -s ours

* commit '316cc664acf54a9d76e9bb61f910e56de715b008':
  Temporary hack to avoid stack protector crashes.

8 years agoMerge "Replace MALLOC_IMPL with MALLOC_SVELTE."
Josh Gao [Wed, 6 Jan 2016 20:08:13 +0000 (20:08 +0000)]
Merge "Replace MALLOC_IMPL with MALLOC_SVELTE."

8 years agoMerge "Temporary hack to avoid stack protector crashes."
Elliott Hughes [Wed, 6 Jan 2016 19:57:04 +0000 (19:57 +0000)]
Merge "Temporary hack to avoid stack protector crashes."
am: 32388ba4dc

* commit '32388ba4dc765619e89dac5b71a68372019da58e':
  Temporary hack to avoid stack protector crashes.

8 years agoMerge "Temporary hack to avoid stack protector crashes."
Elliott Hughes [Wed, 6 Jan 2016 19:52:43 +0000 (19:52 +0000)]
Merge "Temporary hack to avoid stack protector crashes."

8 years agoMerge "Revert "system_properties.cpp: special case ro.* properties"" am: 9353089262
Tom Cherry [Wed, 6 Jan 2016 19:22:07 +0000 (19:22 +0000)]
Merge "Revert "system_properties.cpp: special case ro.* properties"" am: 9353089262
am: f16931bcc0

* commit 'f16931bcc080e664c4bd5f8605a020dc96729485':
  Revert "system_properties.cpp: special case ro.* properties"

8 years agoMerge "Revert "system_properties.cpp: special case ro.* properties""
Tom Cherry [Wed, 6 Jan 2016 19:19:44 +0000 (19:19 +0000)]
Merge "Revert "system_properties.cpp: special case ro.* properties""
am: 9353089262

* commit '9353089262b21f88a2dca6516f03a4dd39a5dbd1':
  Revert "system_properties.cpp: special case ro.* properties"

8 years agoMerge "Revert "system_properties.cpp: special case ro.* properties""
Tom Cherry [Wed, 6 Jan 2016 19:16:31 +0000 (19:16 +0000)]
Merge "Revert "system_properties.cpp: special case ro.* properties""

8 years agoRevert "system_properties.cpp: special case ro.* properties"
Tom Cherry [Wed, 6 Jan 2016 18:52:52 +0000 (18:52 +0000)]
Revert "system_properties.cpp: special case ro.* properties"

This reverts commit c5fd81ab2524a06be907d9c5234e79346bbbbd7c.

Bug: 26416032

Change-Id: Id2d6761fdf55efa28c0b08b597daaa5cd381d758

8 years agoTemporary hack to avoid stack protector crashes.
Elliott Hughes [Wed, 6 Jan 2016 19:12:06 +0000 (11:12 -0800)]
Temporary hack to avoid stack protector crashes.

It'll take me a while to refactor things cleanly, but if we just want
something that boots for testing...

Bug: http://b/26276517
Change-Id: I24729d3dc546e36e0eff383f0d1d05c3aa1f2e0b

8 years agoMerge "Remove mktime_tz." am: 1464f6d8d9
Elliott Hughes [Wed, 6 Jan 2016 19:10:37 +0000 (19:10 +0000)]
Merge "Remove mktime_tz." am: 1464f6d8d9
am: 896fc0648e

* commit '896fc0648eabe52085c46397e735d4363686d8a5':
  Remove mktime_tz.

8 years agoMerge "Remove mktime_tz."
Elliott Hughes [Wed, 6 Jan 2016 19:06:10 +0000 (19:06 +0000)]
Merge "Remove mktime_tz."
am: 1464f6d8d9

* commit '1464f6d8d9d560ed57bd878b822b2611c821b8bd':
  Remove mktime_tz.

8 years agoMerge "Remove mktime_tz."
Elliott Hughes [Wed, 6 Jan 2016 19:02:19 +0000 (19:02 +0000)]
Merge "Remove mktime_tz."

8 years agoMerge "Temporary move __udivdi3 back to LIBC for x86" am: 4664c14fa4
Dimitry Ivanov [Wed, 6 Jan 2016 18:42:18 +0000 (18:42 +0000)]
Merge "Temporary move __udivdi3 back to LIBC for x86" am: 4664c14fa4
am: ac414ee303

* commit 'ac414ee3039d10a70154a99143688bf9dc03ef00':
  Temporary move __udivdi3 back to LIBC for x86

8 years agoMerge "Temporary move __udivdi3 back to LIBC for x86"
Dimitry Ivanov [Wed, 6 Jan 2016 18:40:08 +0000 (18:40 +0000)]
Merge "Temporary move __udivdi3 back to LIBC for x86"
am: 4664c14fa4

* commit '4664c14fa44746ddf41524999ad96d221409c32c':
  Temporary move __udivdi3 back to LIBC for x86

8 years agoMerge "Temporary move __udivdi3 back to LIBC for x86"
Dimitry Ivanov [Wed, 6 Jan 2016 18:37:19 +0000 (18:37 +0000)]
Merge "Temporary move __udivdi3 back to LIBC for x86"

8 years agoTemporary move __udivdi3 back to LIBC for x86
Dimitry Ivanov [Tue, 5 Jan 2016 19:18:42 +0000 (11:18 -0800)]
Temporary move __udivdi3 back to LIBC for x86

Bug: http://b/26289334
Bug: http://b/26413821
Change-Id: Ifb0eb6f16aca54cb4a9184a6394992ee57dd3408

8 years agoRemove mktime_tz.
Elliott Hughes [Wed, 6 Jan 2016 17:15:02 +0000 (09:15 -0800)]
Remove mktime_tz.

Bug: http://b/15765976
Change-Id: Ifc8cd19ae621e611d66173ae927ef9a0445965c1

8 years agoMerge "Fix gcc+arm builds" am: 74d7aa1c34
Dimitry Ivanov [Wed, 6 Jan 2016 04:49:09 +0000 (04:49 +0000)]
Merge "Fix gcc+arm builds" am: 74d7aa1c34
am: b83976c897

* commit 'b83976c89788d2a74cd1359d75640da5e010e42b':
  Fix gcc+arm builds

8 years agoMerge "Fix gcc+arm builds"
Dimitry Ivanov [Wed, 6 Jan 2016 04:47:16 +0000 (04:47 +0000)]
Merge "Fix gcc+arm builds"
am: 74d7aa1c34

* commit '74d7aa1c341055474e03d2cc9af0aea01bfb5758':
  Fix gcc+arm builds

8 years agoMerge "Fix gcc+arm builds"
Dimitry Ivanov [Wed, 6 Jan 2016 04:43:26 +0000 (04:43 +0000)]
Merge "Fix gcc+arm builds"

8 years agoFix gcc+arm builds
Dimitry Ivanov [Wed, 6 Jan 2016 04:38:32 +0000 (20:38 -0800)]
Fix gcc+arm builds

gcc requires unique names of symbols for .symver

Bug: http://b/26391427
Change-Id: I6392e34a45a37245fd4e53fb54243be73f443313

8 years agoMerge "Deprecate bzero" am: 52fd4ca0a0
Dimitry Ivanov [Wed, 6 Jan 2016 02:39:29 +0000 (02:39 +0000)]
Merge "Deprecate bzero" am: 52fd4ca0a0
am: 632b99ccfb

* commit '632b99ccfb0e1b7edfdbd16fc7cbd9d260fa0e2c':
  Deprecate bzero

8 years agoMerge "Deprecate bzero"
Dimitry Ivanov [Wed, 6 Jan 2016 02:37:41 +0000 (02:37 +0000)]
Merge "Deprecate bzero"
am: 52fd4ca0a0

* commit '52fd4ca0a0367109500a31a63c5d392372f8f2ad':
  Deprecate bzero

8 years agoMerge "Export public __aeabi* symbols as LIBC_PRIVATE" am: 609156e266
Dimitry Ivanov [Wed, 6 Jan 2016 02:33:55 +0000 (02:33 +0000)]
Merge "Export public __aeabi* symbols as LIBC_PRIVATE" am: 609156e266
am: 46ae417324

* commit '46ae417324a2ffe393fd704e25a8651269db457d':
  Export public __aeabi* symbols as LIBC_PRIVATE

8 years agoMerge "Deprecate bzero"
Dimitry Ivanov [Wed, 6 Jan 2016 02:33:41 +0000 (02:33 +0000)]
Merge "Deprecate bzero"

8 years agoMerge "Export public __aeabi* symbols as LIBC_PRIVATE"
Dimitry Ivanov [Wed, 6 Jan 2016 02:31:30 +0000 (02:31 +0000)]
Merge "Export public __aeabi* symbols as LIBC_PRIVATE"
am: 609156e266

* commit '609156e266726d89ec9084db77fd3aa68d50c622':
  Export public __aeabi* symbols as LIBC_PRIVATE

8 years agoMerge "Export public __aeabi* symbols as LIBC_PRIVATE"
Dimitry Ivanov [Wed, 6 Jan 2016 02:19:27 +0000 (02:19 +0000)]
Merge "Export public __aeabi* symbols as LIBC_PRIVATE"

8 years agoExport public __aeabi* symbols as LIBC_PRIVATE
Dimitry Ivanov [Wed, 6 Jan 2016 00:38:43 +0000 (16:38 -0800)]
Export public __aeabi* symbols as LIBC_PRIVATE

But keep LIBC as default version for them

Bug: http://b/26391427
Bug: http://b/26410625
Change-Id: I819e354bbba482d1f983d9be15c23fcce10e5dd9

8 years agoMerge "Fix a broken link in a comment." am: 031dfe198b
Elliott Hughes [Wed, 6 Jan 2016 01:32:44 +0000 (01:32 +0000)]
Merge "Fix a broken link in a comment." am: 031dfe198b
am: 38687177b7

* commit '38687177b7e55a82e2d19584b4e2fd051f968838':
  Fix a broken link in a comment.

8 years agoMerge "Fix a broken link in a comment."
Elliott Hughes [Wed, 6 Jan 2016 01:31:00 +0000 (01:31 +0000)]
Merge "Fix a broken link in a comment."
am: 031dfe198b

* commit '031dfe198b53753bc852961e915fedb78c5f42df':
  Fix a broken link in a comment.

8 years agoMerge "Tidy up KernelArgumentBlock::getauxval." am: 7d27b68ef4
Elliott Hughes [Wed, 6 Jan 2016 01:31:00 +0000 (01:31 +0000)]
Merge "Tidy up KernelArgumentBlock::getauxval." am: 7d27b68ef4
am: 5601b43fe6

* commit '5601b43fe6cb611f873bbc7cd227af2767b45edc':
  Tidy up KernelArgumentBlock::getauxval.

8 years agoMerge "Tidy up KernelArgumentBlock::getauxval."
Elliott Hughes [Wed, 6 Jan 2016 01:29:17 +0000 (01:29 +0000)]
Merge "Tidy up KernelArgumentBlock::getauxval."
am: 7d27b68ef4

* commit '7d27b68ef4abf279700ff6a4eb9584b6c969a00d':
  Tidy up KernelArgumentBlock::getauxval.

8 years agoMerge "Fix a broken link in a comment."
Elliott Hughes [Wed, 6 Jan 2016 01:27:09 +0000 (01:27 +0000)]
Merge "Fix a broken link in a comment."

8 years agoMerge "Tidy up KernelArgumentBlock::getauxval."
Elliott Hughes [Wed, 6 Jan 2016 01:24:37 +0000 (01:24 +0000)]
Merge "Tidy up KernelArgumentBlock::getauxval."

8 years agoDeprecate bzero
Dimitry Ivanov [Wed, 6 Jan 2016 01:02:56 +0000 (17:02 -0800)]
Deprecate bzero

bzero is hashdefined to memset in strings.h and it
was removed from POSIX 2008.

Bug: http://b/26407170
Change-Id: Ia6d54f0e314dc7f5f3fbad0e9b00344f49f77d43

8 years agoMerge "system_properties.cpp: special case ro.* properties" am: ffa54cd7ba
Nick Kralevich [Wed, 6 Jan 2016 00:51:07 +0000 (00:51 +0000)]
Merge "system_properties.cpp: special case ro.* properties" am: ffa54cd7ba
am: 8dc77ff0cb

* commit '8dc77ff0cbf4e02c3b1262b4bec01d2749cb5049':
  system_properties.cpp: special case ro.* properties

8 years agoMerge "system_properties.cpp: special case ro.* properties"
Nick Kralevich [Wed, 6 Jan 2016 00:49:14 +0000 (00:49 +0000)]
Merge "system_properties.cpp: special case ro.* properties"
am: ffa54cd7ba

* commit 'ffa54cd7ba3860b00f42aa8410a94a17f5856bea':
  system_properties.cpp: special case ro.* properties

8 years agoMerge "system_properties.cpp: special case ro.* properties"
Nick Kralevich [Wed, 6 Jan 2016 00:43:48 +0000 (00:43 +0000)]
Merge "system_properties.cpp: special case ro.* properties"

8 years agoFix a broken link in a comment.
Elliott Hughes [Wed, 6 Jan 2016 00:33:33 +0000 (16:33 -0800)]
Fix a broken link in a comment.

Bug: https://code.google.com/p/android/issues/detail?id=197784
Change-Id: I2f9e5bc2dd2b8a6992c7c55bc856e4a323c7c8a8

8 years agosystem_properties.cpp: special case ro.* properties
Nick Kralevich [Wed, 6 Jan 2016 00:19:24 +0000 (16:19 -0800)]
system_properties.cpp: special case ro.* properties

Currently, reads of ro.* properties are treated differently than
writes of ro.* properties. When writing an ro.* property, we ignore
the "ro." portion of the property, and base the security decision
on the label of the remaining portion.

See https://android.googlesource.com/platform/system/core/+/e7a9e52740c952c623f7842ffa1d09b58b45e552/init/property_service.cpp
line 120-126

For example, for writing, the label associated with
"ro.build.fingerprint" comes from the /property_contexts file
entry:

  # ro.build.fingerprint is either set in /system/build.prop, or is
  # set at runtime by system_server.
  build.fingerprint       u:object_r:fingerprint_prop:s0

However, we fail to follow this same special case when sorting
properties into files. Instead, ro.build.fingerprint is assigned
u:object_r:default_prop:s0 instead of u:object_r:fingerprint_prop:s0

Ignore the "ro." portion when sorting properties into files.
This will make reads and writes of properties use the same label.

Bug: 21852512
Change-Id: Ie88ffc6b78b31fc8ddf370ae27c218546fb25a83

8 years agoTidy up KernelArgumentBlock::getauxval.
Elliott Hughes [Wed, 6 Jan 2016 00:29:33 +0000 (16:29 -0800)]
Tidy up KernelArgumentBlock::getauxval.

Correct the comment, and remove the unused functionality. getauxval(3) does
now set errno to let you know it failed to find anything, but since none of
this function's callers care anyway it seems safer to leave errno untouched
until we actually have a demonstrated need for it.

Bug: https://code.google.com/p/android/issues/detail?id=198111
Change-Id: I232a42dc5a02c8faab94c7d69bef610408276c23

8 years agoMerge "libc: Update Android.bp with recent changes" am: 507d6f2a51
Dan Willemsen [Tue, 5 Jan 2016 23:21:02 +0000 (23:21 +0000)]
Merge "libc: Update Android.bp with recent changes" am: 507d6f2a51
am: 299d30caee

* commit '299d30caee749c2755696afffeee1ccb7cccb909':
  libc: Update Android.bp with recent changes

8 years agoMerge "libc: Update Android.bp with recent changes"
Dan Willemsen [Tue, 5 Jan 2016 23:19:12 +0000 (23:19 +0000)]
Merge "libc: Update Android.bp with recent changes"
am: 507d6f2a51

* commit '507d6f2a51f907f46b5d4bfe32b5a826ad7dd25f':
  libc: Update Android.bp with recent changes

8 years agoMerge "libc: Update Android.bp with recent changes"
Dan Willemsen [Tue, 5 Jan 2016 23:14:43 +0000 (23:14 +0000)]
Merge "libc: Update Android.bp with recent changes"

8 years agolibc: Update Android.bp with recent changes
Dan Willemsen [Tue, 5 Jan 2016 22:32:06 +0000 (14:32 -0800)]
libc: Update Android.bp with recent changes

Change-Id: I54047df9db95169452bbac6d52c75161d2f3bb64

8 years agoMerge "Move __aeabi_ which are not in libgcc.a to LIBC" am: e647db7485
Dimitry Ivanov [Tue, 5 Jan 2016 22:12:42 +0000 (22:12 +0000)]
Merge "Move __aeabi_ which are not in libgcc.a to LIBC" am: e647db7485
am: be98a0e0b0

* commit 'be98a0e0b037cd8e4811761920d764e6540d1536':
  Move __aeabi_ which are not in libgcc.a to LIBC

8 years agoMerge "Move __aeabi_ which are not in libgcc.a to LIBC"
Dimitry Ivanov [Tue, 5 Jan 2016 22:10:22 +0000 (22:10 +0000)]
Merge "Move __aeabi_ which are not in libgcc.a to LIBC"
am: e647db7485

* commit 'e647db7485d79135adae87be02ca1e78e5f46206':
  Move __aeabi_ which are not in libgcc.a to LIBC

8 years agoMerge "Move __aeabi_ which are not in libgcc.a to LIBC"
Dimitry Ivanov [Tue, 5 Jan 2016 22:07:02 +0000 (22:07 +0000)]
Merge "Move __aeabi_ which are not in libgcc.a to LIBC"

8 years agoMove __aeabi_ which are not in libgcc.a to LIBC
Dimitry Ivanov [Tue, 5 Jan 2016 21:48:51 +0000 (13:48 -0800)]
Move __aeabi_ which are not in libgcc.a to LIBC

The following arm symbols should be exported by libc.so:
    __aeabi_atexit; # arm
    __aeabi_memclr; # arm
    __aeabi_memclr4; # arm
    __aeabi_memclr8; # arm
    __aeabi_memcpy; # arm
    __aeabi_memcpy4; # arm
    __aeabi_memcpy8; # arm
    __aeabi_memmove; # arm
    __aeabi_memmove4; # arm
    __aeabi_memmove8; # arm
    __aeabi_memset; # arm
    __aeabi_memset4; # arm
    __aeabi_memset8; # arm

Bug: https://github.com/android-ndk/ndk/issues/1
Change-Id: I542d1ad023b8aece5dc05a28a9ca549cb51455b4

8 years agoReplace MALLOC_IMPL with MALLOC_SVELTE.
Josh Gao [Tue, 5 Jan 2016 19:45:45 +0000 (11:45 -0800)]
Replace MALLOC_IMPL with MALLOC_SVELTE.

Bug: http://b/26390299
Change-Id: I665f64bff4d598607e1eb7c4078819fe1d400feb

8 years agoMerge "Clarify which linker we are." am: c6c3b47be2
Elliott Hughes [Tue, 5 Jan 2016 19:45:11 +0000 (19:45 +0000)]
Merge "Clarify which linker we are." am: c6c3b47be2
am: d9f3efda16

* commit 'd9f3efda1688b1a0f9f00a80049e50b852001245':
  Clarify which linker we are.

8 years agoMerge "Clarify which linker we are."
Elliott Hughes [Tue, 5 Jan 2016 19:43:15 +0000 (19:43 +0000)]
Merge "Clarify which linker we are."
am: c6c3b47be2

* commit 'c6c3b47be20be9e81725f9bd07d81a9ed752acfc':
  Clarify which linker we are.

8 years agoMerge "Clarify which linker we are."
Elliott Hughes [Tue, 5 Jan 2016 19:38:47 +0000 (19:38 +0000)]
Merge "Clarify which linker we are."

8 years agoClarify which linker we are.
Elliott Hughes [Tue, 5 Jan 2016 01:45:36 +0000 (17:45 -0800)]
Clarify which linker we are.

Also, we're not a debugger.

Also include LD_LIBRARY_PATH and LD_PRELOAD because they would have helped
diagnose a recent issue.

Change-Id: I7237a7236b7140ab49483c02efa705317d07bd3f

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid" am: ff164ef661
Dimitry Ivanov [Tue, 5 Jan 2016 08:27:45 +0000 (08:27 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid" am: ff164ef661
am: d3e42336a6

* commit 'd3e42336a6a3c7738f83245d1a4cce0c0bdb0bbe':
  Temporary apply LIBC version to __pthread_gettid

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Tue, 5 Jan 2016 08:25:59 +0000 (08:25 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid"
am: ff164ef661

* commit 'ff164ef6615ff8bb3395fa05b5651d6dd1f157ef':
  Temporary apply LIBC version to __pthread_gettid

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Tue, 5 Jan 2016 08:22:24 +0000 (08:22 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid"

8 years agoTemporary apply LIBC version to __pthread_gettid
Dimitry Ivanov [Tue, 5 Jan 2016 06:36:18 +0000 (22:36 -0800)]
Temporary apply LIBC version to __pthread_gettid

This is workaround for http://b/26391427

Bug: http://b/26391427
Change-Id: Ibf5c611cf4c04dfa595644225e6d9503089a18da

8 years agoMerge "Revert "Temporary apply LIBC version to __pthread_gettid"" am: c1113a3fc7
Dimitry Ivanov [Tue, 5 Jan 2016 08:10:02 +0000 (08:10 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid"" am: c1113a3fc7
am: 331006a759

* commit '331006a75959036dd593f9b839d183dbeb7a2936':
  Revert "Temporary apply LIBC version to __pthread_gettid"

8 years agoMerge "Revert "Temporary apply LIBC version to __pthread_gettid""
Dimitry Ivanov [Tue, 5 Jan 2016 08:08:15 +0000 (08:08 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid""
am: c1113a3fc7

* commit 'c1113a3fc7f32fb86937f7ab73afe0a481688788':
  Revert "Temporary apply LIBC version to __pthread_gettid"

8 years agoMerge "Revert "Temporary apply LIBC version to __pthread_gettid""
Dimitry Ivanov [Tue, 5 Jan 2016 08:04:17 +0000 (08:04 +0000)]
Merge "Revert "Temporary apply LIBC version to __pthread_gettid""

8 years agoRevert "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Tue, 5 Jan 2016 08:03:56 +0000 (08:03 +0000)]
Revert "Temporary apply LIBC version to __pthread_gettid"

This reverts commit eb90e91cb5872f6aac7008b0c83e103d396be196.

Change-Id: I63450087b6d3c23218b77d5eee37965f254a82d6

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid" am: 56ecf28014
Dimitry Ivanov [Tue, 5 Jan 2016 07:07:25 +0000 (07:07 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid" am: 56ecf28014
am: 1ace273152

* commit '1ace2731523e91beb132ac9e6bcaa431e2bf9829':
  Temporary apply LIBC version to __pthread_gettid

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Tue, 5 Jan 2016 07:05:39 +0000 (07:05 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid"
am: 56ecf28014

* commit '56ecf28014ab42934877c111e29b4ca3f48d25bd':
  Temporary apply LIBC version to __pthread_gettid

8 years agoMerge "Temporary apply LIBC version to __pthread_gettid"
Dimitry Ivanov [Tue, 5 Jan 2016 07:02:15 +0000 (07:02 +0000)]
Merge "Temporary apply LIBC version to __pthread_gettid"

8 years agoTemporary apply LIBC version to __pthread_gettid
Dimitry Ivanov [Tue, 5 Jan 2016 06:36:18 +0000 (22:36 -0800)]
Temporary apply LIBC version to __pthread_gettid

This is workaround for http://b/26391427

Bug: http://b/26391427
Change-Id: I4ccc56e8b1bd2597f267df9706a33bb635abcfcb

8 years agoMerge changes I4fc241e6,Idca71396 am: 04673ee997
Dimitry Ivanov [Mon, 4 Jan 2016 22:58:59 +0000 (22:58 +0000)]
Merge changes I4fc241e6,Idca71396 am: 04673ee997
am: cf5e570519

* commit 'cf5e570519d537a3d002d605ffb72f6b1a6216cf':
  Move __system_property* to LIBC_PRIVATE for lp64 libc
  Move ndk-cruft symbols to LIBC_PRIVATE

8 years agoMerge changes I4fc241e6,Idca71396
Dimitry Ivanov [Mon, 4 Jan 2016 22:56:28 +0000 (22:56 +0000)]
Merge changes I4fc241e6,Idca71396
am: 04673ee997

* commit '04673ee997996e970d58c2ab83041ca7f01ebe5c':
  Move __system_property* to LIBC_PRIVATE for lp64 libc
  Move ndk-cruft symbols to LIBC_PRIVATE

8 years agoMerge changes I4fc241e6,Idca71396
Dimitry Ivanov [Mon, 4 Jan 2016 22:52:21 +0000 (22:52 +0000)]
Merge changes I4fc241e6,Idca71396

* changes:
  Move __system_property* to LIBC_PRIVATE for lp64 libc
  Move ndk-cruft symbols to LIBC_PRIVATE

8 years agoMove __system_property* to LIBC_PRIVATE for lp64 libc
Dimitry Ivanov [Mon, 4 Jan 2016 22:39:42 +0000 (14:39 -0800)]
Move __system_property* to LIBC_PRIVATE for lp64 libc

Bug: http://b/26367254
Change-Id: I4fc241e69444a4b5641dfdf09576fe3ce5c1169e

8 years agoMove ndk-cruft symbols to LIBC_PRIVATE
Dimitry Ivanov [Mon, 4 Jan 2016 21:46:42 +0000 (13:46 -0800)]
Move ndk-cruft symbols to LIBC_PRIVATE

Bug: http://b/26385283
Change-Id: Idca71396f9de4141eefc4e1851ba92ebff1ac792

8 years agoMerge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""" am: e13434f9da
Elliott Hughes [Mon, 4 Jan 2016 21:10:53 +0000 (21:10 +0000)]
Merge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""" am: e13434f9da
am: 0542458477

* commit '054245847742895989b37999771e30c832feb35d':
  Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""

8 years agoMerge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."""
Elliott Hughes [Mon, 4 Jan 2016 21:08:20 +0000 (21:08 +0000)]
Merge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."""
am: e13434f9da

* commit 'e13434f9da8fae2e0714960a9f28b7790097560c':
  Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""

8 years agoMerge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."""
Elliott Hughes [Mon, 4 Jan 2016 21:03:48 +0000 (21:03 +0000)]
Merge "Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3)."""

8 years agoRevert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""
Elliott Hughes [Mon, 4 Jan 2016 20:38:05 +0000 (20:38 +0000)]
Revert "Revert "Implement getifaddrs(3)/freeifaddrs(3).""

This reverts commit 76814a8250fd5e1502909ef5e10e4d166cc96c0e.

This differs from the original in fixing the GCC -Werror build:

  bionic/libc/bionic/ifaddrs.cpp: In function 'void __handle_netlink_response(ifaddrs**, nlmsghdr*)':
  bionic/libc/bionic/ifaddrs.cpp:113:62: error: use of old-style cast [-Werror=old-style-cast]
       ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr));

This appears to be a GCC bug; the GCC command-line correctly uses -isystem,
and manually adding #pragma GCC system_header doesn't help. So just turn the
warning off for GCC for now. We won't need to worry about building with GCC
soon anyway.

Bug: http://b/26238832
Change-Id: I01615bd335edf11baf487b1c83a9157cd780f4a1

8 years agoMerge changes Ic66f6519,Ic16acea5 am: 2fed6aa9f0
Dimitry Ivanov [Mon, 4 Jan 2016 19:09:38 +0000 (19:09 +0000)]
Merge changes Ic66f6519,Ic16acea5 am: 2fed6aa9f0
am: e544566d70

* commit 'e544566d70c46f9baa1443f0eeac357fb88f2454':
  Make some of unwanted symbols LIBC_PRIVATE
  Make symbols exported via libgcc.a LIBC_PRIVATE

8 years agoMerge changes Ic66f6519,Ic16acea5
Dimitry Ivanov [Mon, 4 Jan 2016 19:00:31 +0000 (19:00 +0000)]
Merge changes Ic66f6519,Ic16acea5
am: 2fed6aa9f0

* commit '2fed6aa9f0d2a90d59ad3c4d73313958f3470152':
  Make some of unwanted symbols LIBC_PRIVATE
  Make symbols exported via libgcc.a LIBC_PRIVATE

8 years agoMerge changes Ic66f6519,Ic16acea5
Dimitry Ivanov [Mon, 4 Jan 2016 18:55:42 +0000 (18:55 +0000)]
Merge changes Ic66f6519,Ic16acea5

* changes:
  Make some of unwanted symbols LIBC_PRIVATE
  Make symbols exported via libgcc.a LIBC_PRIVATE

8 years agoMerge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access" am: fa8b9312d9
Nick Kralevich [Thu, 24 Dec 2015 04:10:24 +0000 (04:10 +0000)]
Merge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access" am: fa8b9312d9
am: c9d2fea58f

* commit 'c9d2fea58f14a71b23ef791570497cf8019b3308':
  Add tests for /proc/self/fd and /proc/self/task/TID/fd access

8 years agoMerge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access"
Nick Kralevich [Thu, 24 Dec 2015 04:07:16 +0000 (04:07 +0000)]
Merge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access"
am: fa8b9312d9

* commit 'fa8b9312d93bcbbb6d1f6e287e0a92a2d16fd5bd':
  Add tests for /proc/self/fd and /proc/self/task/TID/fd access

8 years agoMerge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access"
Nick Kralevich [Thu, 24 Dec 2015 04:02:47 +0000 (04:02 +0000)]
Merge "Add tests for /proc/self/fd and /proc/self/task/TID/fd access"

8 years agoMerge "Remove cflags and ldflags from crt defaults" am: a01108d9bf am: a36d1e0d31
Colin Cross [Thu, 24 Dec 2015 02:26:13 +0000 (18:26 -0800)]
Merge "Remove cflags and ldflags from crt defaults" am: a01108d9bf am: a36d1e0d31
am: e7e5372dba

* commit 'e7e5372dba0135889fb6832f9ba9de03cc3efdc6':

8 years agoMerge "move arch variant structs down a level" am: 8bd27182c5 am: 912e27a4b2
Colin Cross [Thu, 24 Dec 2015 02:26:04 +0000 (18:26 -0800)]
Merge "move arch variant structs down a level" am: 8bd27182c5 am: 912e27a4b2
am: e1c6eaf917

* commit 'e1c6eaf91713f51961ac3cca78851611893096c3':