aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-17 13:54:15 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-06-17 14:41:15 +0200
commitc9ee712bc8f2ce4431e990c85ab975f50a569300 (patch)
treec02fcd56b46911a3d4c6c6890d5b410134764e48
parent6828dc3a613eab724840ba670955f4eaca70ab12 (diff)
sys/syz-extract: move from syz-extract
-rw-r--r--Makefile4
-rw-r--r--docs/syscall_descriptions.md2
-rwxr-xr-xsys/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
diff --git a/Makefile b/Makefile
index d50ad073b..424ef7073 100644
--- a/Makefile
+++ b/Makefile
@@ -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