diff options
| author | Marco Vanotti <mvanotti@google.com> | 2018-11-20 19:11:16 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-11-21 06:12:22 +0100 |
| commit | 05817b7b91baa0f3c9c5772667b67da37f8e8ebe (patch) | |
| tree | 2b5e079b663e7192f122bc86968516c00950cf4e /docs | |
| parent | d260249e707bef82e50614c32783a2afb808d8ea (diff) | |
docs: Add fuchsia syscall update process.
This commits describes the steps required to update the syscall
descriptions in syzkaller.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/fuchsia.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/fuchsia.md b/docs/fuchsia.md index c5db3e26d..12483d2a6 100644 --- a/docs/fuchsia.md +++ b/docs/fuchsia.md @@ -16,7 +16,10 @@ fx set arm64 --packages garnet/packages/products/sshd fx full-build ``` -To update descriptions run: +Syscall descriptions live in the `sys/fuchsia` folder. To update a syscall, you need to modify the `.txt` file that contains it, make sure your new definition matches the one in zircon's [syscalls.abigen](https://fuchsia.googlesource.com/zircon/+/HEAD/system/public/zircon/syscalls.abigen) file. **If the syscall was used in `executor/common_fuchsia.h`, you need to update the usages there as well**. FIDL definitions do not need manual updating because they are extracted automatically with the commands below. + +Once you updated the syscalls definitions, everything can be regenerated by running: + ``` make extract TARGETOS=fuchsia SOURCEDIR=/path/to/fuchsia/checkout make generate |
