github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/handle.txt (about) 1 # Copyright 2017 syzkaller project authors. All rights reserved. 2 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 # See https://cs.opensource.google/fuchsia/fuchsia/+/main:zircon/vdso/handle.fidl 5 6 include <zircon/syscalls.h> 7 8 resource zx_handle[int32]: ZX_HANDLE_INVALID 9 10 zx_handle_close(handle zx_handle) 11 zx_handle_close_many(handles ptr[in, array[zx_handle]], num_handles len[handles]) 12 zx_handle_duplicate(handle zx_handle, rights flags[zx_rights], out ptr[out, zx_handle]) 13 zx_handle_replace(handle zx_handle, rights flags[zx_rights], out ptr[out, zx_handle])