From 66071e276fc06bc4482a4844c0596ede600d0ba3 Mon Sep 17 00:00:00 2001 From: Marco Vanotti Date: Wed, 28 Nov 2018 15:39:02 -0800 Subject: sys/fuchsia: fix task syscalls. This commit fixes two issues related to the task syscalls. The zx_task_resume syscall has been recently removed from zircon[0]. It has been deprecated for some time already. This commit removes the syscall. The `ZX_EXCEPTION_PORT_UNBIND_QUIETLY` option for the syscall `zx_task_bind_exception_port` has been removed recently as well[1]. This commit removes that option from tasks.txt. To test this change, I followed the procedure for building syzkaller for fuchsia: ```shell $ make extract TARGETOS=fuchsia SOURCEDIR=${FUCHSIADIR} $ make generate $ make TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=${FUCHSIADIR} ``` I excluded the changes from make extract. This commit only has the generated files from make generate. [0]: https://fuchsia-review.googlesource.com/c/zircon/+/228712 [1]: https://fuchsia-review.googlesource.com/c/zircon/+/228658 --- executor/syscalls.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'executor/syscalls.h') diff --git a/executor/syscalls.h b/executor/syscalls.h index 63facd3a0..da4128612 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -867,7 +867,6 @@ const call_t syscalls[] = { {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, - {"zx_task_resume", 0, (syscall_t)zx_task_resume}, {"zx_thread_create", 0, (syscall_t)zx_thread_create}, {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, @@ -1286,7 +1285,6 @@ const call_t syscalls[] = { {"zx_system_get_physmem", 0, (syscall_t)zx_system_get_physmem}, {"zx_system_get_version", 0, (syscall_t)zx_system_get_version}, {"zx_task_bind_exception_port", 0, (syscall_t)zx_task_bind_exception_port}, - {"zx_task_resume", 0, (syscall_t)zx_task_resume}, {"zx_thread_create", 0, (syscall_t)zx_thread_create}, {"zx_thread_exit", 0, (syscall_t)zx_thread_exit}, {"zx_thread_read_state", 0, (syscall_t)zx_thread_read_state}, -- cgit mrf-deployment