Re: git: f3f3e3c44d3b - main - fd: add close_range(..., CLOSE_RANGE_CLOEXEC)

From: Dmitry Chagin <dchagin_at_freebsd.org>
Date: Sun, 02 Apr 2023 13:31:37 UTC
On Sun, Apr 02, 2023 at 02:27:32PM +0200, Mateusz Guzik wrote:
> are there real users out there?
> 
> it should probably get added for linux compat, but exposing it for
> native binaries is rather weird.
> 
> anyhow fell free to patch :]
> 
Thanks, for linux I already have a patch :) so could commit it w/o
modifiyng the kernel


> 
> 
> On 4/2/23, Dmitry Chagin <dchagin@freebsd.org> wrote:
> > On Thu, Mar 03, 2022 at 05:30:53PM +0000, Mateusz Guzik wrote:
> >> The branch main has been updated by mjg:
> >>
> >> URL:
> >> https://cgit.FreeBSD.org/src/commit/?id=f3f3e3c44d3b1776653bbf19eab17ce006a815d8
> >>
> >> commit f3f3e3c44d3b1776653bbf19eab17ce006a815d8
> >> Author:     Mateusz Guzik <mjg@FreeBSD.org>
> >> AuthorDate: 2022-03-03 12:45:11 +0000
> >> Commit:     Mateusz Guzik <mjg@FreeBSD.org>
> >> CommitDate: 2022-03-03 17:21:58 +0000
> >>
> >>     fd: add close_range(..., CLOSE_RANGE_CLOEXEC)
> >>
> >>     For compatibility with Linux.
> >>
> >
> > 10x, are we have any reason not to implement CLOSE_RANGE_UNSHARE?
> >
> >
> 
> 
> -- 
> Mateusz Guzik <mjguzik gmail.com>