aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMarco Vanotti <mvanotti@google.com>2018-11-20 19:11:16 -0800
committerDmitry Vyukov <dvyukov@google.com>2018-11-21 06:12:22 +0100
commit05817b7b91baa0f3c9c5772667b67da37f8e8ebe (patch)
tree2b5e079b663e7192f122bc86968516c00950cf4e /docs
parentd260249e707bef82e50614c32783a2afb808d8ea (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.md5
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