3b2096a9d6edd74622b94cacc76b77100f919b84 |
|
23-Jul-2016 |
Elliott Hughes <enh@google.com> |
Remove unnecessary 'extern's. Change-Id: Iba2b3fb6ff88e504f1657b915120ae43d58a1e03
|
19b669b00325bcbab4679c4e57c5d8d95f54decb |
|
10-May-2016 |
Dimitry Ivanov <dimitry@google.com> |
Remove linker-namespace functions from the header They are intended for platform use only and we shouldn't have them in the public header file. Bug: http://b/28174921 Change-Id: Ib9b3d0fa9442cfa2e784a693ad567d1444d774e5 (cherry picked from commit 41fd29532b52bb66e3e1f4620053713fd0299f6e)
|
41fd29532b52bb66e3e1f4620053713fd0299f6e |
|
10-May-2016 |
Dimitry Ivanov <dimitry@google.com> |
Remove linker-namespace functions from the header They are intended for platform use only and we shouldn't have them in the public header file. Bug: http://b/28174921 Change-Id: Ib9b3d0fa9442cfa2e784a693ad567d1444d774e5
|
14adff1cfa06a3d4d3281a9bf7848b556d84c20d |
|
29-Apr-2016 |
Josh Gao <jmgao@google.com> |
Add versioning information to symbols. Bug: http://b/28178111 Change-Id: I46bf95accd819f4521afb1173d8badcc5e9df31c
|
2675a9e343fa749aba57b1bfcc8f7f1f5db48c72 |
|
07-Apr-2016 |
Josh Gao <jmgao@google.com> |
Make <android/dlext.h> compile standalone. Bug: http://b/28067717 Change-Id: If087e0c931c69bda34263ea8e0b2dc46d932b2af
|
6be6ef563e15cec05ea758f76b493b63c760923c |
|
02-Mar-2016 |
Dimitry Ivanov <dimitry@google.com> |
Modify android_dlwarning function to use a callback The previous implementation of android_dlwarning was not thread-safe and could return a pointer soon to become invalid in some situations. This change fixed the problem. I have also removed android_dlwarning from the dlext.h header file in case we decide to keep android_dlwarning in the final release. Bug: http://b/27453994 Change-Id: If6c896a80a17c4be0e18795e617712ad36a106fe
|
df91dc2c192aa2789320c500037d28c919daa820 |
|
26-Feb-2016 |
Dimitry Ivanov <dimitry@google.com> |
Add android_dlwarning() method This is temporary method intended to use for a toast message on preview and beta releases. Will be removed before the production release. Bug: http://b/27365747 Change-Id: I39cc716bb82863ae761b6821bcec77cce6db3781
|
7331fe18d7ffd550996e07b534bc7a6cf625afa5 |
|
14-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
linker: implement shared namespaces Shared namespaces clone the list of loaded native libraries from the caller namespace. This allows classloaders for bundled apps to share already loaded libraries with default namespace. Bug: http://b/22548808 Bug: http://b/26165097 Change-Id: I8949d45937fdb38e1f586ff0679003adac0d9dad (cherry picked from commit e78deef364d952dd1141a2f3067a12060aaf11e6)
|
e78deef364d952dd1141a2f3067a12060aaf11e6 |
|
14-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
linker: implement shared namespaces Shared namespaces clone the list of loaded native libraries from the caller namespace. This allows classloaders for bundled apps to share already loaded libraries with default namespace. Bug: http://b/22548808 Bug: http://b/26165097 Change-Id: I8949d45937fdb38e1f586ff0679003adac0d9dad
|
284ae3559ed909613b189b98bdc3efab94373a30 |
|
08-Dec-2015 |
Dimitry Ivanov <dimitry@google.com> |
Add permitted_when_isolated_path to linker namespaces The permitted_when_isolated_path is a way to white-list directories not present in search-path. It is ignored for not isolated namespaces. Bug: http://b/25853516 Bug: http://b/22548808 Change-Id: Ib1538037268eea69323ea49968a34a4a1d1938a5
|
1ffec1cc4d0e283bb1ff6f49843769a3493b8d73 |
|
23-Nov-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Introduce anonymous namespace The anonymous namespace is introduced to handle cases when linker can not find the caller. This usually happens when caller code was not loaded by dynamic linker; for example mono-generated code. Bug: http://b/25844435 Bug: http://b/22548808 Change-Id: I9e5b1d23c1c75bc78548d68e79216a6a943a33cf
|
42d5fcb9f494eb45de3b6bf759f4a18076e84728 |
|
30-Oct-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Introducing linker namespaces Bug: http://b/22548808 Change-Id: Ia3af3c0a167f1d16447a3d83bb045d143319b1e1
|
126af757c6d6a6447c19236df8d98ba07f21996f |
|
08-Oct-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Implement load at fixed address feature Bug: http://b/24683631 Change-Id: I3a39ab526c8f9e213339b60e135e5459d0f41381
|
34e8e47d321b129920c5142a81c2db88128c1595 |
|
06-Jun-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Add flag that makes linker honor min(p_vaddr) (cherry picked from commit 8a1162835597be38705b381ac34c07da17932568) Bug: 21924613 Bug: http://b/21523078 Change-Id: I3f944a08dd2ed1df4d8a807da4fee423fdd35eb7
|
8a1162835597be38705b381ac34c07da17932568 |
|
06-Jun-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Add flag that makes linker honor min(p_vaddr) Bug: http://b/21523078 Change-Id: Ice72766fb6ad3bd333c32b496e7870121e17a763
|
9b82136b987bc01224e3b42732334ea27c97d188 |
|
03-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Add ANDROID_DLEXT_FORCE_LOAD flag This flag allows to force loading of the library in the case when for some reason multiple ELF files share the same filename (because the already-loaded library has been removed and overwritten, for example). Change-Id: I798d44409ee13d63eaa75d685e99c4d028d2b0c1
|
aad1a39dfbdbb3cd2f9b1ba7f5c65fe68f179065 |
|
18-Nov-2014 |
David 'Digit' Turner <digit@google.com> |
libc: Fix headers to allow direct inclusion. These headers are missing a few #includes to allow their direct inclusion from C http://b.android.com/79841 Change-Id: Ifc712c17f4da70b26adb67d4d49ed659f53c3621
|
702ab5b37e77684ee352300d32b078606ee388d0 |
|
21-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Rename library_offset to library_fd_offset replace lseek() and use pread() instead add test for library_fd_offset > file_size case Bug: 17762003 (cherry picked from commit a6c1279098f24a675d0df74ce1946f5d534b425e) Change-Id: Ie117c745081ee33d07db5341115ff6c8e98b0dec
|
de01780f46e4e4540c7a1ea7d0302f460c880e9d |
|
04-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Add file_offset parameter to android_extinfo Bug: 17762003 (cherry picked from commit 07e5bc152d8a3ad4c50808bb86f3c0f2c5e2f514) Change-Id: I72d527831384ff5dde013a4c8dfe639fbec165f5
|
a6c1279098f24a675d0df74ce1946f5d534b425e |
|
21-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Rename library_offset to library_fd_offset replace lseek() and use pread() instead add test for library_fd_offset > file_size case Bug: 17762003 Change-Id: I4555f0be635124efe849c1f226985bcba72ffcbd
|
07e5bc152d8a3ad4c50808bb86f3c0f2c5e2f514 |
|
04-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Add file_offset parameter to android_extinfo Bug: 17762003 Change-Id: I8fb267a3155acef3dba534038cf5d1ef00d7154b
|
3a8646fc5d9f1a9304251a1d1c8ff9e523d81b40 |
|
08-Jul-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Change android_dlextinfo flags to uint64_t Change-Id: Id27e8f8e58dbcf6ae79644f2ad3af3dd0aef9ae7
|
04dc91ae763adc403a14c88b4c46f77b3d2d71a3 |
|
01-Jul-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Load library using file handle. * This patch enables dlopen by file descriptor instead of path/name. Bug: 15984217 Change-Id: Ib39051e00567fb97070bf96d8ce63993877c0a01
|
183ad9df536ab04ef35a397a1f4724e4e401d11f |
|
27-Feb-2014 |
Torne (Richard Coles) <torne@google.com> |
Allow sharing the RELRO section via a file. Add flags and a file descriptor to android_dlopen_ext() to allow writing the RELRO section of the loaded library to a file after relocation processing, and to allow mapping identical pages from the file over the top of relocated memory in another process. Explicitly comparing the pages is required in case a page contains a reference to a symbol defined in another library loaded at a random base address. Bug: 13005501 Change-Id: Ibb5b2d384edfaa5acf3e97a5f8b6115c10497a1e
|
12bbb9164578b6512b8b07a3fb093858244b7c7b |
|
06-Feb-2014 |
Torne (Richard Coles) <torne@google.com> |
Support loading libraries to a reserved address. Add flags and parameters to android_dlopen_ext() to allow loading a library at an already-reserved fixed address. If the library to be loaded will not fit within the space reserved, then the linker will either fail, or allocate its own address space as usual, according to which flag has been specified. This behaviour only applies to the specific library requested; any other libraries loaded as dependencies will be loaded in the normal fashion. There is a new gtest included to cover the functionality added. Bug: 13005501 Change-Id: I5d1810375b20fc51ba6a9b3191a25f9792c687f1
|
012cb4583a5f8564059142bb1900ea3a31e7cfa9 |
|
06-Feb-2014 |
Torne (Richard Coles) <torne@google.com> |
Add android_dlopen_ext() interface to linker. Add a function "android_dlopen_ext()", defined in <android/dlext.h>. This is an extended version of dlopen() which takes a struct for passing additional parameters for Android-specific functionality. This will be used to support RELRO section sharing between separate processes. Bug: 13005501 Change-Id: I9c99b2f2a02ee329dedaeba09ef3a1113b17b2d6
|