NetBSD-Bugs archive

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

Re: kern/59081: Add close_range() system call



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

From: Ricardo Branco <rbranco%suse.de@localhost>
To: =?UTF-8?Q?J=C3=B6rg_Sonnenberger?= <joerg%bec.de@localhost>, gnats-bugs%netbsd.org@localhost,
 kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/59081: Add close_range() system call
Date: Wed, 26 Mar 2025 17:00:42 +0100

 closefrom doesn't handle CLOSE_RANGE_CLOEXEC.
 
 I see close_range being used by container projects.
 
 
 Best,
 
 Ricardo
 
 On 3/26/25 4:46 PM, Jörg Sonnenberger wrote:
 >
 >
 > On 3/25/25 10:45 PM, David H. Gutteridge via gnats wrote:
 >> The following reply was made to PR kern/59081; it has been noted by 
 >> GNATS.
 >>
 >> From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
 >> To: Gnats Bugs <gnats-bugs%netbsd.org@localhost>
 >> Cc:
 >> Subject: Re: kern/59081: Add close_range() system call
 >> Date: Tue, 25 Mar 2025 17:41:35 -0400
 >>
 >>   It would be nice to have this available natively, for sure. I was 
 >> asked
 >>   by an upstream project why NetBSD didn't have this.
 >
 > I've never seen a use case that closefrom(3) doesn't cover.
 >
 > Joerg
 


Home | Main Index | Thread Index | Old Index