jcs's openbsd hax
openbsd
243099
5
0
Clone this repository
https://tangled.org/jcs.org/openbsd-src
https://tangled.org/did:plc:6ashubrd3ihfmnrpsatviswa/openbsd-src
git@git.jcs.org:jcs.org/openbsd-src
git@git.jcs.org:did:plc:6ashubrd3ihfmnrpsatviswa/openbsd-src
For self-hosted knots, clone URLs may differ based on your setup.
Download tar.gz
On AMD/SVM the hypervisor will inject #UD when userland tries to
execute the vmmcall instruction. Same holds for vmgexit which is
encode as "rep vmmcall".
On Intel/VMX vmmcall and vmgexit are invalid instructions, so the
CPU will raise #UD.
ok mlarkin@
On Intel/VMX the hypervisor will inject #UD when userland tries to
execute the vmcall instruction.
On AMD/SVM vmcall is an invalid instruction, so the CPU will raise
ok mlarkin@
While there fix typo in a debug printf.
ok mlarkin@
ok mlarkin@