aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/task.txt
diff options
context:
space:
mode:
authorMarina Ciocea <111010340+cdmarina@users.noreply.github.com>2022-08-12 13:39:24 -0400
committerGitHub <noreply@github.com>2022-08-12 10:39:24 -0700
commit45133c8af90b1ca501e796fd8e6827f31efa3ebc (patch)
tree0761b3a0a3fbe2e03ee09b84663dbce621222322 /sys/fuchsia/task.txt
parent472882e7f36da29664783847e86d838808b8016f (diff)
sys/fuchsia: update task system calls (#3308)
Co-authored-by: Marina Ciocea <marinaciocea@google.com>
Diffstat (limited to 'sys/fuchsia/task.txt')
-rw-r--r--sys/fuchsia/task.txt15
1 files changed, 15 insertions, 0 deletions
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 <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 = 0, ZX_EXCEPTION_CHANNEL_DEBUGGER