ucred 1.0.0

safe access to ucred(3C), user credentials for processes
docs.rs failed to build ucred-1.0.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: ucred-1.1.0

ucred-rs

The ucred crate provides safe access to ucred(3C) objects and their associated functions; e.g., getpeerucred(3C) and door_ucred(3C). This facility allows a program running on an illumos system to obtain credential information from the process on the far end of a local socket, or a door connection, or by providing an explicit process ID.

The crate also provides convenience routines for mapping user IDs and group IDs to user and group names using the local passwd(5) and group(5) databases. Note that (as mentioned in the documentation) if a door or a socket terminates in a zone other than the current zone, these mappings may not be correct. Each zone has its own name service databases and configuration; synchronising those databases with one another is left to site-specific policies and systems.

Licence

Unless otherwise noted, all components are licenced under the Mozilla Public License Version 2.0.