-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels