From 1daed50ac33511e1a107228a9c3b80e5c4aebb5c Mon Sep 17 00:00:00 2001 From: Shiyu Sun Date: Tue, 12 Nov 2019 16:32:21 +1100 Subject: docs: update syscall_descriptions.md Clarify that 'make generate' should update syscall description revision. --- docs/syscall_descriptions.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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 .txt +make generate +make ``` `$ARCH` is one of `amd64`, `386` `arm64`, `arm`, `ppc64le`. -- cgit mrf-deployment