Skip to content

x/sys/unix: missing macOS/darwin support for GetsockoptUcred #77162

@dezzeus

Description

@dezzeus

I tried to use the GetsockoptUcred method on MacOS to get the unix.Ucred of the peer on the other side of a UNIX socket, as it was reported on the doc as being available on the x/sys/unix package, but I later discovered that it seems to be implemented only for Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolcompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions