diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-25 08:47:30 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-25 08:47:48 +0200 |
| commit | dd563098638ae463af3cb45550e35b2180f193f0 (patch) | |
| tree | 3afaf7a7e5f946d373ecf4c48926a0e0f36b20ae /executor/common_fuchsia.h | |
| parent | a0fdd2e7581e7402997f70e5bebf4ee6b826bc74 (diff) | |
sys/fuchsia: describe more syscalls
Diffstat (limited to 'executor/common_fuchsia.h')
| -rw-r--r-- | executor/common_fuchsia.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index 189e7bc3c..e6ccddffe 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -49,3 +49,31 @@ long syz_mmap(size_t addr, size_t size) return status; } #endif + +#if defined(SYZ_EXECUTOR) || defined(__NR_syz_process_self) +long syz_process_self() +{ + return zx_process_self(); +} +#endif + +#if defined(SYZ_EXECUTOR) || defined(__NR_syz_thread_self) +long syz_thread_self() +{ + return zx_thread_self(); +} +#endif + +#if defined(SYZ_EXECUTOR) || defined(__NR_syz_vmar_root_self) +long syz_vmar_root_self() +{ + return zx_vmar_root_self(); +} +#endif + +#if defined(SYZ_EXECUTOR) || defined(__NR_syz_job_default) +long syz_job_default() +{ + return zx_job_default(); +} +#endif |
