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

SO_PEERCRED socket option returns EINVAL #1011

Closed
ericeil opened this issue Aug 29, 2016 · 1 comment
Closed

SO_PEERCRED socket option returns EINVAL #1011

ericeil opened this issue Aug 29, 2016 · 1 comment

Comments

@ericeil
Copy link

ericeil commented Aug 29, 2016

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".)

@sunilmut
Copy link
Member

@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.

joshfree added a commit to dotnet/corefx that referenced this issue Dec 12, 2017
* Re-enable DriveInfo test on Windows Subsystem for Linux

https://github.com/dotnet/corefx/issues/11570

* Re-enable additional tests on WSL

Related microsoft/WSL#1011 and microsoft/WSL#308

* correct xunit Facts

* Disable some network tests on WSL

Disable some network tests on WindowsSubsystemForLinux due to https://github.com/dotnet/corefx/issues/15513
picenka21 pushed a commit to picenka21/runtime that referenced this issue Feb 18, 2022
* Re-enable DriveInfo test on Windows Subsystem for Linux

https://github.com/dotnet/corefx/issues/11570

* Re-enable additional tests on WSL

Related microsoft/WSL#1011 and microsoft/WSL#308

* correct xunit Facts

* Disable some network tests on WSL

Disable some network tests on WindowsSubsystemForLinux due to https://github.com/dotnet/corefx/issues/15513


Commit migrated from dotnet/corefx@1e95551
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants