4 ms·
> Our policy is to stick with stable supported interfaces whenever possible Except you're not doing that consistently though. On OpenBSD, mincore(2) was remov
by brynet 4y ago
> Our policy is to stick with stable supported interfaces whenever possible
Except you're not doing that consistently though.
On OpenBSD, mincore(2) was removed 3 years ago, and it's UNIMPL syscall 78 was eventually recycled by a different system call: mquery(2), which your library calls expecting mincore and passes bogus arguments to.
I would be very surprised if there aren't more serious mistakes lurking in your library, in fact I know there are.
https://github.com/openbsd/src/commit/54e4f6b9a1dc183e1dc7c4a722c2646aa309246a https://github.com/openbsd/src/commit/54e4f6b9a1dc183e1dc7c4...
https://github.com/openbsd/src/commit/1d60349d0b961891264d426ffe1c0ced24b2374c https://github.com/openbsd/src/commit/1d60349d0b961891264d42...
- anamexis 4y agoFrom the OP chart, it looks like mincore is indeed not supported on OpenBSD, so what's the issue?
- brynet 4y agoThey updated the chart since I posted, from what I can tell the issue remains in the sources published. https://web.archive.org/web/20220921050525/https://justine.lol/cosmopolitan/functions.html https://web.archive.org/web/20220921050525/https://justine.l...
- deleted 4y ago[deleted]