blob: 76be91d6b8189a0cc510d0e59b2ddff2004c8d7b [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;
using zx;
/// Protocol for providing the root job.
///
/// TODO(ZX-4072): Do not use this without first consulting the Zircon team.
[Discoverable, ForDeprecatedCBindings]
protocol RootJob {
/// Get the root `job`.
Get() -> (zx.handle:JOB job);
};
/// Protocol for providing the root job with restricted rights, specifically:
/// INSPECT | ENUMERATE | DUPLICATE | TRANSFER
[Discoverable, ForDeprecatedCBindings]
protocol RootJobForInspect {
compose RootJob;
};