aboutsummaryrefslogtreecommitdiffstats
path: root/tools/create-openbsd-vmm-worker.sh
Commit message (Collapse)AuthorAgeFilesLines
* tools: create /dev/tap* instead of /dev/tun* in OpenBSDAleksandr Nogikh2022-01-191-1/+1
| | | | | Although it's signified in macros as TUN, in fact common_bsd.h opens /dev/tap* devices. So create 8 TAP devices instead of 8 TUN devices.
* all: create 8 tun devices for OpenBSDAleksandr Nogikh2022-01-141-2/+3
| | | | | Currently only 4 are created by default. This limits the maximum number of simultaneously running syz-executors.
* tools/create-openbsd-vmm-worker: allow dtAnton Lindqvist2021-12-201-0/+1
| | | | | | Must happen before cranking securelevel. This makes it possible to fuzz btrace if we ever want that but more importantly: I have a pending request of running btrace on the workers in order to investigate a recent performance regression.
* tools/create-openbsd-vmm-worker: increase worker disk image sizeGreg Steuck2021-06-041-1/+1
| | | | | llvm/clang growth post-6.9 pushed the worker image over the previous limit. The 1.5 increase gives us room for future growth.
* tools/create-openbsd: fix download URL that grew staleGreg Steuck2021-03-071-1/+1
|
* tools: add script to check shebang lines (#2234)Mark Johnston2020-11-021-1/+1
| | | | | | | | | | | * pkg/vcs: remove obsolete test script Per Dmitry, this should have been removed as part of 8f58e4b ("pkg/bisect: switch to kconfig.Minimize"). * all: convert shebang lines to use /usr/bin/env * Makefile: fix non-portable use of find(1)
* tools/create-openbsd: auto-detect snapshot version (#2082)Greg Steuck2020-09-011-6/+7
| | | | | | Removed some never-used knobs as syzkaller always uses snapshots. Resolved some ShellCheck'd lint. TESTED=by installing Aug31 6.8 beta.
* tools/create-openbsd*: update to 6.7Greg Steuck2020-04-171-1/+1
|
* tools: add script that checks copyright headersDmitry Vyukov2020-02-181-2/+1
| | | | Fixes #1604
* tools/create-openbsd: switch to 6.6 (#1363)Greg Steuck2019-08-271-1/+1
|
* tools/create-openbsd: valid URIs must use a single slash (#1184)Greg Steuck2019-05-151-1/+1
| | | | Triggered by OpenBSD ftp upgrade which isn't looking kindly at double slahses: https://marc.info/?t=155794126200001&r=1&w=2
* tools/create-openbsd-vmm-worker.sh: set location to cd0 for consistency (and ↵Greg Steuck2019-05-091-0/+1
| | | | speed) (#1168)
* tools/*openbsd*: switch to 6.5 now that it's in -betaGreg Steuck2019-03-011-1/+1
|
* openbsd: remove shorten report logic (#986)Anton Lindqvist2019-02-091-0/+1
| | | | | | | | | | | A line length of 79 in the ddb output does not necessarily imply that the following line is a continuation of the current line. Since there's no way to distinguish between ordinary and continuation lines, it could end up corrupting the report by joining two lines that are disjoint[1]. Instead, disable line wrapping in ddb. If we want some kind of wrapping in the future it's easier done by pkg/report. [1] https://syzkaller.appspot.com/bug?extid=03f7377a9848d7d008c9
* tools/*openbsd*: use nc from base instead of curl from packageGreg Steuck2018-12-091-3/+6
| | | | This worked fine for ci machine but gce workers have no packages.
* tools/create-openbsd-vmm-worker.sh: shut off pagination in ddbGreg Steuck2018-12-041-0/+1
|
* tools: set openbsd hostname to instance name for serviceabilityGreg Steuck2018-12-021-0/+11
| | | | | | * openbsd images: set hostname to instance name for serviceability * openbsd startup scripts insist on EOL characters
* openbsd: run on gceGreg Steuck2018-11-271-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build/openbsd: minor cleanup (use tuples instead of maps) * Grammar nits in comments. * Simplify openbsd.Create, will defer when there's more than one error exit. * pkg/build: Support copying kernel into GCE image * Simple test for openbsd image copy build. * Cleanup in case something failed before. * Support multi-processor VMs on GCE. * More debug * Reformat * OpenBSD gce image needs to be raw. * GC * Force format to GNU directly on Go 1.10 or newer. * Use vmType passed as a parameter inside openbsd.go * gofmt * more fmt * Can't use GENERIC.mp just yet. * capitalize * Copyright
* tools/create-openbsd*sh: use cdn.openbsd.org not cloudflare, install ↵Greg Steuck2018-10-281-1/+1
| | | | | | | | | | vmm-firmware * Use cdn.openbsd.org not cloudflare. Install vmm-firmware explicitly. * Use cdn.openbsd.org not cloudflare. Install vmm-firmware explicitly. * set hw.smt=1: the underlying hw on VM is unknown so don't waste SMT.
* tools/create-openbsd*: Support post-version flip snapshots.Greg Steuck2018-10-111-17/+5
| | | | | | * Fixed pkg_add status checking * Switched to qcow2 test image * Minor GC
* tools/create-openbsd-*: fully functional images from scratchGreg Steuck2018-09-281-1/+1
| | | | | | | | | | | | | | | | * tools/create-openbsd-gce-ci: use config from /syzkaller * Use syzkaller copy of src instead of a separate one. * Using /dev/null disk in vm.conf * Use KVM, enable doas, no longer symlink. * Use a dummmy.img * Revert "Use a dummmy.img" This reverts commit 656b24d5e4573dde5e95c6158852001c7241e65a.
* tools/*openbsd*: smaller VMM images and tweaks.Greg Steuck2018-09-201-0/+181