- 10 Jun, 2015 4 commits
-
-
Elliott Hughes authored
-
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)
-
- 09 Jun, 2015 1 commit
-
-
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
-
- 08 Jun, 2015 1 commit
-
-
Ying Wang authored
Bug: 21669400 Change-Id: I54691661605a2e2c1871781964aed343840b8560 (cherry-pick from commit 33c2d441b8f816722bed984c6e12b82b888c3ca2)
-
- 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
-
- 04 Jun, 2015 5 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)
- 02 Jun, 2015 9 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
-
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 2 commits
-
-
Dmitriy Ivanov authored
Bug: http://b/20464031 Change-Id: I948141c46f9e054fc45f5934153dee56ce3cd558 (cherry picked from commit 087005f3)
-
Dmitriy Ivanov authored
This applies for apps targeting sdk<=22 and only for lp32 platforms. Bug: http://b/21364029 Change-Id: I903e81c9ccda2a8beaba1d132d68c77d30a4cdb2 (cherry picked from commit d974e880)
-
- 27 May, 2015 1 commit
-
-
Dmitriy Ivanov authored
Bug: http://b/21364029 Change-Id: I8648d1bff6c8fd6e7cd12da7f128e048b9f2829a (cherry picked from commit 79fd668b)
-
- 22 May, 2015 1 commit
-
-
Dmitriy Ivanov authored
Linker used to skip RTLD_NEXT within local_group when caller->next is nullptr (which represents load order but not the order within local_group dependency tree) Bug: http://b/21380474 Change-Id: I178fc4657b19bceb871635b177c1df67855b1708 (cherry picked from commit b96ac41b)
-
- 20 May, 2015 2 commits
-
-
Yabin Cui authored
Change-Id: I48269218b152054d527d9257d40490b54205140f
- 18 May, 2015 2 commits
-
- 16 May, 2015 1 commit
-
-
Dmitriy Ivanov authored
-
- 15 May, 2015 6 commits
-
-
Dmitriy Ivanov authored
Bug: http://b/19059885 Bug: http://b/21203348 Change-Id: Ic375e9f877d68de8f866d17362879a7dde638465
-
Chih-Hung Hsieh authored
All arch-arm and arch-arm64 .S files were compiled by gcc with and without this patch. The output object files were identical. When compiled with llvm and this patch, the output files were also identical to gcc's output. BUG: 18061004 Change-Id: I458914d512ddf5496e4eb3d288bf032cd526d32b (cherry picked from commit 33f33515)
-
Chih-Hung Hsieh authored
BUG: 17302991 Change-Id: I31febd9ad24312388068803ce247b295bd73b607 (cherry picked from commit 0a93df36)
-
Elliott Hughes authored
Bug: http://b/20501816 Change-Id: Id64b5109cc2b165fa0351b6edbb865a5e5058008 (cherry picked from commit 4e8ef698)
-
Dmitriy Ivanov authored
Change-Id: I08e75a1c7437c97e4af59316d2c14c7fa3f65e03 (cherry picked from commit 93333246)
-