syzkaller/sys/fuchsia/fidl_io.txt
Dokyung Song 99c7e4ecfa sys/fuchsia: describe method response types & handles; add support for union
* create a response handle structure for each FIDL method
* generate zx_channel_write for requests having no response
* generate zx_channel_read for events (no request but just response)
* translate FIDL union types to syzkaller union types
  (see fuchsia_io_ObjectInfoHandles)
2018-08-29 19:08:11 -07:00

708 lines
30 KiB
Plaintext

# Copyright 2018 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.
#
# WARNING: This file is machine generated by fidlgen.
include <fuchsia/io/c/fidl.h>
fuchsia_io_SeekOrigin = fuchsia_io_SeekOrigin_Start, fuchsia_io_SeekOrigin_Current, fuchsia_io_SeekOrigin_End
fuchsia_io_FileObjectHandles {
event zx_event
} [packed]
fuchsia_io_PipeHandles {
socket zx_socket
} [packed]
fuchsia_io_VmofileHandles {
vmo zx_vmo
} [packed]
fuchsia_io_DeviceHandles {
event zx_event
} [packed]
fuchsia_io_NodeAttributesInLine {
mode int32
id int64
content_size int64
storage_size int64
link_count int64
creation_time int64
modification_time int64
} [packed]
fuchsia_io_ObjectInfoHandles [
file fuchsia_io_FileObjectHandles
pipe fuchsia_io_PipeHandles
vmofile fuchsia_io_VmofileHandles
device fuchsia_io_DeviceHandles
] [varlen]
fuchsia_io_ObjectCloneRequest {
hdr fidl_message_header[2147483649]
flags_ int32
object flags[fidl_handle_presence, int32]
} [packed]
fuchsia_io_ObjectCloneRequestHandles {
object zx_chan_fuchsia_io_Object_server
} [packed]
fuchsia_io_ObjectCloseRequest {
hdr fidl_message_header[2147483650]
} [packed]
fuchsia_io_ObjectCloseRequestHandles {
void void
} [packed]
fuchsia_io_ObjectCloseResponseHandles {
void void
} [packed]
fuchsia_io_ObjectBindRequest {
hdr fidl_message_header[2147483653]
interface_nameInLine fidl_string
interface_nameOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_ObjectBindRequestHandles {
void void
} [packed]
fuchsia_io_ObjectDescribeRequest {
hdr fidl_message_header[2147483654]
} [packed]
fuchsia_io_ObjectDescribeRequestHandles {
void void
} [packed]
fuchsia_io_ObjectDescribeResponseHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_ObjectOnOpenEventHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
resource zx_chan_fuchsia_io_Object_client[zx_chan]
resource zx_chan_fuchsia_io_Object_server[zx_chan]
zx_channel_create$fuchsia_io_Object(options const[0], out0 ptr[out, zx_chan_fuchsia_io_Object_client], out1 ptr[out, zx_chan_fuchsia_io_Object_server])
fdio_service_connect$fuchsia_io_Object(path ptr[in, string["/svc/"]], handle zx_chan_fuchsia_io_Object_server)
zx_channel_write$fuchsia_io_ObjectClone(handle zx_chan_fuchsia_io_Object_client, options const[0], bytes ptr[in, fuchsia_io_ObjectCloneRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_ObjectCloneRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_ObjectClose(handle zx_chan_fuchsia_io_Object_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_ObjectCloseRequest, fuchsia_io_ObjectCloseRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_ObjectCloseResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_write$fuchsia_io_ObjectBind(handle zx_chan_fuchsia_io_Object_client, options const[0], bytes ptr[in, fuchsia_io_ObjectBindRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_ObjectBindRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_ObjectDescribe(handle zx_chan_fuchsia_io_Object_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_ObjectDescribeRequest, fuchsia_io_ObjectDescribeRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_ObjectDescribeResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_io_ObjectOnOpen(handle zx_chan_fuchsia_io_Object_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_io_ObjectOnOpenEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
fuchsia_io_NodeCloneRequest {
hdr fidl_message_header[2147483649]
flags_ int32
object flags[fidl_handle_presence, int32]
} [packed]
fuchsia_io_NodeCloneRequestHandles {
object zx_chan_fuchsia_io_Object_server
} [packed]
fuchsia_io_NodeCloseRequest {
hdr fidl_message_header[2147483650]
} [packed]
fuchsia_io_NodeCloseRequestHandles {
void void
} [packed]
fuchsia_io_NodeCloseResponseHandles {
void void
} [packed]
fuchsia_io_NodeBindRequest {
hdr fidl_message_header[2147483653]
interface_nameInLine fidl_string
interface_nameOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_NodeBindRequestHandles {
void void
} [packed]
fuchsia_io_NodeDescribeRequest {
hdr fidl_message_header[2147483654]
} [packed]
fuchsia_io_NodeDescribeRequestHandles {
void void
} [packed]
fuchsia_io_NodeDescribeResponseHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_NodeOnOpenEventHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_NodeSyncRequest {
hdr fidl_message_header[2164260865]
} [packed]
fuchsia_io_NodeSyncRequestHandles {
void void
} [packed]
fuchsia_io_NodeSyncResponseHandles {
void void
} [packed]
fuchsia_io_NodeGetAttrRequest {
hdr fidl_message_header[2164260866]
} [packed]
fuchsia_io_NodeGetAttrRequestHandles {
void void
} [packed]
fuchsia_io_NodeGetAttrResponseHandles {
void void
} [packed]
fuchsia_io_NodeSetAttrRequest {
hdr fidl_message_header[2164260867]
flags_ int32
attributesInLine fuchsia_io_NodeAttributesInLine
} [packed]
fuchsia_io_NodeSetAttrRequestHandles {
void void
} [packed]
fuchsia_io_NodeSetAttrResponseHandles {
void void
} [packed]
fuchsia_io_NodeIoctlRequest {
hdr fidl_message_header[2164260868]
opcode int32
max_out int64
handlesInLine fidl_vector
inInLine fidl_vector
handlesOutOfLine array[flags[fidl_handle_presence, int32]]
inOutOfLine array[int8]
} [packed]
fuchsia_io_NodeIoctlRequestHandles {
handles array[zx_handle]
} [packed]
fuchsia_io_NodeIoctlResponseHandles {
handles array[zx_handle]
} [packed]
resource zx_chan_fuchsia_io_Node_client[zx_chan]
resource zx_chan_fuchsia_io_Node_server[zx_chan]
zx_channel_create$fuchsia_io_Node(options const[0], out0 ptr[out, zx_chan_fuchsia_io_Node_client], out1 ptr[out, zx_chan_fuchsia_io_Node_server])
fdio_service_connect$fuchsia_io_Node(path ptr[in, string["/svc/"]], handle zx_chan_fuchsia_io_Node_server)
zx_channel_write$fuchsia_io_NodeClone(handle zx_chan_fuchsia_io_Node_client, options const[0], bytes ptr[in, fuchsia_io_NodeCloneRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_NodeCloneRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_NodeClose(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeCloseRequest, fuchsia_io_NodeCloseRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeCloseResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_write$fuchsia_io_NodeBind(handle zx_chan_fuchsia_io_Node_client, options const[0], bytes ptr[in, fuchsia_io_NodeBindRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_NodeBindRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_NodeDescribe(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeDescribeRequest, fuchsia_io_NodeDescribeRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeDescribeResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_io_NodeOnOpen(handle zx_chan_fuchsia_io_Node_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_io_NodeOnOpenEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_NodeSync(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeSyncRequest, fuchsia_io_NodeSyncRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeSyncResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_NodeGetAttr(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeGetAttrRequest, fuchsia_io_NodeGetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeGetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_NodeSetAttr(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeSetAttrRequest, fuchsia_io_NodeSetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeSetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_NodeIoctl(handle zx_chan_fuchsia_io_Node_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_NodeIoctlRequest, fuchsia_io_NodeIoctlRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_NodeIoctlResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
fuchsia_io_FileCloneRequest {
hdr fidl_message_header[2147483649]
flags_ int32
object flags[fidl_handle_presence, int32]
} [packed]
fuchsia_io_FileCloneRequestHandles {
object zx_chan_fuchsia_io_Object_server
} [packed]
fuchsia_io_FileCloseRequest {
hdr fidl_message_header[2147483650]
} [packed]
fuchsia_io_FileCloseRequestHandles {
void void
} [packed]
fuchsia_io_FileCloseResponseHandles {
void void
} [packed]
fuchsia_io_FileBindRequest {
hdr fidl_message_header[2147483653]
interface_nameInLine fidl_string
interface_nameOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_FileBindRequestHandles {
void void
} [packed]
fuchsia_io_FileDescribeRequest {
hdr fidl_message_header[2147483654]
} [packed]
fuchsia_io_FileDescribeRequestHandles {
void void
} [packed]
fuchsia_io_FileDescribeResponseHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_FileOnOpenEventHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_FileSyncRequest {
hdr fidl_message_header[2164260865]
} [packed]
fuchsia_io_FileSyncRequestHandles {
void void
} [packed]
fuchsia_io_FileSyncResponseHandles {
void void
} [packed]
fuchsia_io_FileGetAttrRequest {
hdr fidl_message_header[2164260866]
} [packed]
fuchsia_io_FileGetAttrRequestHandles {
void void
} [packed]
fuchsia_io_FileGetAttrResponseHandles {
void void
} [packed]
fuchsia_io_FileSetAttrRequest {
hdr fidl_message_header[2164260867]
flags_ int32
attributesInLine fuchsia_io_NodeAttributesInLine
} [packed]
fuchsia_io_FileSetAttrRequestHandles {
void void
} [packed]
fuchsia_io_FileSetAttrResponseHandles {
void void
} [packed]
fuchsia_io_FileIoctlRequest {
hdr fidl_message_header[2164260868]
opcode int32
max_out int64
handlesInLine fidl_vector
inInLine fidl_vector
handlesOutOfLine array[flags[fidl_handle_presence, int32]]
inOutOfLine array[int8]
} [packed]
fuchsia_io_FileIoctlRequestHandles {
handles array[zx_handle]
} [packed]
fuchsia_io_FileIoctlResponseHandles {
handles array[zx_handle]
} [packed]
fuchsia_io_FileReadRequest {
hdr fidl_message_header[2181038081]
count int64
} [packed]
fuchsia_io_FileReadRequestHandles {
void void
} [packed]
fuchsia_io_FileReadResponseHandles {
void void
} [packed]
fuchsia_io_FileReadAtRequest {
hdr fidl_message_header[2181038082]
count int64
offset int64
} [packed]
fuchsia_io_FileReadAtRequestHandles {
void void
} [packed]
fuchsia_io_FileReadAtResponseHandles {
void void
} [packed]
fuchsia_io_FileWriteRequest {
hdr fidl_message_header[2181038083]
dataInLine fidl_vector
dataOutOfLine array[int8]
} [packed]
fuchsia_io_FileWriteRequestHandles {
void void
} [packed]
fuchsia_io_FileWriteResponseHandles {
void void
} [packed]
fuchsia_io_FileWriteAtRequest {
hdr fidl_message_header[2181038084]
dataInLine fidl_vector
offset int64
dataOutOfLine array[int8]
} [packed]
fuchsia_io_FileWriteAtRequestHandles {
void void
} [packed]
fuchsia_io_FileWriteAtResponseHandles {
void void
} [packed]
fuchsia_io_FileSeekRequest {
hdr fidl_message_header[2181038085]
offset int64
start flags[fuchsia_io_SeekOrigin, int32]
} [packed]
fuchsia_io_FileSeekRequestHandles {
void void
} [packed]
fuchsia_io_FileSeekResponseHandles {
void void
} [packed]
fuchsia_io_FileTruncateRequest {
hdr fidl_message_header[2181038086]
length int64
} [packed]
fuchsia_io_FileTruncateRequestHandles {
void void
} [packed]
fuchsia_io_FileTruncateResponseHandles {
void void
} [packed]
fuchsia_io_FileGetFlagsRequest {
hdr fidl_message_header[2181038087]
} [packed]
fuchsia_io_FileGetFlagsRequestHandles {
void void
} [packed]
fuchsia_io_FileGetFlagsResponseHandles {
void void
} [packed]
fuchsia_io_FileSetFlagsRequest {
hdr fidl_message_header[2181038088]
flags_ int32
} [packed]
fuchsia_io_FileSetFlagsRequestHandles {
void void
} [packed]
fuchsia_io_FileSetFlagsResponseHandles {
void void
} [packed]
fuchsia_io_FileGetVmoRequest {
hdr fidl_message_header[2181038089]
flags_ int32
} [packed]
fuchsia_io_FileGetVmoRequestHandles {
void void
} [packed]
fuchsia_io_FileGetVmoResponseHandles {
vmo zx_vmo
} [packed]
fuchsia_io_FileGetVmoAtRequest {
hdr fidl_message_header[2181038090]
flags_ int32
offset int64
length int64
} [packed]
fuchsia_io_FileGetVmoAtRequestHandles {
void void
} [packed]
fuchsia_io_FileGetVmoAtResponseHandles {
vmo zx_vmo
} [packed]
resource zx_chan_fuchsia_io_File_client[zx_chan]
resource zx_chan_fuchsia_io_File_server[zx_chan]
zx_channel_create$fuchsia_io_File(options const[0], out0 ptr[out, zx_chan_fuchsia_io_File_client], out1 ptr[out, zx_chan_fuchsia_io_File_server])
fdio_service_connect$fuchsia_io_File(path ptr[in, string["/svc/"]], handle zx_chan_fuchsia_io_File_server)
zx_channel_write$fuchsia_io_FileClone(handle zx_chan_fuchsia_io_File_client, options const[0], bytes ptr[in, fuchsia_io_FileCloneRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_FileCloneRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_FileClose(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileCloseRequest, fuchsia_io_FileCloseRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileCloseResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_write$fuchsia_io_FileBind(handle zx_chan_fuchsia_io_File_client, options const[0], bytes ptr[in, fuchsia_io_FileBindRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_FileBindRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_FileDescribe(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileDescribeRequest, fuchsia_io_FileDescribeRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileDescribeResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_io_FileOnOpen(handle zx_chan_fuchsia_io_File_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_io_FileOnOpenEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileSync(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileSyncRequest, fuchsia_io_FileSyncRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileSyncResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileGetAttr(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileGetAttrRequest, fuchsia_io_FileGetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileGetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileSetAttr(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileSetAttrRequest, fuchsia_io_FileSetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileSetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileIoctl(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileIoctlRequest, fuchsia_io_FileIoctlRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileIoctlResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileRead(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileReadRequest, fuchsia_io_FileReadRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileReadResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileReadAt(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileReadAtRequest, fuchsia_io_FileReadAtRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileReadAtResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileWrite(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileWriteRequest, fuchsia_io_FileWriteRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileWriteResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileWriteAt(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileWriteAtRequest, fuchsia_io_FileWriteAtRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileWriteAtResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileSeek(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileSeekRequest, fuchsia_io_FileSeekRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileSeekResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileTruncate(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileTruncateRequest, fuchsia_io_FileTruncateRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileTruncateResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileGetFlags(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileGetFlagsRequest, fuchsia_io_FileGetFlagsRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileGetFlagsResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileSetFlags(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileSetFlagsRequest, fuchsia_io_FileSetFlagsRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileSetFlagsResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileGetVmo(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileGetVmoRequest, fuchsia_io_FileGetVmoRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileGetVmoResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_FileGetVmoAt(handle zx_chan_fuchsia_io_File_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_FileGetVmoAtRequest, fuchsia_io_FileGetVmoAtRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_FileGetVmoAtResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
fuchsia_io_DirectoryCloneRequest {
hdr fidl_message_header[2147483649]
flags_ int32
object flags[fidl_handle_presence, int32]
} [packed]
fuchsia_io_DirectoryCloneRequestHandles {
object zx_chan_fuchsia_io_Object_server
} [packed]
fuchsia_io_DirectoryCloseRequest {
hdr fidl_message_header[2147483650]
} [packed]
fuchsia_io_DirectoryCloseRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryCloseResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryBindRequest {
hdr fidl_message_header[2147483653]
interface_nameInLine fidl_string
interface_nameOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_DirectoryBindRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryDescribeRequest {
hdr fidl_message_header[2147483654]
} [packed]
fuchsia_io_DirectoryDescribeRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryDescribeResponseHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_DirectoryOnOpenEventHandles {
info fuchsia_io_ObjectInfoHandles
} [packed]
fuchsia_io_DirectorySyncRequest {
hdr fidl_message_header[2164260865]
} [packed]
fuchsia_io_DirectorySyncRequestHandles {
void void
} [packed]
fuchsia_io_DirectorySyncResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryGetAttrRequest {
hdr fidl_message_header[2164260866]
} [packed]
fuchsia_io_DirectoryGetAttrRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryGetAttrResponseHandles {
void void
} [packed]
fuchsia_io_DirectorySetAttrRequest {
hdr fidl_message_header[2164260867]
flags_ int32
attributesInLine fuchsia_io_NodeAttributesInLine
} [packed]
fuchsia_io_DirectorySetAttrRequestHandles {
void void
} [packed]
fuchsia_io_DirectorySetAttrResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryIoctlRequest {
hdr fidl_message_header[2164260868]
opcode int32
max_out int64
handlesInLine fidl_vector
inInLine fidl_vector
handlesOutOfLine array[flags[fidl_handle_presence, int32]]
inOutOfLine array[int8]
} [packed]
fuchsia_io_DirectoryIoctlRequestHandles {
handles array[zx_handle]
} [packed]
fuchsia_io_DirectoryIoctlResponseHandles {
handles array[zx_handle]
} [packed]
fuchsia_io_DirectoryOpenRequest {
hdr fidl_message_header[2197815297]
flags_ int32
mode int32
pathInLine fidl_string
object flags[fidl_handle_presence, int32]
pathOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_DirectoryOpenRequestHandles {
object zx_chan_fuchsia_io_Object_server
} [packed]
fuchsia_io_DirectoryUnlinkRequest {
hdr fidl_message_header[2197815298]
pathInLine fidl_string
pathOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_DirectoryUnlinkRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryUnlinkResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryReadDirentsRequest {
hdr fidl_message_header[2197815299]
max_out int64
} [packed]
fuchsia_io_DirectoryReadDirentsRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryReadDirentsResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryRewindRequest {
hdr fidl_message_header[2197815300]
} [packed]
fuchsia_io_DirectoryRewindRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryRewindResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryGetTokenRequest {
hdr fidl_message_header[2197815301]
} [packed]
fuchsia_io_DirectoryGetTokenRequestHandles {
void void
} [packed]
fuchsia_io_DirectoryGetTokenResponseHandles {
token zx_handle
} [packed]
fuchsia_io_DirectoryRenameRequest {
hdr fidl_message_header[2197815302]
srcInLine fidl_string
dst_parent_token flags[fidl_handle_presence, int32]
dstInLine fidl_string
srcOutOfLine fidl_aligned[stringnoz]
dstOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_DirectoryRenameRequestHandles {
dst_parent_token zx_handle
} [packed]
fuchsia_io_DirectoryRenameResponseHandles {
void void
} [packed]
fuchsia_io_DirectoryLinkRequest {
hdr fidl_message_header[2197815303]
srcInLine fidl_string
dst_parent_token flags[fidl_handle_presence, int32]
dstInLine fidl_string
srcOutOfLine fidl_aligned[stringnoz]
dstOutOfLine fidl_aligned[stringnoz]
} [packed]
fuchsia_io_DirectoryLinkRequestHandles {
dst_parent_token zx_handle
} [packed]
fuchsia_io_DirectoryLinkResponseHandles {
void void
} [packed]
resource zx_chan_fuchsia_io_Directory_client[zx_chan]
resource zx_chan_fuchsia_io_Directory_server[zx_chan]
zx_channel_create$fuchsia_io_Directory(options const[0], out0 ptr[out, zx_chan_fuchsia_io_Directory_client], out1 ptr[out, zx_chan_fuchsia_io_Directory_server])
fdio_service_connect$fuchsia_io_Directory(path ptr[in, string["/svc/"]], handle zx_chan_fuchsia_io_Directory_server)
zx_channel_write$fuchsia_io_DirectoryClone(handle zx_chan_fuchsia_io_Directory_client, options const[0], bytes ptr[in, fuchsia_io_DirectoryCloneRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_DirectoryCloneRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_DirectoryClose(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryCloseRequest, fuchsia_io_DirectoryCloseRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryCloseResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_write$fuchsia_io_DirectoryBind(handle zx_chan_fuchsia_io_Directory_client, options const[0], bytes ptr[in, fuchsia_io_DirectoryBindRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_DirectoryBindRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_DirectoryDescribe(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryDescribeRequest, fuchsia_io_DirectoryDescribeRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryDescribeResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_read$fuchsia_io_DirectoryOnOpen(handle zx_chan_fuchsia_io_Directory_client, options const[0], bytes ptr[out, array[int8, ZX_CHANNEL_MAX_MSG_BYTES]], num_bytes bytesize[bytes], handles ptr[out, fuchsia_io_DirectoryOnOpenEventHandles], num_handles bytesize[handles], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectorySync(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectorySyncRequest, fuchsia_io_DirectorySyncRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectorySyncResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryGetAttr(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryGetAttrRequest, fuchsia_io_DirectoryGetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryGetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectorySetAttr(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectorySetAttrRequest, fuchsia_io_DirectorySetAttrRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectorySetAttrResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryIoctl(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryIoctlRequest, fuchsia_io_DirectoryIoctlRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryIoctlResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_write$fuchsia_io_DirectoryOpen(handle zx_chan_fuchsia_io_Directory_client, options const[0], bytes ptr[in, fuchsia_io_DirectoryOpenRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_io_DirectoryOpenRequestHandles], num_handles bytesize[handles])
zx_channel_call$fuchsia_io_DirectoryUnlink(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryUnlinkRequest, fuchsia_io_DirectoryUnlinkRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryUnlinkResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryReadDirents(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryReadDirentsRequest, fuchsia_io_DirectoryReadDirentsRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryReadDirentsResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryRewind(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryRewindRequest, fuchsia_io_DirectoryRewindRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryRewindResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryGetToken(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryGetTokenRequest, fuchsia_io_DirectoryGetTokenRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryGetTokenResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryRename(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryRenameRequest, fuchsia_io_DirectoryRenameRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryRenameResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
zx_channel_call$fuchsia_io_DirectoryLink(handle zx_chan_fuchsia_io_Directory_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_io_DirectoryLinkRequest, fuchsia_io_DirectoryLinkRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_io_DirectoryLinkResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])