Skip to content
Commit 54b237a6 authored by Alex Richardson's avatar Alex Richardson Committed by Alex Richardson
Browse files

Support reading ucred from the socket on FreeBSD



On FreeBSD we have to use getsockopt(fd, SOL_LOCAL, LOCAL_PEERCRED)
instead. This change is based on a downstream patch in FreeBSD ports.

Co-authored-by: default avatarGreg V <greg@unrelenting.technology>
Co-authored-by: default avatarKoop Mast <kwm@rainbow-runner.nl>
Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
parent f1552700
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment