OSDN Git Service
Elliott Hughes [Tue, 7 Jul 2015 16:22:32 +0000 (09:22 -0700)]
Add some glibc-like #defines for libchrome.
libchrome uses __USE_XOPEN2K8 to decide whether futimens is
available. That's perhaps not the best idea, but there are other
cases where we defined the same feature macros as glibc to aid
portability.
Change-Id: Ie6e04cb181d88698d618e7dbd26cd347a6bf076c
Elliott Hughes [Mon, 6 Jul 2015 21:44:31 +0000 (21:44 +0000)]
Merge "Fix alignment after variable-length data."
Elliott Hughes [Mon, 6 Jul 2015 21:16:12 +0000 (14:16 -0700)]
Fix alignment after variable-length data.
In the serialized output from netd, the strings come first. Some code
assumes -- reasonably enough -- that it can do unaligned reads of pointers,
so we need to ensure alignment after all the strings.
(cherrypick of
65dd858239c4e32a5a1afbc14ac30dbcdd2a50a3.)
Bug: http://b/
21192318
Change-Id: I456639127db9a2583f7f738e6b8103375d9387fd
Elliott Hughes [Mon, 6 Jul 2015 19:59:42 +0000 (19:59 +0000)]
Merge "Name the thread stack and signal stack guard pages."
Elliott Hughes [Thu, 2 Jul 2015 06:48:39 +0000 (23:48 -0700)]
Name the thread stack and signal stack guard pages.
Bug: http://b/
22228722
Change-Id: I1dae672e386e404fb304a34496a29fe21134c784
Elliott Hughes [Wed, 1 Jul 2015 15:32:57 +0000 (15:32 +0000)]
Merge "Fixed uchar.h for clang3.6"
Neil Fuller [Wed, 1 Jul 2015 09:42:18 +0000 (09:42 +0000)]
Merge "Update timezone data to 2015e"
Dmitriy Ivanov [Wed, 1 Jul 2015 02:12:52 +0000 (02:12 +0000)]
Merge "Improve personality initialization"
Dmitriy Ivanov [Tue, 30 Jun 2015 22:10:51 +0000 (15:10 -0700)]
Improve personality initialization
1. Personality parameter should be unsigned int (not long)
2. Do not reset bits outside of PER_MASK when setting
personality value.
3. Set personality for static executables.
Bug: http://b/
21900686
Change-Id: I4c7e34079cbd59b818ce221eed325c05b9bb2303
(cherry picked from commit
f643eb38c36eb63f612e20dea09fd43ac6a6b360)
Neil Fuller [Tue, 30 Jun 2015 13:48:06 +0000 (14:48 +0100)]
Update timezone data to 2015e
Changes affecting future time stamps
Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
not 06-13 and 07-18 as we had guessed. (Thanks to Milamber.)
Assume Cayman Islands will observe DST starting next year, using US rules.
Although it isn't guaranteed, it is the most likely.
Bug:
21836574
Change-Id: I6eda60c220d5c55d2aa0934544866ec0f1ce62ab
Erik Kline [Tue, 30 Jun 2015 02:21:00 +0000 (02:21 +0000)]
Merge "Pass around struct android_net_context for better behaviour"
Dmitriy Ivanov [Mon, 29 Jun 2015 22:15:07 +0000 (22:15 +0000)]
Merge "Lock on dl_interate_phdr"
Dmitriy Ivanov [Mon, 29 Jun 2015 21:48:25 +0000 (14:48 -0700)]
Lock on dl_interate_phdr
There is possibility of someone dlclosing a library
while dl_iterate_phdr in progress which can lead to
dl_iterate_phdr calling callback with invalid address
if it was unmapped by dlclose.
Bug: http://b/
22047255
Change-Id: I3fc0d9fd2c51fb36fd34cb035f37271fa893a7be
(cherry picked from commit
f7d5bf334dc4bc5b7399d4c8268e1b0bf676548f)
Dmitriy Ivanov [Mon, 29 Jun 2015 21:08:48 +0000 (21:08 +0000)]
Merge "Replace NULL with nullptr"
Elliott Hughes [Mon, 29 Jun 2015 21:01:05 +0000 (21:01 +0000)]
Merge "Add <sysexits.h>."
Elliott Hughes [Mon, 29 Jun 2015 20:44:34 +0000 (13:44 -0700)]
Add <sysexits.h>.
Taken from current upstream OpenBSD.
Bug: http://b/
22172963
Change-Id: Ic899e08541335777296fa8ec99e518f35a100144
Yusuke Sato [Mon, 29 Jun 2015 17:49:28 +0000 (17:49 +0000)]
Merge "Rename ZipEntryName to ZipString"
egor.kochetov [Thu, 25 Jun 2015 13:52:36 +0000 (16:52 +0300)]
Fixed uchar.h for clang3.6
The NDK self-test issue64679-prctl failed to build because by default
clang3.6 builds in C11 mode, but the ifdef in the file 'uchar.h' hid the
required char16_t and char32_t declarations based on the GCC version,
which is declared as 4 by clang.
The ifdef is changed so that it is based on C version rather than a
compiler version. This way it is compatible with gcc 4, gcc 5 and clang
which are actually the only used toolchains.
See also: b.android.com/177609
Change-Id: I78c4bdc681c6f8a31b92dbe8ffe35e84ef2eda36
Signed-off-by: Egor Kochetov <egor.kochetov@intel.com>
Erik Kline [Thu, 25 Jun 2015 05:27:34 +0000 (14:27 +0900)]
Pass around struct android_net_context for better behaviour
Group network context elements in to a single struct and
add a version of android_getaddrinfofornet() that accepts it.
The introduction of UID-based routing means that the UID is an
integral part of the network context when evaluating connectivity,
sorting addresses, etc.
Also, introduce a distinction between DNS netids/marks and those
expected to be used by the application. This can be important
when the network an application is using is not the same as the
network on which DNS queries will be issued.
Additionally, de-duplicate the UDP connect logic (collapse both
_test_connect() and _find_src_addr() into just the latter).
Bug:
19470192
Bug:
20733156
Bug:
21832279
Change-Id: If16c2f4744695f507993afdac078ca105eb5d3e4
Dmitriy Ivanov [Fri, 26 Jun 2015 03:51:21 +0000 (03:51 +0000)]
Merge "Fix crash when trying to load invalid ELF file."
Dmitriy Ivanov [Thu, 25 Jun 2015 22:51:41 +0000 (15:51 -0700)]
Fix crash when trying to load invalid ELF file.
Bug: http://b/
22047255
Bug: http://b/
22091640
Change-Id: I6c51cff43287a6ac4b25fa9ce6a6fc3d232fd047
(cherry picked from commit
06700b2b5e92a365505b15d0d05e2d5b0706c511)
Yusuke Sato [Thu, 25 Jun 2015 21:56:07 +0000 (14:56 -0700)]
Rename ZipEntryName to ZipString
This is for https://android-review.googlesource.com/#/c/156771/.
Bug:
21957428
Change-Id: Ida30c28c0fff0b2dadddbdb1aa1999ae3250610b
Elliott Hughes [Thu, 25 Jun 2015 14:30:21 +0000 (14:30 +0000)]
Merge "Fix x86 gdbserver build."
Dimitry Ivanov [Thu, 25 Jun 2015 01:02:18 +0000 (01:02 +0000)]
Merge "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"
Elliott Hughes [Thu, 25 Jun 2015 00:31:24 +0000 (17:31 -0700)]
Fix x86 gdbserver build.
Add the x86-only elf_fpxregset_t to <sys/procfs.h>, and rename
user_fxsr_struct (the kernel's name) to user_fpxregs_struct (the
userspace name).
Bug: http://b/
22068064
Change-Id: Id466096bf02baf6bd49b193f49d9036848d33548
Duane Sand [Mon, 1 Jun 2015 23:29:14 +0000 (16:29 -0700)]
[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers
Enables running of older MIPS NDK-built apps on mips64r6.
Works with kernel supporting FRE emulation, and old kernels.
Change-Id: If5e392ed89e9910cd1ccd30e0fd5c4a5acea2c7d
Dimitry Ivanov [Wed, 24 Jun 2015 20:44:36 +0000 (20:44 +0000)]
Merge "Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers""
Dimitry Ivanov [Wed, 24 Jun 2015 20:43:33 +0000 (20:43 +0000)]
Revert "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"
This reverts commit
d02ec08427b006e80191ce60690ce48a788fb832.
Bug: http://b/
22045439
Change-Id: Iaf10ff1e2948083cce0098f29d5b87b32bfae1b7
Chih-Hung Hsieh [Wed, 24 Jun 2015 00:15:50 +0000 (00:15 +0000)]
Merge "Use gcc to build and test x86_64 long double code."
Chih-Hung Hsieh [Tue, 23 Jun 2015 21:18:14 +0000 (14:18 -0700)]
Use gcc to build and test x86_64 long double code.
Clang/llvm x86_64 configuration of long double is still
incompatible with gcc.
https://llvm.org/bugs/show_bug.cgi?id=23897
BUG:
21899249
Change-Id: I47fd6d0ce2daa84ae0035e7885a4d90e4c3056f7
Dmitriy Ivanov [Tue, 23 Jun 2015 21:51:35 +0000 (21:51 +0000)]
Merge "Work around compiler optimization"
Dmitriy Ivanov [Tue, 23 Jun 2015 20:58:22 +0000 (13:58 -0700)]
Replace NULL with nullptr
Change-Id: If66d0c5ae1ea1ed371b44e067d4ae59ac54a8842
Dmitriy Ivanov [Tue, 23 Jun 2015 20:44:18 +0000 (13:44 -0700)]
Work around compiler optimization
This makes bionic-unit-test-glibc64 behave consistently
when testing dlopen from a library with dt_runpath.
Bug: http://b/
21899363
Change-Id: I9d446eb6852876975874d6b7761f6f81cc4e9916
Dmitriy Ivanov [Mon, 22 Jun 2015 19:27:34 +0000 (19:27 +0000)]
Merge "Remove text-relocs support for apps targeting M+"
Dmitriy Ivanov [Fri, 12 Jun 2015 22:00:31 +0000 (15:00 -0700)]
Remove text-relocs support for apps targeting M+
Remove support of text-relocations for apps targeting sdk version > 22
Bug: http://b/
20013628
Change-Id: I2127739544480c747315e32df15dfbd1b79de4f5
(cherry picked from commit
3e6f7807541bab8157f9c26e55829fd193683349)
Dmitriy Ivanov [Mon, 22 Jun 2015 19:24:15 +0000 (19:24 +0000)]
Merge "Remove libdl* tests from bionic-unit-tests-static"
Dmitriy Ivanov [Mon, 22 Jun 2015 18:54:58 +0000 (11:54 -0700)]
Remove libdl* tests from bionic-unit-tests-static
Bug: http://b/
21900592
Change-Id: I907cc15684b121ec2fbdeca49fc584bb6d2eaacc
Dimitry Ivanov [Sun, 21 Jun 2015 21:25:53 +0000 (21:25 +0000)]
Merge "[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers"
Duane Sand [Mon, 1 Jun 2015 23:29:14 +0000 (16:29 -0700)]
[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers
Enables running of older MIPS NDK-built apps on mips64r6.
Works with kernel supporting FRE emulation, and old kernels.
Change-Id: I13923fe62cd83ad1d337f13a50f2eda2dfdd906f
Yabin Cui [Fri, 19 Jun 2015 17:56:51 +0000 (17:56 +0000)]
Merge "Don't use TIMER_ABSTIME in time_test."
Yabin Cui [Fri, 19 Jun 2015 00:01:11 +0000 (17:01 -0700)]
Don't use TIMER_ABSTIME in time_test.
If TIMER_ABSTIME is used in timer_settime(), the timer is always fired
immediately, which is not the intent of the tests.
Change-Id: I76047dbeb2bdded272ee6d028630b53bfd7d8514
Dmitriy Ivanov [Thu, 18 Jun 2015 00:30:47 +0000 (00:30 +0000)]
Merge "Improve library lookup logic"
Dmitriy Ivanov [Tue, 16 Jun 2015 22:38:21 +0000 (15:38 -0700)]
Improve library lookup logic
Linker tries to open a library even if it can
be found by soname. This only happens if the
library was previously opened under different
target sdk version.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: I7dbbcc3b49933bffd89ca0af55371e1a1f2bf4c2
(cherry picked from commit
28154f5c56dc4a64270cae2374b47a168d1bd7fa)
Christopher Ferris [Wed, 17 Jun 2015 23:50:55 +0000 (23:50 +0000)]
Merge "[MIPS] Add optimized string functions"
Dimitry Ivanov [Wed, 17 Jun 2015 21:35:27 +0000 (21:35 +0000)]
Merge "Revert "Improve library lookup logic""
Dimitry Ivanov [Wed, 17 Jun 2015 21:34:25 +0000 (21:34 +0000)]
Revert "Improve library lookup logic"
This reverts commit
455c145e3c451b2b6dc00663e4040d79acefd496.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: Iad21ddfc1ac749d12bcb52384a8d937b307dd03b
Dmitriy Ivanov [Wed, 17 Jun 2015 20:49:42 +0000 (20:49 +0000)]
Merge "Add versions to libm.so symbols"
Dmitriy Ivanov [Wed, 17 Jun 2015 17:28:49 +0000 (17:28 +0000)]
Merge "Improve library lookup logic"
Dmitriy Ivanov [Tue, 16 Jun 2015 22:38:21 +0000 (15:38 -0700)]
Improve library lookup logic
Linker tries to open a library even if it can
be found by soname. This only happens if the
library was previously opened under different
target sdk version.
Bug: http://b/
21876587
Bug: http://b/
21153477
Bug: http://b/
21171302
Bug: https://code.google.com/p/android/issues/detail?id=160921
Change-Id: I769a04b6b1368a107d43f399297be14050338bbc
(cherry picked from commit
ea4ef52fa46602a5853df0e5b1ddd71b194d54ce)
Elliott Hughes [Wed, 17 Jun 2015 17:05:13 +0000 (17:05 +0000)]
Merge "Revert "[MIPS] Do not use compact branches until GDB supports them""
Nikola Veljkovic [Wed, 17 Jun 2015 15:17:54 +0000 (17:17 +0200)]
Revert "[MIPS] Do not use compact branches until GDB supports them"
This reverts commit
3cec6eca929de5d627a8cc1fbe72c564ba5175cc.
Nikola Veljkovic [Tue, 26 May 2015 10:06:09 +0000 (12:06 +0200)]
[MIPS] Add optimized string functions
Use same string functions for all MIPS architectures.
Change-Id: I5575b16f3f66fa3609d7dafd151b6091bfe3517f
Elliott Hughes [Tue, 16 Jun 2015 23:58:30 +0000 (23:58 +0000)]
Merge "Fixes for building gdbserver (and gdb) out of the box."
Elliott Hughes [Tue, 16 Jun 2015 23:04:35 +0000 (16:04 -0700)]
Fixes for building gdbserver (and gdb) out of the box.
Bug: http://b/
21695943
Change-Id: Iadb600b2ae619515d7038a4db9bf464ba31adb36
Dan Albert [Tue, 16 Jun 2015 21:23:49 +0000 (21:23 +0000)]
Merge "Use new sanitizer option."
Dan Albert [Tue, 16 Jun 2015 20:57:54 +0000 (13:57 -0700)]
Use new sanitizer option.
Change-Id: I21b04a1f3be3b10ee557bf9e0caa5db638686364
Tim Murray [Tue, 16 Jun 2015 19:04:13 +0000 (19:04 +0000)]
Merge "Add support for cortex-a53 in bionic."
Dmitriy Ivanov [Tue, 16 Jun 2015 18:04:32 +0000 (18:04 +0000)]
Merge "Add version to libc.so symbols"
Elliott Hughes [Tue, 16 Jun 2015 17:43:36 +0000 (17:43 +0000)]
Merge "Hide accidentally-exposed __clock_nanosleep."
Dmitriy Ivanov [Thu, 4 Jun 2015 00:48:51 +0000 (17:48 -0700)]
Add version to libc.so symbols
Bug: http://b/
21617095
Bug: http://b/
20139821
Change-Id: If3d42d2a0b4a0c49721fd9b9ecbb4f7bee5a1eff
Tim Murray [Thu, 11 Jun 2015 22:33:06 +0000 (15:33 -0700)]
Add support for cortex-a53 in bionic.
allows -mcpu=cortex-a53 to be passed as part of a command line.
Change-Id: Id4203a9fd197f4c3b661bad21ac58c32819fd687
Elliott Hughes [Tue, 16 Jun 2015 02:39:04 +0000 (19:39 -0700)]
Hide accidentally-exposed __clock_nanosleep.
Bug: http://b/
21858067
Change-Id: Iaa83a5e17cfff796aed4f641d0d14427614d9399
Dmitriy Ivanov [Fri, 5 Jun 2015 01:30:51 +0000 (18:30 -0700)]
Add versions to libm.so symbols
Bug: http://b/
20139821
Change-Id: Ifdfcac62d59eb8f0985990aa8512046ecb87449e
Elliott Hughes [Tue, 16 Jun 2015 01:50:24 +0000 (01:50 +0000)]
Merge "Avoid name collision with user_fpsimd_state in <asm/ptrace.h>."
Elliott Hughes [Tue, 16 Jun 2015 01:47:39 +0000 (18:47 -0700)]
Avoid name collision with user_fpsimd_state in <asm/ptrace.h>.
We don't want to use <asm/ptrace.h> because (a) it'll drag in a bunch of
namespace pollution and (b) the registers should be "long double" for
userspace, not the kernel's uint128s. So just use a slightly different
name for our struct (which matches the traditional names for these structs
anyway).
Bug: http://b/
21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: I8812ca98cfe6b649dbd31f7d6aea41928ba2acbd
Elliott Hughes [Tue, 16 Jun 2015 01:36:29 +0000 (01:36 +0000)]
Merge "Fix two accidentally leaked mips64 symbols."
Elliott Hughes [Tue, 16 Jun 2015 01:28:47 +0000 (01:28 +0000)]
Merge "Add a sys/procfs.h."
Elliott Hughes [Tue, 16 Jun 2015 00:49:54 +0000 (17:49 -0700)]
Fix two accidentally leaked mips64 symbols.
Bug: http://b/
21857154
Change-Id: Ie1fb63f54c6c527b8c1172e8f6ce48f23fca9b41
Dan Albert [Wed, 4 Mar 2015 18:31:29 +0000 (10:31 -0800)]
Add a sys/procfs.h.
Needed for building gdbserver out of the box.
Bug: http://b/
21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: Ieadda2b595f08bfddfa61fcd68006b8e7c1a438d
Dmitriy Ivanov [Sat, 13 Jun 2015 00:43:56 +0000 (00:43 +0000)]
Merge "Make path to apk compliant with jar url format"
Dmitriy Ivanov [Tue, 9 Jun 2015 20:46:51 +0000 (13:46 -0700)]
Make path to apk compliant with jar url format
Bug: http://b/
21726698
Bug: http://b/
8076853
Change-Id: I8c1942a98fe3119746b4dc9f60a7ff215ea7009c
(cherry picked from commit
524f1f1efe0cb32714c61e26f21701ac952b9e42)
Elliott Hughes [Thu, 11 Jun 2015 16:58:22 +0000 (16:58 +0000)]
Merge "Always build libm with clang."
Elliott Hughes [Thu, 11 Jun 2015 05:55:09 +0000 (22:55 -0700)]
Always build libm with clang.
Change-Id: I00df3b83dfa76a7e12f097fb622ceaec3e2bb5a4
Dmitriy Ivanov [Thu, 11 Jun 2015 03:05:10 +0000 (03:05 +0000)]
Merge "Fix l_addr for the linker"
Dmitriy Ivanov [Thu, 11 Jun 2015 02:46:19 +0000 (19:46 -0700)]
Fix l_addr for the linker
Bug: http://b/
21765603
Change-Id: I97710ef2436eac2160e29ba3e4521f6e63a1907c
Elliott Hughes [Thu, 11 Jun 2015 01:31:15 +0000 (01:31 +0000)]
Merge "Add process_vm_readv and process_vm_writev."
Elliott Hughes [Thu, 11 Jun 2015 00:24:20 +0000 (17:24 -0700)]
Add process_vm_readv and process_vm_writev.
Bug: http://b/
21761353
Change-Id: Ic8ef3f241d62d2a4271fbc783c8af50257bac498
Dmitriy Ivanov [Thu, 11 Jun 2015 00:03:45 +0000 (00:03 +0000)]
Merge "Fix application_sdk_versions_smoke test"
Dmitriy Ivanov [Wed, 10 Jun 2015 23:55:50 +0000 (16:55 -0700)]
Fix application_sdk_versions_smoke test
Bug: http://b/
21364029
Change-Id: I9716d6b0ea7fae6483629a290dbe695b68526588
(cherry picked from commit
79b3877a137510946ddd39ab71c0badf1a769c11)
Evgenii Stepanov [Wed, 10 Jun 2015 23:56:02 +0000 (23:56 +0000)]
Merge "Support DT_RUNPATH in the linker."
Evgenii Stepanov [Wed, 10 Jun 2015 20:38:39 +0000 (13:38 -0700)]
Support DT_RUNPATH in the linker.
Only $ORIGIN substitution is supported, but not linux-specific $LIB
or $PLATFORM.
Change-Id: I5814a016c7c91afba080230a547a863686e7c2b9
Elliott Hughes [Wed, 10 Jun 2015 22:49:56 +0000 (22:49 +0000)]
Merge "Statically linked executables should honor AT_SECURE."
Dmitriy Ivanov [Wed, 10 Jun 2015 22:26:06 +0000 (22:26 +0000)]
Merge "Check if strtab exists before using it"
Christopher Ferris [Wed, 10 Jun 2015 17:53:45 +0000 (17:53 +0000)]
Merge "Allow NULL in pthread_mutex_lock/unlock."
Christopher Ferris [Wed, 10 Jun 2015 01:46:15 +0000 (18:46 -0700)]
Allow NULL in pthread_mutex_lock/unlock.
The pthread_mutex_lock and pthread_mutex_unlock were allowed to
fail silently on L 32 bit devices when passed a NULL. We changed
this to a crash on 32 bit devices, but there are still games that make
these calls and are not likely to be updated. Therefore, once again
allow NULL to be passed in on 32 bit devices.
Bug:
19995172
(cherry picked from commit
511cfd9dc8cb41bca4920687c7d816ee916ee8e5)
Change-Id: I159a99a941cff94297ef3fffda7075f8ef1ae252
Elliott Hughes [Tue, 9 Jun 2015 01:04:00 +0000 (18:04 -0700)]
Statically linked executables should honor AT_SECURE.
Bug: http://b/
19647373
Change-Id: I10e7682d9cec26a523f1a3597ca5326c3ca42ebe
Dmitriy Ivanov [Tue, 9 Jun 2015 21:02:27 +0000 (21:02 +0000)]
Merge "Add flag that makes linker honor min(p_vaddr)"
Dmitriy Ivanov [Sat, 6 Jun 2015 05:16:23 +0000 (22:16 -0700)]
Add flag that makes linker honor min(p_vaddr)
Bug: http://b/
21523078
Change-Id: Ice72766fb6ad3bd333c32b496e7870121e17a763
Ying Wang [Mon, 8 Jun 2015 19:26:54 +0000 (19:26 +0000)]
Merge "Fix Mac checkbuild."
Ying Wang [Sat, 6 Jun 2015 18:55:16 +0000 (11:55 -0700)]
Fix Mac checkbuild.
Bug:
21669400
Change-Id: I54691661605a2e2c1871781964aed343840b8560
(cherry-pick from commit
33c2d441b8f816722bed984c6e12b82b888c3ca2)
Dmitriy Ivanov [Mon, 8 Jun 2015 17:41:33 +0000 (10:41 -0700)]
Check if strtab exists before using it
Bug: http://b/
21696087
Change-Id: I1e22d5fd6fe2faead332249493123c9a085081e9
Nick Kralevich [Mon, 8 Jun 2015 17:39:00 +0000 (17:39 +0000)]
Merge "Add O_PATH support for flistxattr()"
Christopher Ferris [Sat, 6 Jun 2015 20:17:26 +0000 (20:17 +0000)]
Merge "Export two dlmalloc functions everywhere."
Nick Kralevich [Sat, 6 Jun 2015 18:23:26 +0000 (11:23 -0700)]
Add O_PATH support for flistxattr()
A continuation of commit
2825f10b7f61558c264231a536cf3affc0d84204.
Add O_PATH compatibility support for flistxattr(). This allows
a process to list out all the extended attributes associated with
O_PATH file descriptors.
Change-Id: Ie2285ac7ad2e4eac427ddba6c2d182d41b130f75
Christopher Ferris [Sat, 6 Jun 2015 00:12:17 +0000 (17:12 -0700)]
Export two dlmalloc functions everywhere.
The functions dlmalloc_inspect_all and dlmalloc_trim get
exported on devices that use dlmalloc, so be consistent and
export them everywhere.
Bug:
21640784
Change-Id: I5b8796cd03c8f401d37d9c22823144f766f9c4c7
Christopher Ferris [Sat, 6 Jun 2015 00:07:57 +0000 (00:07 +0000)]
Merge "Fix a few libc makefile mishaps."
Christopher Ferris [Fri, 5 Jun 2015 02:24:07 +0000 (19:24 -0700)]
Fix a few libc makefile mishaps.
These are the problems fixed in this CL:
- The ndk_cruft.cpp file was not compiled for 64 bit.
- Some files where not compiled for libc_bionic.a due to a missing
patch-up-arch-specific-flags call.
- The libc_bionic_ndk.a patch up call was using bionic src, not
the bionic_ndk_src_files.
- Move mmap.cpp to the ndk src list where it was before because of
the above errors.
Bug:
21640784
Change-Id: I31e97bc8bf347c8e584cc17aa4b984a7d122b298
Dmitriy Ivanov [Thu, 4 Jun 2015 21:50:05 +0000 (21:50 +0000)]
Merge "Hide __atexit"
Dmitriy Ivanov [Thu, 4 Jun 2015 21:33:18 +0000 (14:33 -0700)]
Hide __atexit
Bug: http://b/
21640806
Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f
Christopher Ferris [Thu, 4 Jun 2015 21:05:42 +0000 (21:05 +0000)]
Merge "Reorder DIR structure due to bad apps."