You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS and most of the BSDs have a getpeereid(3) library routine, which can be used to retrieve the effective UID and GID for a given Unix domain socket.
This roughly mirrors the functionality provided by getsockopt(2) + SO_PEERCRED on Linux (minus the PID), which the nix crate already supports.
I have the bandwidth and ability to implement this, if desired.