blob: 9a8959af48eae29fd48026f4d036b3e1810a7be2 [file] [log] [blame]
// Copyright 2020 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.kernel;
using zx;
/// Protocol for providing a `ZX_RSRC_KIND_SYSTEM` with base
/// `ZX_SYS_RSRC_BASE_VMEX` to programs that should be able to mark VMOs as
/// executable.
@discoverable
protocol VmexResource {
/// Get a VMEX resource handle as `resource`.
Get() -> (resource struct {
vmex_resource zx.handle:RESOURCE;
});
};