diff options
| author | Shiyu Sun <sshiyu@google.com> | 2019-11-12 16:32:21 +1100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-18 09:15:26 +0100 |
| commit | 1daed50ac33511e1a107228a9c3b80e5c4aebb5c (patch) | |
| tree | 3e6175bf92d15aa4dc169e873ce8b300cd87abc3 /docs | |
| parent | d5696d51924aeb6957c19b616c888f58fe9a3740 (diff) | |
docs: update syscall_descriptions.md
Clarify that 'make generate' should update syscall description
revision.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/syscall_descriptions.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index b79e88283..3ff45e2c8 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -74,6 +74,9 @@ Note: `make extract` overwrites `.config` in `$KSRC` and `mrproper`'s it. Then `make generate` updates generated code and `make` rebuilds binaries.\ Note: `make generate` does not require any kernel sources, native compilers, etc and is pure text processing. +Note: `make generate` also updates the SYZ_REVISION under executor/defs.h, which +is required for machine check while running syz-manager. This should be take care +of especially if you are trying to rebase with your own change on syscall description. Note: _all_ generated files (`*.const`, `*.go`, `*.h`) are checked-in with the `*.txt` changes in the same commit. @@ -123,6 +126,8 @@ used by `make extract` can be run manually for single file/arch as: ``` make bin/syz-extract bin/syz-extract -os linux -arch $ARCH -sourcedir $KSRC -builddir $LINUXBLD <new>.txt +make generate +make ``` `$ARCH` is one of `amd64`, `386` `arm64`, `arm`, `ppc64le`. |
