blob: 9dc163c2a0a25e976944c5075bf38d85784b1f7f [file] [log] [blame] [view]
<link rel="stylesheet" href="../style.css" />
[TOC]
# fuchsia.ldsvc
<div class="fidl-version-div"><span class="fidl-attribute fidl-version">Added: 7</span></div>
## **PROTOCOLS**
## Loader {#Loader}
*Defined in [fuchsia.ldsvc/ldsvc.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.ldsvc/ldsvc.fidl;l=16)*
<p>See ///docs/zircon/program_loading.md for a more complete
description of this and related process bootstrapping protocols, and
for specifics about the default global loader service's
interpretation of names, paths, and configurations.</p>
### Clone {#Loader.Clone}
<p>Obtain a new loader service connection.</p>
#### Request {#Loader.Clone_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>loader</code></td>
<td>
<code>server_end&lt;<a class='link' href='#Loader'>Loader</a>&gt;</code>
</td>
</tr>
</table>
#### Response {#Loader.Clone_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>rv</code></td>
<td>
<code><a class='link' href='../zx/'>zx</a>/<a class='link' href='../zx/#status'>status</a></code>
</td>
</tr>
</table>
### Config {#Loader.Config}
<p>The dynamic linker sends a <code>config</code> identifying its load
configuration. This is intended to affect how later
<code>LoadObject</code> requests decide what particular implementation
file to supply for a given name.</p>
#### Request {#Loader.Config_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>config</code></td>
<td>
<code>string[1024]</code>
</td>
</tr>
</table>
#### Response {#Loader.Config_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>rv</code></td>
<td>
<code><a class='link' href='../zx/'>zx</a>/<a class='link' href='../zx/#status'>status</a></code>
</td>
</tr>
</table>
### Done {#Loader.Done}
<p>Cleanly shutdown the connection to the Loader service.</p>
#### Request {#Loader.Done_Request}
&lt;EMPTY&gt;
### LoadObject {#Loader.LoadObject}
<p>The dynamic linker sends <code>object_name</code> and gets back a VMO
handle containing the file.</p>
#### Request {#Loader.LoadObject_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>object_name</code></td>
<td>
<code>string[1024]</code>
</td>
</tr>
</table>
#### Response {#Loader.LoadObject_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>rv</code></td>
<td>
<code><a class='link' href='../zx/'>zx</a>/<a class='link' href='../zx/#status'>status</a></code>
</td>
</tr>
<tr>
<td><code>object</code></td>
<td>
<code>handle&lt;vmo&gt;?</code>
</td>
</tr>
</table>