Skip to content
Permalink
Browse files

docs: Add fuchsia syscall update process.

This commits describes the steps required to update the syscall
descriptions in syzkaller.
  • Loading branch information...
mvanotti authored and dvyukov committed Nov 21, 2018
1 parent d260249 commit 05817b7b91baa0f3c9c5772667b67da37f8e8ebe
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit 05817b7

Please sign in to comment.
You can’t perform that action at this time.