syzkaller/sys/fuchsia/tasks.txt
David Pursell 79248ee88b sys/fuchsia: remove deprecated exception APIs
The port-based exception APIs have been deprecated on Fuchsia and will
be removed shortly. Delete them from the syscall definitions and
modify the Fuchsia executor to use the new channel-based APIs instead.
2019-11-14 16:21:01 -08:00

16 lines
614 B
Plaintext

# Copyright 2017 syzkaller project authors. All rights reserved.
# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
include <zircon/syscalls.h>
include <zircon/syscalls/exception.h>
resource zx_task[zx_handle]
zx_task_create_exception_channel(task zx_task, options flags[exception_channel_options], out ptr[out, zx_chan])
# This is disabled until we figure out how to prevent executor from killing fuzzer (#594).
# zx_task_kill(handle zx_task)
# zx_task_suspend(handle zx_task, token ptr[out, zx_handle])
exception_channel_options = ZX_EXCEPTION_CHANNEL_DEBUGGER