Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unix socket support in the standard library #1479
Also from discussion in triage yesterday, the libs team concluded that a good way forward for now with abstract sockets is to do something like:
It at least errs on the side of being conservative for now!
What libc API would that use? According to the man page, the socket will inherit the permissions of the directory it's defined in on Linux, but filesystem permissions are ignored on BSD: http://man7.org/linux/man-pages/man7/unix.7.html#NOTES
referenced this pull request
Mar 17, 2016
The libs team discussed this RFC during triage yesterday, an the decision was to merge. This was the original intention for how Unix sockets would reenter the standard library and the
Thanks again for the RFC @sfackler!
Tracking issue: rust-lang/rust#32312