koorogi
koorogi@hachyderm.io
<p>Software developer. Occasional gamer.</p>
Posts
-
View post
I've started trying netbsd recently. I was curious how well the linux compatibility layer works, so I compiled os-test on a musl-based linux machine, and ran the tests on netbsd. What I immediately found was that there's apparently no sure fire way to distinguish the OS a given ELF binary targets. There is an "OS/ABI" field in the header, but it's typically set to "System V" even on Linux. So netbsd relies on some heuristics. One of which is to look at the pr...