aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vminfo/openbsd.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/vminfo: refactor few thingsDmitry Vyukov2024-11-251-16/+2
| | | | | | Use default nop implementation for most openbsd/netbsd methods. Move linux-specific vm type checks to linux code. Remove indirection for CheckFiles as we have for RequiredFiles.
* all: move KernelModule into vminfo packageJoey Jiao2024-07-101-2/+1
|
* all: always use KernelModule ptr to unify usageJoey Jiao2024-06-171-1/+1
|
* pkg/vminfo: move feature checking to hostDmitry Vyukov2024-05-151-0/+36
Feature checking procedure is split into 2 phases: 1. syz-fuzzer invokes "syz-executor setup feature" for each feature one-by-one, and checks if executor does not fail. Executor can also return a special "this feature does not need custom setup", this allows to not call setup of these features in each new VM. 2. pkg/vminfo runs a simple program with ipc.ExecOpts specific for a concrete feature, e.g. for wifi injection it will try to run a program with wifi feature enabled, if setup of the feature fails, executor should also exit with an error. For coverage features we also additionally check that we actually got coverage. Then pkg/vminfo combines results of these 2 checks into final result. syz-execprog now also uses vminfo package and mimics the same checking procedure. Update #1541