<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/include/nativebridge, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Move libnativebridge headers into the module.</title>
<updated>2017-07-06T18:23:16+00:00</updated>
<author>
<name>Steven Moreland</name>
<email>smoreland@google.com</email>
</author>
<published>2017-06-30T19:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=b2b88e35eadc9b5c6f0b61d2dd025a725bb85980'/>
<id>b2b88e35eadc9b5c6f0b61d2dd025a725bb85980</id>
<content type='text'>
Test: links
Change-Id: I2e19d1ba7845b4b3d3fee934fcb1c90151fd7192
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: links
Change-Id: I2e19d1ba7845b4b3d3fee934fcb1c90151fd7192
</pre>
</div>
</content>
</entry>
<entry>
<title>Load vendor public libraries to sphal namespace</title>
<updated>2017-05-25T17:30:55+00:00</updated>
<author>
<name>Dimitry Ivanov</name>
<email>dimitry@google.com</email>
</author>
<published>2017-05-01T22:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=882cad2d87fc003ced61ddf9d68f8810ec8c4b3f'/>
<id>882cad2d87fc003ced61ddf9d68f8810ec8c4b3f</id>
<content type='text'>
Load vendor public libraries to sphal namespace
if it exists - preserve old behavior of loading
these libraries to default namespace if sphal
namespace is not present on the device.

Bug: http://b/37410104
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases
      on marlin (with enabled sphal configuration) and on angler where ld.config.txt
      is not present.

Change-Id: Iaa3fa437ba2900acc2e5b9c78039fe1553e4c9dd
(cherry picked from commit af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Load vendor public libraries to sphal namespace
if it exists - preserve old behavior of loading
these libraries to default namespace if sphal
namespace is not present on the device.

Bug: http://b/37410104
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases
      on marlin (with enabled sphal configuration) and on angler where ld.config.txt
      is not present.

Change-Id: Iaa3fa437ba2900acc2e5b9c78039fe1553e4c9dd
(cherry picked from commit af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e)
</pre>
</div>
</content>
</entry>
<entry>
<title>NativeBridge: add "linked namespace" semantic corresponding to linker</title>
<updated>2017-03-30T00:34:11+00:00</updated>
<author>
<name>Zhenhua WANG</name>
<email>zhenhua.wang@intel.com</email>
</author>
<published>2017-02-27T02:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e8fb11dfa1b376124d0a1a349c8800799f25606a'/>
<id>e8fb11dfa1b376124d0a1a349c8800799f25606a</id>
<content type='text'>
For dynamic linking perspective, semantics of NativeBridge needs to
align with dynamic linker. This patch adds "linked namespace" semantic
which shares some libraries from one namespace to another.

Test: make test-art-host-run-test-115-native-bridge
Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For dynamic linking perspective, semantics of NativeBridge needs to
align with dynamic linker. This patch adds "linked namespace" semantic
which shares some libraries from one namespace to another.

Test: make test-art-host-run-test-115-native-bridge
Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow different namespace types for different classloaders</title>
<updated>2016-11-04T22:21:13+00:00</updated>
<author>
<name>Dimitry Ivanov</name>
<email>dimitry@google.com</email>
</author>
<published>2016-11-03T01:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=d836ab005a3fd70e477a01d4200483131a285c9a'/>
<id>d836ab005a3fd70e477a01d4200483131a285c9a</id>
<content type='text'>
An app should be able to make cross-arch calls to different apps
via other app's Context.getClassLoader()

Bug: 32542970
Test: Boot fugu. Check that there are no linker-namespace
      related errors in the log.

Change-Id: I1593f4688bcde0121a5e24a707441a4935fa7dc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An app should be able to make cross-arch calls to different apps
via other app's Context.getClassLoader()

Bug: 32542970
Test: Boot fugu. Check that there are no linker-namespace
      related errors in the log.

Change-Id: I1593f4688bcde0121a5e24a707441a4935fa7dc4
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade native bridge to version 3 to support namespace</title>
<updated>2016-10-25T18:11:38+00:00</updated>
<author>
<name>Zhenhua WANG</name>
<email>zhenhua.wang@intel.com</email>
</author>
<published>2016-05-30T03:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=f2804e59854c2c7e7d3d5b58f987e5ec5cdc5b66'/>
<id>f2804e59854c2c7e7d3d5b58f987e5ec5cdc5b66</id>
<content type='text'>
Native bridge implements namespace related interfaces in version 3.
The namespace semantic here is same as Android dynamic linker's.
Native loader wraps library loading functions of dynamic linker and
native bridge. Thus, Android runtime is able to load native library
of different ISA on one device by calling native loader directly.

Bug: http://b/28242460
Test: mm &amp;&amp; make test-art-host -j48
Change-Id: Idde2b9d99fb6ebe547407c716b5478a231f745a7
Signed-off-by: Zhenhua WANG &lt;zhenhua.wang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Native bridge implements namespace related interfaces in version 3.
The namespace semantic here is same as Android dynamic linker's.
Native loader wraps library loading functions of dynamic linker and
native bridge. Thus, Android runtime is able to load native library
of different ISA on one device by calling native loader directly.

Bug: http://b/28242460
Test: mm &amp;&amp; make test-art-host -j48
Change-Id: Idde2b9d99fb6ebe547407c716b5478a231f745a7
Signed-off-by: Zhenhua WANG &lt;zhenhua.wang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LibNativeBridge: Version 2</title>
<updated>2015-05-15T03:20:49+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2015-05-01T03:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=a6ac9ce98bd38099a4e89010111d14e4d5fc190e'/>
<id>a6ac9ce98bd38099a4e89010111d14e4d5fc190e</id>
<content type='text'>
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.

Add a callback function to check compatibility of the bridge with the
library.

Add a function to expose the native bridge version. Add a test for this
function.

Bug: 20217701
Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.

Add a callback function to check compatibility of the bridge with the
library.

Add a function to expose the native bridge version. Add a test for this
function.

Bug: 20217701
Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle code_cache dir creation in libnativebridge</title>
<updated>2014-10-27T15:03:13+00:00</updated>
<author>
<name>Calin Juravle</name>
<email>calin@google.com</email>
</author>
<published>2014-10-17T12:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=f9d9e2a2d96559c3165405d572b08e260156074a'/>
<id>f9d9e2a2d96559c3165405d572b08e260156074a</id>
<content type='text'>
Also:

- add kPreInitiliazed state to native bridge with check transition:
kOpened-&gt;kPreInitialized-&gt;kInitialized
- made sure we free the memory for the code_cache_path
- tidy up some error messages
- tidy up tests
- add a dummy native bridge to test with

Bug: 18027433
Bug: 18097480

Change-Id: I39f74c93580f2e224080dd3df2ffaa9cf9f8cd9c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:

- add kPreInitiliazed state to native bridge with check transition:
kOpened-&gt;kPreInitialized-&gt;kInitialized
- made sure we free the memory for the code_cache_path
- tidy up some error messages
- tidy up tests
- add a dummy native bridge to test with

Bug: 18027433
Bug: 18097480

Change-Id: I39f74c93580f2e224080dd3df2ffaa9cf9f8cd9c
</pre>
</div>
</content>
</entry>
<entry>
<title>LibNativeBridge: Add early init &amp; env setup</title>
<updated>2014-09-24T03:08:25+00:00</updated>
<author>
<name>jgu21</name>
<email>jinghui.gu@intel.com</email>
</author>
<published>2014-09-10T10:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=ab0da5a9a6860046619629b8e6b83692d35dff86'/>
<id>ab0da5a9a6860046619629b8e6b83692d35dff86</id>
<content type='text'>
Add a method to set up /proc/cpuinfo with enough privileges. Set
up the environment for an app in InitializeNativeBridge().

Turn on -Wall for libnativebridge.

Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a method to set up /proc/cpuinfo with enough privileges. Set
up the environment for an app in InitializeNativeBridge().

Turn on -Wall for libnativebridge.

Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
</pre>
</div>
</content>
</entry>
<entry>
<title>NativeBridge: Refactor for new initialization flow</title>
<updated>2014-09-04T19:57:54+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2014-09-03T04:17:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=035bd7541ed909344348b6a4e17a7ef01a434653'/>
<id>035bd7541ed909344348b6a4e17a7ef01a434653</id>
<content type='text'>
Setup becomes Load, have explicit Initialize and Unload.

Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setup becomes Load, have explicit Initialize and Unload.

Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
</pre>
</div>
</content>
</entry>
<entry>
<title>NativeBridge: Tighten security on libnativebridge</title>
<updated>2014-08-22T08:44:06+00:00</updated>
<author>
<name>Andreas Gampe</name>
<email>agampe@google.com</email>
</author>
<published>2014-08-20T05:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=049249ce7addafaa0bd09480cd8858cd2c54138f'/>
<id>049249ce7addafaa0bd09480cd8858cd2c54138f</id>
<content type='text'>
Do not allow arbitrary paths for the native bridge - only allow
simple names.

Do not allow re-setup of the native bridge.

Bug: 16404669

(cherry picked from commit cd2ef4c1af69727231b84ebc82864c170ff0e8ad)

Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not allow arbitrary paths for the native bridge - only allow
simple names.

Do not allow re-setup of the native bridge.

Bug: 16404669

(cherry picked from commit cd2ef4c1af69727231b84ebc82864c170ff0e8ad)

Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
</pre>
</div>
</content>
</entry>
</feed>
