nixcloud / ip2unix

Turn IP sockets into Unix domain sockets
GNU Lesser General Public License v3.0
357 stars 10 forks source link

Add support for Mac OS #18

Open aszlig opened 4 years ago

aszlig commented 4 years ago

This is a WIP branch to implement support for Mac OS X, which in theory should work since it has a similar mechanism (DYLD_INSERT_LIBRARIES) to LD_PRELOAD on GNU/Linux.

Fundamental issues:

aszlig commented 1 year ago

For the record and according to https://github.com/golang/go/issues/27613, there seems to be a LOCAL_PEERPID socket option that we could possibly use.