github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/task.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  include <zircon/syscalls.h>
     5  include <zircon/syscalls/exception.h>
     6  
     7  resource zx_task[zx_handle]
     8  
     9  zx_task_create_exception_channel(task zx_task, options flags[exception_channel_options], out ptr[out, zx_chan])
    10  
    11  # This is disabled until we figure out how to prevent executor from killing fuzzer (#594).
    12  # zx_task_kill(handle zx_task)
    13  # zx_task_suspend(handle zx_task, token ptr[out, zx_handle])
    14  
    15  exception_channel_options = 0, ZX_EXCEPTION_CHANNEL_DEBUGGER