blob: 95d2fff51995912eaae1e0375c8fcfc48ea3caf0 [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 test.policy;
using zx;
[Discoverable]
protocol ProtectedOperations {
// Attempts to use zx_vmo_replace_as_executable on the given VMO handle using an invalid
// resource handle, which exercises the ZX_POL_AMBIENT_MARK_VMO_EXEC job policy.
AmbientReplaceAsExecutable(zx.handle:VMO vmo) -> (zx.handle:VMO vmo) error zx.status;
};