blob: 762ef6f3625d57c1ad49db34711cd9649bf2407b [file] [log] [blame]
// Copyright 2022 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.
// Passes routes from the expose across to a child which attempts to increase its rights on
// the read only directory.
{
children: [
{
name: "use_dir_rights",
url: "fuchsia-pkg://fuchsia.com/rights_integration_test#meta/invalid_intermediate_offer_dir_rights.cm",
},
{
name: "expose_dir_rights",
url: "fuchsia-pkg://fuchsia.com/rights_integration_test#meta/expose_dir_rights.cm",
},
],
offer: [
{
directory: "read_only",
from: "#expose_dir_rights",
to: "#use_dir_rights",
},
{
directory: "read_write",
from: "#expose_dir_rights",
to: "#use_dir_rights",
},
{
directory: "read_exec",
from: "#expose_dir_rights",
to: "#use_dir_rights",
rights: [ "rx*" ],
},
{
directory: "read_only_after_scoped",
from: "#expose_dir_rights",
to: "#use_dir_rights",
},
],
expose: [
{
protocol: "fidl.test.components.Trigger",
from: "#use_dir_rights",
},
],
}