Function get_socket_peercred
pub fn get_socket_peercred<Fd>(fd: Fd) -> Result<UCred, Errno> ⓘwhere
Fd: AsFd,
Available on crate feature
dep_rustix
only.Expand description
getsockopt(fd, SOL_SOCKET, SO_PEERCRED)
—Get credentials of Unix domain
socket peer process.