| // Copyright 2021 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ "//sdk/lib/diagnostics/syslog/elf_stdio.shard.cml" ], |
| program: { |
| binary: "bin/network_context", |
| }, |
| capabilities: [ |
| { protocol: "fuchsia.netemul.network.NetworkContext" }, |
| ], |
| use: [ |
| { |
| directory: "dev", |
| rights: [ "r*" ], |
| path: "/dev", |
| }, |
| { |
| protocol: "fuchsia.net.tun.Control", |
| from: "parent", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.netemul.network.NetworkContext", |
| from: "self", |
| }, |
| ], |
| } |