blob: b9672f97bc5b346906419b1064329b33a44e69ea [file] [log] [blame]
// Copyright 2019 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.
library fuchsia.boot;
/// Protocol for providing the root job.
///
/// TODO(ZX-4072): Do not use this without first consulting the Zircon team.
[Discoverable, Layout = "Simple"]
protocol RootJob {
/// Get the root `job`.
Get() -> (handle<job> job);
};
/// Protocol for providing the root job with restricted rights, specifically:
/// INSPECT | ENUMERATE | DUPLICATE | TRANSFER
[Discoverable, Layout = "Simple"]
protocol RootJobForInspect {
compose RootJob;
};