Okay, you couldn't ask for a more contrived example. But
this sort of bug should be triaged wildly differently on
openbsd as compares anything else except a sufficiently
configured seccomp(2). Do you have sufficiently configured
seccomp(2)?
Obviously if :openbsd is in *features*, this program aborts
on that input since it is not pledged "stdio,rpath". However
otherwise the program will happily print its working
directory, or whatever.
It's not just that. OpenBSD is incredibly good. But it's
either incredibly good and there is a big problem with the
above program on anything that is not OpenBSD or not.