| { | |
| enable_introspection: true, | |
| security_policy: { | |
| capability_policy: [ | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.CpuResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.DebugResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console", | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.SamplingResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/cpu_profiler", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.DebuglogResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.HypervisorResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.InfoResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/base-drivers:**", | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IommuResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IoportResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IrqResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.MmioResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.MsiResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.PowerResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.RootJob", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| "/core/debugger/agents:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.RootJobForInspect", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.SmcResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.VmexResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-boot", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // process is used in userdebug builds to launch | |
| // shell binaries. It uses PackageResolver to resolve tools from packages. | |
| "/bootstrap/process_resolver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.TracingResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/trace_manager/ktrace_provider", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "bin", | |
| capability: "directory", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "blob", | |
| capability: "directory", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "data", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/core/remote-control", | |
| "/core/sshd-host", | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "tmp", | |
| capability: "directory", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "pkgfs", | |
| capability: "directory", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.garbagecollector.Manager", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.resolution.PackageResolver", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-base", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/process_resolver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-full", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| // Gives direct access to executable binaries. | |
| source_moniker: "/bootstrap/pkg-shell-commands", | |
| source: "component", | |
| source_name: "bin", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.RepositoryManager", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.rewrite.Engine", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.factory.lowpan.FactoryLookup", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.CountersConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.DeviceConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.DeviceExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.EnergyScanConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceRouteConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceRouteExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.LegacyJoiningConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.DatasetConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.FeatureConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.MeshcopConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/42080863): Remove once the shell tools that use this | |
| // capability no longer run in the sshd realm. | |
| "/toolbox", | |
| ], | |
| }, | |
| // TODO(https://fxbug.dev/534733256): Remove when capability is routed | |
| // via a dictionary. | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.debug.PacketCaptureProvider", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/toolbox", | |
| ], | |
| }, | |
| ], | |
| }, | |
| } |