<br />

Added: 7

## **PROTOCOLS**

## Loader

*Defined in [fuchsia.ldsvc/ldsvc.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.ldsvc/ldsvc.fidl;l=15)*

See //docs/concepts/process/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.

<br />

### Clone

Obtain a new loader service connection.

#### Request

| Name | Type |
|---|---|
| `loader` | `server_end:https://fuchsia.dev/reference/fidl/fuchsia.ldsvc#Loader` |

#### Response

| Name | Type |
|---|---|
| `rv` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Result` |

### Config

The dynamic linker sends a `config` identifying its load
configuration. This is intended to affect how later
`LoadObject` requests decide what particular implementation
file to supply for a given name.

#### Request

| Name | Type |
|---|---|
| `config` | `string:1024` |

#### Response

| Name | Type |
|---|---|
| `rv` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Result` |

### Done

Cleanly shutdown the connection to the Loader service.

#### Request

\<EMPTY\>

### LoadObject

The dynamic linker sends `object_name` and gets back a VMO
handle containing the file.

#### Request

| Name | Type |
|---|---|
| `object_name` | `string:1024` |

#### Response

| Name | Type |
|---|---|
| `rv` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Result` |
| `object` | `handle<vmo>?` |