notaplumber1
Could Oxide not have helped push multi-vcpu guests out the door by sponsoring one of the main developers working on it, or contributing to development? From a secure design perspective, OpenBSD's vmd is a lot more appealing than bhyve is today.
I saw recently that AMD SEV (Secure Encrypted Virtualization) was added, which seems compelling for Oxide's AMD based platform. Has Oxide added support for that to their bhyve fork yet?
https://github.com/openbsd/src/commit/312e26c80be876012ae979...
The ports tree is being cleansed of syscall(2) usage, until they're all gone.
msyscall, pinsyscall, recent mandatory IBT/BTI, xonly. OpenBSD is making some waves, but people aren't really seeing them yet.
If you're looking for a free Unix-y environment to play with, with >11000 binaries packages available.
You need to use the mini-DisplayPort for video output, not Type-C. This is a UEFI limitation on the machine.
Licensing is not the reason for the sanitizers not being enabled in the default build, a lot of stuff isn't. If it were supported, it would probably be delegated to the ports version, along with the analyzer, additional llvm tools, cross-compiling, etc.
It's not that difficult to run addr2line yourself with the information provided, and that's really for the best.
Valgrind exists in ports, but it is ancient and broken. It does not play well with various security mitigations.
The leak report is being generated internally by malloc. It is then logged via utrace(2) when a process is traced through ktrace(1).
The kdump utility simply dumps the report, strvis(3) escaping any potentially unsafe characters. As this is untrusted user data, passing it as the input/args to another command is unwise. Also kdump(1) uses pledge(2) and cannot execute commands.
Theo de Raadt: Synthetic Memory Protections (CanSecWest 2023) [OpenBSD] [pdf]
Theo de Raadt on pinsyscall(2) (OpenBSD)
BSD Authentication is much nicer, but has only been adopted by OpenBSD.
BROP: https://www.scs.stanford.edu/brop/ (paper "Hacking Blind" (2014): https://www.scs.stanford.edu/brop/bittau-brop.pdf
xonly mitigation status: https://marc.info/?l=openbsd-tech&m=167501519712725&w=2
BROP mitigation on systems without xonly (execute-only) hw-enforcement (OpenBSD)
Viable xonly functionality on amd64 using Memory Protection Keys/PKU (OpenBSD)
If you read up on library order randomization/re-link and retguard, you may find your technique won't be so reusable, even once you do manage to locate a syscall stub in libc.
...ignoring other mitigations.
> In fact I can extend it with something OpenBSD does not have a good implementation of yet, strong CFI, which would prevent jumping into the middle of a function to execute that syscall instruction. But there are more fundamental reasons why this doesn’t work.
Sounds like you need to spend 5 more minutes reading about retguard.
It seems many of you are missing the forest for the trees.
You mean like pledge(2)? The vast majority of the base system is pledged. So programs without the prot_exec promise cannot make new PROT_EXEC mappings, or add it to any existing pages.
https://man.openbsd.org/pledge#prot_exec
Perhaps you should spend more than 5 minutes reading about OpenBSD's layers of mitigations.
This is commit is plumbing work fixing GPIO support, which indirectly makes the keyboard work. I don't have any boot logs for the machine, but as I understand they have standard Microsoft-compatible HID keyboards/touchpads that work with OpenBSD's existing drivers.
https://github.com/openbsd/src/commit/74edc71ccae4051eda11fa...
Many of these older generation "Windows on Snapdragon" laptops unfortunately did not use fast NVMe storage however, only slow eMMC and eUFS (Universal Flash Storage), the latter currently being unsupported by OpenBSD.
> Oh, it's because of "APCI" mode working with openbsd apparently...
Indeed, OpenBSD attempts to support these machines to some extent in ACPI mode, but from what I read the ACPI tables are in bad shape/incomplete. "Good enough for Windows, ship it.".
https://www.openbsd.org/72.html
OpenBSD developer Patrick Wildt shared boot messages (dmesg) here: https://twitter.com/bluerise/status/1585584481854816256
Another UK tech reviewer Alex Ellis showed it booting OpenBSD into X11: https://blog.alexellis.io/linux-on-microsoft-dev-kit-2023/
https://www.youtube.com/watch?v=36qZYL5RlgY
Some really great talks this year from all the *BSDs, highly recommend checking a look: https://www.youtube.com/playlist?list=PLskKNopggjc6_N7kpccFZ...