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

Want options for peer credential (IPC) #211

Closed
gdamore opened this issue Sep 26, 2020 · 0 comments
Closed

Want options for peer credential (IPC) #211

gdamore opened this issue Sep 26, 2020 · 0 comments

Comments

@gdamore
Copy link
Contributor

gdamore commented Sep 26, 2020

It would be nice to be able to retrieve the peer PID, UID, and GID (and maybe for Solaris the zone ID). NNG has support for this, and the fact that it is missing is a shortcoming for mangos.

There is sufficient support in the Go standard library to do this for Linux. It may require cgo to achieve this for other platforms.

gdamore added a commit that referenced this issue Sep 26, 2020
This is a first work, and includes only support for Linux.  Still
that is likely to meet the needs of most users.  Additional
platform support may be added as we can test, or as the underlying
system libraries add the missing socket options or library calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant