PID as part of UCred #2632
Labels
A-tokio
Area: The main tokio crate
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
C-feature-request
Category: A feature request.
M-net
Module: tokio/net
Is your feature request related to a problem? Please describe.
Trying to get the pid of the peer from the Unix Socket
Describe the solution you'd like
Make pid a field of
tokio::net::unix::UCred
Describe alternatives you've considered
Making a second getsocketopt kernel call. But this would create be an overhead.
Additional context
The text was updated successfully, but these errors were encountered: