aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-testbuild
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-02 17:49:22 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-01-19 11:26:54 +0100
commit4ac68196f128fe22ddd1e5b57d021c70f19e4894 (patch)
tree2afb6304deb57af561271568c4adf58d8ba9584a /tools/syz-testbuild
parent4bd62a18b32a876e5ef2b024e454ccf793849050 (diff)
syz-ci: move build semaphore closer to builds
Currently it's held during the whole job processing, which can take too long. Adjust it so that it's only taken when we really begin to build the kernel or syzkaller.
Diffstat (limited to 'tools/syz-testbuild')
-rw-r--r--tools/syz-testbuild/testbuild.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/syz-testbuild/testbuild.go b/tools/syz-testbuild/testbuild.go
index 4ce4a3616..5596ad02b 100644
--- a/tools/syz-testbuild/testbuild.go
+++ b/tools/syz-testbuild/testbuild.go
@@ -8,12 +8,12 @@
// The kernel checkout given to the tool will be cleaned and used for in-tree builds.
// Example invocation:
//
-// sudo syz-testbuild -kernel_src $LINUX_CHECKOUT \
-// -config dashboard/config/upstream-kasan.config \
-// -sysctl dashboard/config/upstream.sysctl \
-// -cmdline dashboard/config/upstream-apparmor.cmdline \
-// -userspace $WHEEZY_USERSPACE \
-// -bisect_bin $BISECT_BIN
+// sudo syz-testbuild -kernel_src $LINUX_CHECKOUT \
+// -config dashboard/config/upstream-kasan.config \
+// -sysctl dashboard/config/upstream.sysctl \
+// -cmdline dashboard/config/upstream-apparmor.cmdline \
+// -userspace $WHEEZY_USERSPACE \
+// -bisect_bin $BISECT_BIN
//
// A suitable wheezy userspace can be downloaded from:
// https://storage.googleapis.com/syzkaller/wheezy.tar.gz
@@ -110,7 +110,7 @@ func main() {
if err != nil {
tool.Fail(err)
}
- env, err := instance.NewEnv(cfg)
+ env, err := instance.NewEnv(cfg, nil)
if err != nil {
tool.Fail(err)
}