Bug 176420 - [kernel] [patch] incorrect errno for LOCAL_PEERCRED
Summary: [kernel] [patch] incorrect errno for LOCAL_PEERCRED
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-25 13:10 UTC by Nicholas Wilson
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments
file.diff (481 bytes, patch)
2013-02-25 13:10 UTC, Nicholas Wilson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Wilson 2013-02-25 13:10:00 UTC
A tiny bug; error code is incorrect for the SEQPACKET retrieval of LOCAL_PEERCRED.

* An unconnected SOCK_STREAM: get ENOTCONN
* A SOCK_DGRAM: get EINVAL
* An unconnected SOCK_SEQPACKET: get EINVAL, but should get ENOTCONN

Fix: Patch attached for RELEASE-9.1

Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-02-27 00:19:39 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:44 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped