Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PID as part of UCred #2632

Closed
Kloenk opened this issue Jun 25, 2020 · 0 comments · Fixed by #2633
Closed

PID as part of UCred #2632

Kloenk opened this issue Jun 25, 2020 · 0 comments · Fixed by #2633
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

Comments

@Kloenk
Copy link
Contributor

Kloenk commented Jun 25, 2020

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

@Kloenk Kloenk added A-tokio Area: The main tokio crate C-feature-request Category: A feature request. labels Jun 25, 2020
@Darksonn Darksonn added the M-net Module: tokio/net label Jun 25, 2020
@Darksonn Darksonn added this to the v0.3 milestone Jul 20, 2020
@Darksonn Darksonn added the C-feature-accepted Category: A feature request that has been accepted pending implementation. label Jul 28, 2020
@carllerche carllerche removed this from the v0.3 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants