Skip to content

illumos/ucred-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 dual-licenced under either the MIT Licence or the Apache License Version 2.0.

About

Rust library for access to ucred(3C), user credentials for processes

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages