blob: f0be6a3f4241f54c13a88d07da6bae05c1956c4f [file] [log] [blame]
{
program: {
runner: "elf",
binary: "bin/miscsvc",
},
capabilities: [
{
protocol: [
"fuchsia.kernel.Counter",
"fuchsia.paver.Paver",
],
},
],
use: [
// For access to filesystem binaries under /boot/bin/ for mounting.
// For access to drivers under /boot/drivers/ for dynamic binding.
{
directory: "boot",
rights: [ "rx*" ],
path: "/boot",
},
// For block and skip-block device access.
{
directory: "dev",
rights: [ "rw*" ],
path: "/dev",
},
// TODO: Paver should create its own memfs instead, so this can eventually be removed.
{
directory: "volume",
rights: [
"admin",
"rw*",
],
path: "/volume",
},
{
protocol: [
// Services from bootsvc
"fuchsia.boot.Arguments",
"fuchsia.boot.WriteOnlyLog",
// Services from fshost
"fuchsia.fshost.BlockWatcher",
"fuchsia.fshost.Registry",
// Builtin service
"fuchsia.process.Launcher",
],
},
],
expose: [
{
protocol: [
"fuchsia.kernel.Counter",
"fuchsia.paver.Paver",
],
from: "self",
},
],
}