Skip to main content

peer_is_session_user

Function peer_is_session_user 

Source
pub(crate) fn peer_is_session_user(fd: RawFd) -> bool
Expand description

Whether a socket’s peer runs as this process’s user or as root, who passes the socket’s mode anyway: one that connected before restrict_to_owner is refused here.