| { | |
| security_policy: { | |
| job_policy: { | |
| main_process_critical: [ | |
| "/bootstrap/archivist", | |
| "/bootstrap/devfs", | |
| "/bootstrap/devfs-with-pkg", | |
| "/bootstrap/driver_manager", | |
| "/bootstrap/power_manager", | |
| "/bootstrap/shutdown_shim", | |
| ], | |
| }, | |
| capability_policy: [ | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.CpuResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/base-drivers:cpu-controller-f521000", | |
| "/bootstrap/boot-drivers:**", | |
| "/bootstrap/power_manager", | |
| "/bootstrap/cpu_manager", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.DebugResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/kernel_debug_broker", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.DebuglogResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console", | |
| "/bootstrap/svchost", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.HypervisorResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.InfoResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/sysmem", | |
| "/bootstrap/boot-drivers:**", | |
| "/bootstrap/console-launcher", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IommuResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/sysmem", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IoportResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.IrqResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.RootJob", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/netsvc", | |
| "/bootstrap/critical-services", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.RootJobForInspect", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/netsvc", | |
| "/core/feedback", | |
| "/core/memory_monitor", | |
| "/core/memory_monitor2", | |
| "/core/memory_pressure_signaler", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.MmioResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/sysmem", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.MsiResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.ProfileResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/role_manager", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.PowerResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/driver_manager", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.SmcResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/boot-drivers:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.TracingResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/kernel_debug_broker", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.SamplingResource", | |
| capability: "protocol", | |
| target_monikers: [], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.kernel.VmexResource", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/fshost/blobfs", | |
| "/bootstrap/fshost/fvm2/blobfs-collection:**", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| source_moniker: "<component_manager>", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-boot", | |
| capability: "protocol", | |
| target_monikers: [], | |
| }, | |
| { | |
| // Exposes unredacted system logs prior to redaction by Feedback. | |
| source_moniker: "/bootstrap/archivist", | |
| source: "component", | |
| source_name: "fuchsia.diagnostics.ArchiveAccessor.logs", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/feedback", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/archivist", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "blob", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/fshost", | |
| "/core/system-update/system-updater", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "data", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/fshost", | |
| "/core", | |
| "/core/minfs", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost", | |
| source: "component", | |
| source_name: "tmp", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/bootstrap", | |
| "/bootstrap/console-launcher", | |
| "/bootstrap/fshost", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/bootstrap/fshost/blobfs", | |
| source: "component", | |
| source_name: "blob-exec", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/bootstrap/fshost", | |
| "/bootstrap/fshost/blobfs", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // pkgfs no longer contains package directories, but it is deprecated. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "pkgfs", | |
| capability: "directory", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/294908859): Use optional routing to remove this route | |
| // on user builds. | |
| "/bootstrap/console-launcher", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Provides access to executable package handles. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.component.resolution.Resolver-base", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/driver_index", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Gives access to executable package handles which can bypass VX security policy. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.component.resolution.Resolver-full", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Gives access to executable package handles which can bypass VX security policy. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageCache", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/pkg-resolver", | |
| "/core/system-update/system-updater", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Gives access to executable package handles. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-base", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Gives access to executable package handles which can bypass VX security policy. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-full", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/294908859) Use optional routing to remove this route | |
| // on non-eng builds. | |
| // Use of this capability is controlled by kernel command line options | |
| // https://cs.opensource.google/fuchsia/fuchsia/+/main:src/bringup/bin/console-launcher/console_launcher.cc;l=53;drc=2abb92a67d8528b484e1c8ee49bdc8badeaec184 | |
| "/bootstrap/console-launcher", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Writes files to blobfs. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-ota", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/system-updater", | |
| "/core/system-update/system-update-checker", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Interferes with OTA. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.RetainedBlobs", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/system-updater", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Interferes with OTA. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.RetainedPackages", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/system-updater", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Deletes blobs from blobfs, which interferes with OTA. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.garbagecollector.Manager", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/system-update-checker", | |
| "/core/system-update/system-updater", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Writes files to blobfs. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.internal.OtaDownloader", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/system-updater", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Writes files to blobfs. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "fuchsia.pkg.resolution.PackageResolver", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap/pkg-cache", | |
| ], | |
| }, | |
| { | |
| // Gives access to executable package handles which can bypass VX security policy. | |
| source_moniker: "/bootstrap/pkg-cache", | |
| source: "component", | |
| source_name: "full_resolver", | |
| capability: "resolver", | |
| target_monikers: [], | |
| }, | |
| { | |
| // Gives direct access to executable binaries. | |
| source_moniker: "/bootstrap/pkg-shell-commands", | |
| source: "component", | |
| source_name: "bin", | |
| capability: "directory", | |
| target_monikers: [ | |
| "/bootstrap/console-launcher", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/bootstrap", | |
| "/bootstrap/pkg-shell-commands", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // We restrict access to Resolver because it gives direct access to package | |
| // handles which provide executability which bypasses VX security policy. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.component.resolution.Resolver", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.Authority", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/pkg-cache", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core", | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.Cup", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/system-update/omaha-client-service", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // We restrict access to PackageResolver because it gives direct access to package | |
| // handles which provide executability which bypasses VX security policy. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // Can write files to blobfs and interfere with OTA. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.PackageResolver-ota", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // This capability is disabled on user builds by pkg-resolver itself. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.RepositoryManager", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/console-launcher", | |
| "/core/system-update/system-update-checker", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core", | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // Writes files to blobfs and interferes with OTA. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.internal.OtaDownloader", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // Writes files to blobfs. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.resolution.PackageResolver", | |
| capability: "protocol", | |
| target_monikers: [ | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // This capability is disabled on user builds by pkg-resolver itself. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "fuchsia.pkg.rewrite.Engine", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/bootstrap/console-launcher", | |
| // TODO(https://fxbug.dev/303275551): Needed for use-from-expose. | |
| "/core", | |
| "/core/pkg-resolver", | |
| ], | |
| }, | |
| { | |
| // TODO(https://fxbug.dev/542690944): Remove pkg-resolver capabilities when deleted. | |
| // Enforce that full-resolver is only used on builds that explicitly enable it. | |
| source_moniker: "/core/pkg-resolver", | |
| source: "component", | |
| source_name: "full-resolver", | |
| capability: "resolver", | |
| target_monikers: [], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.factory.lowpan.FactoryLookup", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.CountersConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.DeviceConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.DeviceExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.device.EnergyScanConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceRouteConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| "/core/lowpan-ot-driver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.DeviceRouteExtraConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| "/core/lowpan-ot-driver", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.LegacyJoiningConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.experimental.TelemetryProviderConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.CapabilitiesConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.DatasetConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.EpskcConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.FeatureConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/lowpanservice", | |
| source: "component", | |
| source_name: "fuchsia.lowpan.thread.MeshcopConnector", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/lowpanservice", | |
| ], | |
| }, | |
| // TODO(https://fxbug.dev/534733256): Remove when capability is included | |
| // in a dictionary exposed to core instead of on its own. | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.debug.PacketCaptureProvider", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| ], | |
| }, | |
| // NB: Consult Netstack team before routing the following protocols | |
| // as there may be alternatives available. | |
| // TODO(https://fxbug.dev/42175379): once product assembly supports product-specific | |
| // components running in the network realm, remove this policy. | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.posix.socket.raw.Provider", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| "/core/network/socket-proxy", | |
| "/core/lowpan-ot-driver", | |
| "/core/test_manager", | |
| "/core/testing/starnix-tests:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.root.Interfaces", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| "/core/testing/netstack-tests:**", | |
| // TODO(https://fxbug.dev/42062982): Move away from Root API. | |
| "/core/weavestack", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.debug.Interfaces", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| "/core/network/reachability", | |
| "/core/testing/netstack-tests:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.posix.socket.packet.Provider", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/dhcp-client", | |
| "/core/network/dhcpd", | |
| "/core/network/netstack", | |
| "/core/testing/netstack-tests:**", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.filter.Control", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| "/core/network/netcfg", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netstack", | |
| source: "component", | |
| source_name: "fuchsia.net.filter.SocketControl", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netstack", | |
| ], | |
| }, | |
| { | |
| source_moniker: "/core/network/netcfg", | |
| source: "component", | |
| source_name: "fuchsia.net.name.DnsServerWatcher", | |
| capability: "protocol", | |
| target_monikers: [ | |
| "/core/network", | |
| "/core/network/netcfg", | |
| // TODO(https://fxbug.dev/42175016): This is temporary until the new DNS | |
| // configuration API is designed. | |
| "/core/lowpan-ot-driver", | |
| ], | |
| }, | |
| ], | |
| child_policy: { | |
| reboot_on_terminate: [ | |
| "/bootstrap/cpu_manager", | |
| "/bootstrap/driver_index", | |
| "/bootstrap/fshost", | |
| "/bootstrap/pkg-cache", | |
| "/bootstrap/sysmem", | |
| "/core/audio_core", | |
| "/core/network/netstack", | |
| "/core/network/socket-proxy", | |
| "/core/setui_service", | |
| "/core/system-update/omaha-client-service", | |
| "/core/system-update/system-update-checker", | |
| "/core/system-update/system-update-committer", | |
| "/core/wlancfg", | |
| "/core/wlandevicemonitor", | |
| ], | |
| }, | |
| }, | |
| } |