aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDokyung Song <dokyungs@google.com>2018-08-03 15:22:32 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-08-08 19:31:56 +0200
commit2eeda842c89d39fee894ae34dca9829e3d77cf43 (patch)
treeb8aec50a6bbcaf900547d7624d3938e77a80e408 /executor
parent17a0470620d8031c82bff3f45a7688a06bd77fdd (diff)
sys/fuchsia: add syscall description for binding channels to Launcher
Diffstat (limited to 'executor')
-rw-r--r--executor/common_fuchsia.h1
-rw-r--r--executor/defs.h4
-rw-r--r--executor/syscalls.h6
3 files changed, 9 insertions, 2 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h
index 302f49955..05c9e34ff 100644
--- a/executor/common_fuchsia.h
+++ b/executor/common_fuchsia.h
@@ -5,6 +5,7 @@
#include <ddk/driver.h>
#include <fcntl.h>
+#include <lib/fdio/util.h>
#include <poll.h>
#include <signal.h>
#include <stdlib.h>
diff --git a/executor/defs.h b/executor/defs.h
index eb73e512d..059c756cb 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -35,7 +35,7 @@
#if GOARCH_amd64
#define GOARCH "amd64"
-#define SYZ_REVISION "7afbaa9c071184d5ade5cd416a413ac9690c8e0b"
+#define SYZ_REVISION "15ad57630af0732c31d3854918dd955cd88ad970"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
@@ -45,7 +45,7 @@
#if GOARCH_arm64
#define GOARCH "arm64"
-#define SYZ_REVISION "d48c47eb82c0f95aff60923c0e24bbeef6a1e131"
+#define SYZ_REVISION "cf41720c342c98df7db8edbf5723d501e75be556"
#define SYZ_EXECUTOR_USES_FORK_SERVER 0
#define SYZ_EXECUTOR_USES_SHMEM 0
#define SYZ_PAGE_SIZE 4096
diff --git a/executor/syscalls.h b/executor/syscalls.h
index 6f53b4490..65bd49c83 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -503,6 +503,7 @@ const call_t syscalls[] = {
{"fchown", 0, (syscall_t)fchown},
{"fchownat", 0, (syscall_t)fchownat},
{"fdatasync", 0, (syscall_t)fdatasync},
+ {"fdio_service_connect$fuchsia_process_Launcher", 0, (syscall_t)fdio_service_connect},
{"fstat", 0, (syscall_t)fstat},
{"fsync", 0, (syscall_t)fsync},
{"ftruncate", 0, (syscall_t)ftruncate},
@@ -553,7 +554,9 @@ const call_t syscalls[] = {
{"writev", 0, (syscall_t)writev},
{"zx_cache_flush", 0, (syscall_t)zx_cache_flush},
{"zx_channel_call", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_process_LauncherLaunch", 0, (syscall_t)zx_channel_call},
{"zx_channel_create", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_process_Launcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
{"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc},
{"zx_channel_write", 0, (syscall_t)zx_channel_write},
@@ -685,6 +688,7 @@ const call_t syscalls[] = {
{"fchown", 0, (syscall_t)fchown},
{"fchownat", 0, (syscall_t)fchownat},
{"fdatasync", 0, (syscall_t)fdatasync},
+ {"fdio_service_connect$fuchsia_process_Launcher", 0, (syscall_t)fdio_service_connect},
{"fstat", 0, (syscall_t)fstat},
{"fsync", 0, (syscall_t)fsync},
{"ftruncate", 0, (syscall_t)ftruncate},
@@ -735,7 +739,9 @@ const call_t syscalls[] = {
{"writev", 0, (syscall_t)writev},
{"zx_cache_flush", 0, (syscall_t)zx_cache_flush},
{"zx_channel_call", 0, (syscall_t)zx_channel_call},
+ {"zx_channel_call$fuchsia_process_LauncherLaunch", 0, (syscall_t)zx_channel_call},
{"zx_channel_create", 0, (syscall_t)zx_channel_create},
+ {"zx_channel_create$fuchsia_process_Launcher", 0, (syscall_t)zx_channel_create},
{"zx_channel_read", 0, (syscall_t)zx_channel_read},
{"zx_channel_read_etc", 0, (syscall_t)zx_channel_read_etc},
{"zx_channel_write", 0, (syscall_t)zx_channel_write},