Re: [pseudo] [PATCH 0/3] closefrom/close_range: protect every pseudo fd, then drop one

Richard Purdie <[email protected]> Tue, 04 Aug 2026 22:13:57 +0100
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <92c180949cc82cbd9025c7673c2ffb8a43896fda.camel@linuxfoundation.org>
Hi Baban,

On Thu, 2026-07-30 at 05:07 +0000, Babanpreet Singh wrote:
> Yes, that's fine by me, thanks for folding it in and for redoing the
> commit messages. I see the fd-protect patches on master with 1.9.10 on
> top.
>=20
> I've also read through the close_range respin on master-next. The clamp
> and the OP_CLOSE_RANGE exemption match what I reproduced here.
>=20
> Sorry the __open64_2 hunt cost you an afternoon. Happy to run the
> close_range probe and the OE reproducer against current master-next and
> report back if another data point would help.
>=20
> I'll add a note to bug 16339 once the close_range side lands.

We're close, we just need a new version of the patch which makes
close_range and close_from use the same OP call within pseudo. Do you
want to write that or should I?

Cheers,

Richard