News for hackers. Stuff that matters.
Re:Porting Rust's Std to Rustix by masklinn on Tuesday January 04, 2022 @09:23AM (#29795016)
Also on Solaris/Illumos/SmartOS/..., and on OpenBSD (where it's more or less verboten entirely since system-call-origin verification).
Re:Porting Rust's Std to Rustix by wahern on Tuesday January 04, 2022 @07:06PM (#29802888)
AFAIU, you don't need to use libc on OpenBSD, however only one contiguous region of code is permitted to invoke syscalls, and so you can't mix-and-match ad hoc libraries. See https://man.openbsd.org/msyscall, which implements one-time registration of a contiguous range of pages permitted to invoke syscalls.