diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | docs/syscall_descriptions.md | 2 | ||||
| -rwxr-xr-x | sys/extract.sh (renamed from extract.sh) | 0 | ||||
| -rw-r--r-- | sys/syz-extract/extract.go (renamed from syz-extract/extract.go) | 0 | ||||
| -rw-r--r-- | sys/syz-extract/fetch.go (renamed from syz-extract/fetch.go) | 0 |
5 files changed, 3 insertions, 3 deletions
@@ -55,9 +55,9 @@ upgrade: go build $(GOFLAGS) -o ./bin/syz-upgrade github.com/google/syzkaller/tools/syz-upgrade extract: bin/syz-extract - LINUX=$(LINUX) LINUXBLD=$(LINUXBLD) ./extract.sh + LINUX=$(LINUX) LINUXBLD=$(LINUXBLD) ./sys/extract.sh bin/syz-extract: - go build $(GOFLAGS) -o $@ ./syz-extract + go build $(GOFLAGS) -o $@ ./sys/syz-extract generate: bin/syz-sysgen bin/syz-sysgen diff --git a/docs/syscall_descriptions.md b/docs/syscall_descriptions.md index 7243839c9..0c0041343 100644 --- a/docs/syscall_descriptions.md +++ b/docs/syscall_descriptions.md @@ -44,7 +44,7 @@ First, add a declarative description of the new system call to the appropriate f The description of the syntax can be found [here](syscall_descriptions_syntax.md). -If the subsystem is present in the mainline kernel, add the new txt file to `extract.sh` file +If the subsystem is present in the mainline kernel, add the new txt file to `sys/extract.sh` file and run `make extract LINUX=$KSRC` with `$KSRC` set to the location of a kernel source tree. This will generate const files. Not, that this will overwrite `.config` file you have in `$KSRC`. diff --git a/extract.sh b/sys/extract.sh index 7f8e11dea..7f8e11dea 100755 --- a/extract.sh +++ b/sys/extract.sh diff --git a/syz-extract/extract.go b/sys/syz-extract/extract.go index 344151856..344151856 100644 --- a/syz-extract/extract.go +++ b/sys/syz-extract/extract.go diff --git a/syz-extract/fetch.go b/sys/syz-extract/fetch.go index 79c080807..79c080807 100644 --- a/syz-extract/fetch.go +++ b/sys/syz-extract/fetch.go |
