- 17 Jun, 2015 1 commit
-
-
Dimitry Ivanov authored
This reverts commit ea4ef52f. 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: I23ddbd69294023c56c9cbabad29d26c8f736ab43
-
- 16 Jun, 2015 6 commits
-
-
Dmitriy Ivanov authored
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
-
Dmitriy Ivanov authored
Bug: http://b/21617095 Bug: http://b/20139821 Change-Id: If3d42d2a0b4a0c49721fd9b9ecbb4f7bee5a1eff (cherry picked from commit 665607a6)
-
Elliott Hughes authored
Bug: http://b/21858067 Change-Id: Iaa83a5e17cfff796aed4f641d0d14427614d9399 (cherry picked from commit b1304935)
-
Elliott Hughes authored
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 (cherry picked from commit 0577733c)
-
Dan Albert authored
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 (cherry picked from commit bf18c617)
-
Elliott Hughes authored
Bug: http://b/21857154 Change-Id: Ie1fb63f54c6c527b8c1172e8f6ce48f23fca9b41 (cherry picked from commit 469b4187)
-
- 15 Jun, 2015 1 commit
-
-
Sharvil Nanavati authored
* commit '00cef820': Define nonportable pthread mutex macros with the _NP suffix.
-
- 12 Jun, 2015 2 commits
-
-
Sharvil Nanavati authored
* commit '64e9e71c': Define nonportable pthread mutex macros with the _NP suffix.
-
Sharvil Nanavati authored
Change-Id: I1066352e5b2607f64daf6aeb0030d0bbe88ead8d
-
- 11 Jun, 2015 4 commits
-
-
Dmitriy Ivanov authored
-
Dmitriy Ivanov authored
Bug: http://b/21765603 Change-Id: I97710ef2436eac2160e29ba3e4521f6e63a1907c (cherry picked from commit 175dae92)
-
Elliott Hughes authored
Bug: http://b/21761353 Change-Id: Ic8ef3f241d62d2a4271fbc783c8af50257bac498 (cherry picked from commit be57a40d)
-
Elliott Hughes authored
-
- 10 Jun, 2015 4 commits
-
-
Dmitriy Ivanov authored
Bug: http://b/21364029 Change-Id: I9716d6b0ea7fae6483629a290dbe695b68526588
-
Elliott Hughes authored
Bug: http://b/19647373 Change-Id: I10e7682d9cec26a523f1a3597ca5326c3ca42ebe (cherry picked from commit 1801db3d)
-
Dmitriy Ivanov authored
Bug: http://b/21696087 Change-Id: I1e22d5fd6fe2faead332249493123c9a085081e9 (cherry picked from commit 624b8f17)
-
Christopher Ferris authored
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 Change-Id: If7e8860075ecd63c0064d80f64e226fad7bd3c26
-
- 09 Jun, 2015 1 commit
-
-
Dmitriy Ivanov authored
Bug: http://b/21726698 Bug: http://b/8076853 Change-Id: I8c1942a98fe3119746b4dc9f60a7ff215ea7009c
-
- 08 Jun, 2015 1 commit
-
- 06 Jun, 2015 2 commits
-
-
Christopher Ferris authored
The functions dlmalloc_inspect_all and dlmalloc_trim get exported on devices that use dlmalloc, so be consistent and export them everywhere. Bug: 21640784 (cherry picked from commit f9554a17) Change-Id: I1000221423c16c356bb6301e55f726db01c3f209
-
Christopher Ferris authored
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 (cherry picked from commit 19fee2ca) Change-Id: Ib9a9cfd72720586d3400b11cd7189f021e9a06c6
-
- 05 Jun, 2015 1 commit
-
- 04 Jun, 2015 4 commits
-
-
Dmitriy Ivanov authored
Bug: http://b/21640806 Change-Id: I778b35c8c7538859179e97fcf5a82db2fcd9e50f (cherry picked from commit 9cf6fc30)
-
Christopher Ferris authored
-
Christopher Ferris authored
It turns out that apportable apps expect that the DIR structure is the same as in L and below. Modify the structure to have the same order, and move the new variable to the end of the structure. Bug: 21037208 Change-Id: Id1258e9dc19423109a2c3a8086d3022965591166
-
Dmitriy Ivanov authored
Bug: http://b/20139821 Change-Id: I1c1ed1b97a75936407e996698b98b94a7175ac30 (cherry picked from commit 6cda0742)
-
- 03 Jun, 2015 2 commits
-
-
Dmitriy Ivanov authored
-
Dmitriy Ivanov authored
Do not skip RTLD_LOCAL libraries in dlsym(RTLD_DEFAULT, ...) if the library is opened by application with target api level <= 22 Bug: http://b/21565766 Bug: http://b/17512583 Change-Id: Ic45ed1e4f53e84cba9d74cab6b0049c0c7aa8423
-
- 02 Jun, 2015 7 commits
-
-
Yabin Cui authored
Change-Id: I362ab2e25e3368c71cb1af51cee2e8fb5ce53e61
-
Nick Kralevich authored
-
Yabin Cui authored
-
Dmitriy Ivanov authored
Applies only for apps targeting sdk version <= 22 Bug: http://b/21565766 Change-Id: If0bf2229dc1341e9ca09f9a05d0890515273d5a2
-
Nick Kralevich authored
Support O_PATH file descriptors when handling fgetxattr and fsetxattr. This avoids requiring file read access to pull extended attributes. This is needed to support O_PATH file descriptors when calling SELinux's fgetfilecon() call. In particular, this allows the querying and setting of SELinux file context by using something like the following code: int dirfd = open("/path/to/dir", O_DIRECTORY); int fd = openat(dirfd, "file", O_PATH | O_NOFOLLOW); char *context; fgetfilecon(fd, &context); This change was motivated by a comment in https://android-review.googlesource.com/#/c/152680/1/toys/posix/ls.c (cherrypicked from commit 2825f10b) Change-Id: Ic0cdf9f9dd0e35a63b44a4c4a08400020041eddf
-
- 01 Jun, 2015 3 commits
-
-
Dmitriy Ivanov authored
According to man dlopen(3) and posix docs in the case when si is handle of the main executable we need to search not only in the executable and its dependencies but also in all libraries loaded with RTLD_GLOBAL. see also: http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html Bug: http://b/21528224 Bug: http://b/17512583 Bug: https://code.google.com/p/android/issues/detail?id=173822 Change-Id: Ib2801367ba48b6f3704da89a6d9f5e6911430013 (cherry picked from commit f439b5a3)
-
Dan Albert authored
Addresses post-submit comments from I54692ab8105dd09db6af7a2c0894a17bdd118aa0. Bug: http://b/21309901 Change-Id: Ie19ee8cdcc4055a65fe7dfc103156e54eafe8977 (cherry picked from commit 9d476a02)
-
Dan Albert authored
Bug: 21309901 Change-Id: I54692ab8105dd09db6af7a2c0894a17bdd118aa0 (cherry picked from commit c05554ec)
-
- 28 May, 2015 1 commit
-
-
Dmitriy Ivanov authored
Bug: http://b/20464031 Change-Id: I948141c46f9e054fc45f5934153dee56ce3cd558 (cherry picked from commit 087005f3)
-