Skip to content

Local peer credential support for FreeBSD. #809

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

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

djg
Copy link
Contributor

@djg djg commented Oct 17, 2017

FreeBSD uses SOL_SOCKET/LOCAL_PEERCRED instead of SOL_SOCKET/SO_PEERCRED parameters to getsocktopt to retrieve the credentials of a socket's peer.

(Documented in man 4 unix)

@djg djg force-pushed the freebsd_sol_local branch from 3a1da42 to ebb59a2 Compare October 17, 2017 23:51
@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Oct 18, 2017

📌 Commit ebb59a2 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Oct 18, 2017

⌛ Testing commit ebb59a2 with merge 84da91c...

bors added a commit that referenced this pull request Oct 18, 2017
Local peer credential support for FreeBSD.

FreeBSD uses SOL_SOCKET/LOCAL_PEERCRED instead of SOL_SOCKET/SO_PEERCRED parameters to getsocktopt to retrieve the credentials of a socket's peer.

(Documented in man 4 unix)
@bors
Copy link
Contributor

bors commented Oct 18, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 84da91c to master...

@bors bors merged commit ebb59a2 into rust-lang:master Oct 18, 2017
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

Successfully merging this pull request may close these issues.

3 participants