From 45133c8af90b1ca501e796fd8e6827f31efa3ebc Mon Sep 17 00:00:00 2001 From: Marina Ciocea <111010340+cdmarina@users.noreply.github.com> Date: Fri, 12 Aug 2022 13:39:24 -0400 Subject: sys/fuchsia: update task system calls (#3308) Co-authored-by: Marina Ciocea --- sys/fuchsia/task.txt | 15 +++++++++++++++ sys/fuchsia/tasks.txt | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 sys/fuchsia/task.txt delete mode 100644 sys/fuchsia/tasks.txt diff --git a/sys/fuchsia/task.txt b/sys/fuchsia/task.txt new file mode 100644 index 000000000..639b1754f --- /dev/null +++ b/sys/fuchsia/task.txt @@ -0,0 +1,15 @@ +# 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 +include + +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 = 0, ZX_EXCEPTION_CHANNEL_DEBUGGER diff --git a/sys/fuchsia/tasks.txt b/sys/fuchsia/tasks.txt deleted file mode 100644 index 9bf8b30c9..000000000 --- a/sys/fuchsia/tasks.txt +++ /dev/null @@ -1,15 +0,0 @@ -# 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 -include - -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 -- cgit mrf-deployment