aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_kvm.txt.const
Commit message (Collapse)AuthorAgeFilesLines
* executor/common_linux: fuzz kvm_runAlexey Kardashevskiy2021-11-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Syzkaller runs KVM until it exits and this is considered the end of the KVM_RUN syscall. We can do a bit more with a VM if the exit was legit (for example MMIO access or a hypercall). In such cases the userspace emulates the request and stores the result in the kvm_run struct (mmaped from vcpu_fd) which the next KVM_RUN checks. This defines specialized mmap and syz_memcpy_off to allow Syzkaller fuzz the kvm_run struct with focus on the part where the huge union is. Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com> --- Changes: v4: * defined offset/size constants * re-autogenerated dev_kvm.txt.const v3: * fixed syz_memcpy_off's src size v2: * limited changes to dev_kvm.txt instead of defining all new syz_kvm_run.
* sys/linux: extend KVM caps descriptionsDmitry Vyukov2021-10-131-0/+38
| | | | Add missing VM/CPU caps and specify type of arguments for each cap.
* sys/linux: fix KVM definesDmitry Vyukov2021-09-161-0/+5
| | | | | | We don't support # comments at the end of defines. This never worked and .const file wasn't even re-generated (otherwise it would contain ???).
* sys/linux: regenerate const filesDmitry Vyukov2020-11-131-2/+2
| | | | | Regenerate consts on upstream 585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba. Fix vmw_vmci.txt const extraction.
* sys/linux: switch to the new .const formatDmitry Vyukov2020-08-131-0/+193
This reduces number of const files/lines from 1288/96599 to 158/11603. Const files are generated on next-20200813. Update #1983