Skip to content

SO_PEERCRED socket option returns EINVAL #1011

Closed

Description

On rs_preview build 14905:

Calling getsockopt(..., SOL_SOCKET, SO_PEERCRED, ...) on an AF_UNIX socket seems to always return EINVAL. Is this not yet implemented?

This is causing several failures in the .NET Core System.IO.Pipes tests (we use AF_UNIX sockets to implement "named pipes".)

Activity

  1. sunilmut commented on Aug 29, 2016

    @sunilmut
    Member

    Eric Eilebrecht (@ericeil) - Thanks for reporting this. SO_PEERCRED is supported, but not for AF_UNIX\SOCK_DGRAM sockets. I have opened a task to track this at our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions