NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/58266 CVS commit: src/sys/kern



The following reply was made to PR lib/58266; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 collin.funk1%gmail.com@localhost
Subject: Re: PR/58266 CVS commit: src/sys/kern
Date: Sun, 19 May 2024 09:07:15 -0700

 > On May 19, 2024, at 9:00=E2=80=AFAM, Christos Zoulas =
 <christos%netbsd.org@localhost> wrote:
 >=20
 > The following reply was made to PR lib/58266; it has been noted by =
 GNATS.
 >=20
 > From: "Christos Zoulas" <christos%netbsd.org@localhost>
 > To: gnats-bugs%gnats.NetBSD.org@localhost
 > Cc:=20
 > Subject: PR/58266 CVS commit: src/sys/kern
 > Date: Sun, 19 May 2024 11:56:55 -0400
 >=20
 > Module Name: src
 > Committed By: christos
 > Date: Sun May 19 15:56:55 UTC 2024
 >=20
 > Modified Files:
 > src/sys/kern: sys_descrip.c
 >=20
 > Log Message:
 > PR/58266: Collin Funk: Fail if from =3D=3D to, like FreeBSD and Linux. =
 The test
 > is done in dup3 before any other tests so even if a bad descriptor it =
 is
 > passed we will return EINVAL not EBADFD like Linux does.
 
 What is the point of this?  The previous behavior seemed perfectly =
 reasonable, and it=E2=80=99s not like we=E2=80=99re bound by the =
 dictates of POSIX for dup3().
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index