Date: Mon, 9 Nov 1998 15:58:23 +0000 From: Peter.Mutsaers@mail.ing.nl To: freebsd-gnats-submit@FreeBSD.ORG Subject: kern/8629: accept (2) errno bug Message-ID: <000AAC47.C21023@mail.ing.nl>
next in thread | raw e-mail | index | archive | help
>Number: 8629
>Category: kern
>Synopsis: accept(2) errno uses incorrect code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 9 07:50:00 PST 1998
>Last-Modified:
>Originator: Peter Mutsaers
>Organization:
none
>Release: FreeBSD 3.0-BETA i386
>Environment:
nothing special
>Description:
According to the man page (and on other UNIX systems) accept on a
socket which is not of type SOCK_STREAM (such as SOCK_DGRAM) should
yield an errno code of EOPNOTSUPP. Instead, -current sets errno to
EINVAL.
>How-To-Repeat:
call accept(2) on a socket of type SOCK_DGRAM
>Fix:
????
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000AAC47.C21023>
