github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/fuchsia_process.syz.txt (about)

     1  # Copyright 2018 The Fuchsia Authors. All rights reserved.
     2  # Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
     3  #
     4  # WARNING: This file is machine generated by fidlgen.
     5  
     6  include <fuchsia/process/c/fidl.h>
     7  
     8  fuchsia_process_HandleInfoInLine {
     9  	handle	flags[fidl_handle_presence, int32]
    10  	id	int32
    11  } [packed]
    12  
    13  fuchsia_process_HandleInfoOutOfLine {
    14  	void	void
    15  } [packed]
    16  
    17  fuchsia_process_HandleInfoHandles {
    18  	handle	zx_handle
    19  } [packed]
    20  
    21  fuchsia_process_NameInfoInLine {
    22  	pathInLine	fidl_string
    23  	directory	flags[fidl_handle_presence, int32]
    24  } [packed]
    25  
    26  fuchsia_process_NameInfoOutOfLine {
    27  	pathOutOfLine	fidl_aligned[stringnoz]
    28  } [packed]
    29  
    30  fuchsia_process_NameInfoHandles {
    31  	directory	zx_chan_fuchsia_io_Directory_client
    32  } [packed]
    33  
    34  fuchsia_process_LaunchInfoInLine {
    35  	executable	flags[fidl_handle_presence, int32]
    36  	job		flags[fidl_handle_presence, int32]
    37  	nameInLine	fidl_string
    38  } [packed]
    39  
    40  fuchsia_process_LaunchInfoOutOfLine {
    41  	nameOutOfLine	fidl_aligned[stringnoz]
    42  } [packed]
    43  
    44  fuchsia_process_LaunchInfoHandles {
    45  	executable	zx_vmo
    46  	job		zx_job
    47  } [packed]
    48  
    49  fuchsia_process_ProcessStartDataHandles {
    50  	process		zx_process
    51  	root_vmar	zx_vmar
    52  	thread		zx_thread
    53  	bootstrap	zx_chan
    54  } [packed]
    55  
    56  fuchsia_process_LauncherLaunchRequest {
    57  	hdr		fidl_message_header[2776554506979115008]
    58  	infoInLine	fuchsia_process_LaunchInfoInLine
    59  	infoOutOfLine	fuchsia_process_LaunchInfoOutOfLine
    60  } [packed]
    61  
    62  fuchsia_process_LauncherLaunchRequestHandles {
    63  	info	fuchsia_process_LaunchInfoHandles
    64  } [packed]
    65  
    66  fuchsia_process_LauncherLaunchResponseHandles {
    67  	process	zx_process
    68  } [packed]
    69  
    70  fuchsia_process_LauncherCreateWithoutStartingRequest {
    71  	hdr		fidl_message_header[5751022030375878656]
    72  	infoInLine	fuchsia_process_LaunchInfoInLine
    73  	infoOutOfLine	fuchsia_process_LaunchInfoOutOfLine
    74  } [packed]
    75  
    76  fuchsia_process_LauncherCreateWithoutStartingRequestHandles {
    77  	info	fuchsia_process_LaunchInfoHandles
    78  } [packed]
    79  
    80  fuchsia_process_LauncherCreateWithoutStartingResponseHandles {
    81  	data	fuchsia_process_ProcessStartDataHandles
    82  } [packed]
    83  
    84  fuchsia_process_LauncherAddArgsRequest {
    85  	hdr		fidl_message_header[1477455143367606272]
    86  	argsInLine	fidl_vector
    87  	argsOutOfLine	parallel_array[fidl_vector, array[int8]]
    88  } [packed]
    89  
    90  fuchsia_process_LauncherAddArgsRequestHandles {
    91  	void	void
    92  } [packed]
    93  
    94  fuchsia_process_LauncherAddEnvironsRequest {
    95  	hdr			fidl_message_header[5243927851761139712]
    96  	environInLine		fidl_vector
    97  	environOutOfLine	parallel_array[fidl_vector, array[int8]]
    98  } [packed]
    99  
   100  fuchsia_process_LauncherAddEnvironsRequestHandles {
   101  	void	void
   102  } [packed]
   103  
   104  fuchsia_process_LauncherAddNamesRequest {
   105  	hdr		fidl_message_header[6051974834097750016]
   106  	namesInLine	fidl_vector
   107  	namesOutOfLine	parallel_array[fuchsia_process_NameInfoInLine, fuchsia_process_NameInfoOutOfLine]
   108  } [packed]
   109  
   110  fuchsia_process_LauncherAddNamesRequestHandles {
   111  	names	array[fuchsia_process_NameInfoHandles]
   112  } [packed]
   113  
   114  fuchsia_process_LauncherAddHandlesRequest {
   115  	hdr			fidl_message_header[6689692673424490496]
   116  	handlesInLine		fidl_vector
   117  	handlesOutOfLine	parallel_array[fuchsia_process_HandleInfoInLine, fuchsia_process_HandleInfoOutOfLine]
   118  } [packed]
   119  
   120  fuchsia_process_LauncherAddHandlesRequestHandles {
   121  	handles	array[fuchsia_process_HandleInfoHandles]
   122  } [packed]
   123  
   124  resource zx_chan_fuchsia_process_Launcher_client[zx_chan]
   125  resource zx_chan_fuchsia_process_Launcher_server[zx_chan]
   126  
   127  zx_channel_create$fuchsia_process_Launcher(options const[0], out0 ptr[out, zx_chan_fuchsia_process_Launcher_client], out1 ptr[out, zx_chan_fuchsia_process_Launcher_server])
   128  fdio_service_connect$fuchsia_process_Launcher(path ptr[in, string["/svc/fuchsia.process.Launcher"]], handle zx_chan_fuchsia_process_Launcher_server)
   129  zx_channel_call$fuchsia_process_LauncherLaunch(handle zx_chan_fuchsia_process_Launcher_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_process_LauncherLaunchRequest, fuchsia_process_LauncherLaunchRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_process_LauncherLaunchResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
   130  zx_channel_call$fuchsia_process_LauncherCreateWithoutStarting(handle zx_chan_fuchsia_process_Launcher_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_process_LauncherCreateWithoutStartingRequest, fuchsia_process_LauncherCreateWithoutStartingRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_process_LauncherCreateWithoutStartingResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])
   131  zx_channel_write$fuchsia_process_LauncherAddArgs(handle zx_chan_fuchsia_process_Launcher_client, options const[0], bytes ptr[in, fuchsia_process_LauncherAddArgsRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_process_LauncherAddArgsRequestHandles], num_handles bytesize[handles])
   132  zx_channel_write$fuchsia_process_LauncherAddEnvirons(handle zx_chan_fuchsia_process_Launcher_client, options const[0], bytes ptr[in, fuchsia_process_LauncherAddEnvironsRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_process_LauncherAddEnvironsRequestHandles], num_handles bytesize[handles])
   133  zx_channel_write$fuchsia_process_LauncherAddNames(handle zx_chan_fuchsia_process_Launcher_client, options const[0], bytes ptr[in, fuchsia_process_LauncherAddNamesRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_process_LauncherAddNamesRequestHandles], num_handles bytesize[handles])
   134  zx_channel_write$fuchsia_process_LauncherAddHandles(handle zx_chan_fuchsia_process_Launcher_client, options const[0], bytes ptr[in, fuchsia_process_LauncherAddHandlesRequest], num_bytes bytesize[bytes], handles ptr[in, fuchsia_process_LauncherAddHandlesRequestHandles], num_handles bytesize[handles])
   135  
   136  fuchsia_process_ResolverResolveRequest {
   137  	hdr		fidl_message_header[2348638754840772608]
   138  	nameInLine	fidl_string
   139  	nameOutOfLine	fidl_aligned[stringnoz]
   140  } [packed]
   141  
   142  fuchsia_process_ResolverResolveRequestHandles {
   143  	void	void
   144  } [packed]
   145  
   146  fuchsia_process_ResolverResolveResponseHandles {
   147  	executable	zx_vmo
   148  	ldsvc		zx_chan_fuchsia_ldsvc_Loader_client
   149  } [packed]
   150  
   151  resource zx_chan_fuchsia_process_Resolver_client[zx_chan]
   152  resource zx_chan_fuchsia_process_Resolver_server[zx_chan]
   153  
   154  zx_channel_create$fuchsia_process_Resolver(options const[0], out0 ptr[out, zx_chan_fuchsia_process_Resolver_client], out1 ptr[out, zx_chan_fuchsia_process_Resolver_server])
   155  fdio_service_connect$fuchsia_process_Resolver(path ptr[in, string["/svc/fuchsia.process.Resolver"]], handle zx_chan_fuchsia_process_Resolver_server)
   156  zx_channel_call$fuchsia_process_ResolverResolve(handle zx_chan_fuchsia_process_Resolver_client, options const[0], deadline zx_time, args ptr[in, fidl_call_args[fuchsia_process_ResolverResolveRequest, fuchsia_process_ResolverResolveRequestHandles, array[int8, ZX_CHANNEL_MAX_MSG_BYTES], fuchsia_process_ResolverResolveResponseHandles]], actual_bytes ptr[out, int32], actual_handles ptr[out, int32])