[Toybox] [PATCH] xargs: open child's stdin non-O_CLOEXEC.

Rob Landley rob at landley.net
Fri Apr 22 00:34:42 PDT 2022


On 4/21/22 19:58, enh via Toybox wrote:
> O_CLOEXEC is the default in toybox, so although the code as written
> _looked_ correct, we need to |O_CLOEXEC to have the fd survive the
> exec().

Oops.

> Found by folks building the kernel with toybox.

Yay!

I'm building the kernel with toybox for a bunch of architectures here, and
didn't see it. I'm curious what context the breakage was in?

Thanks,

Rob



More information about the Toybox mailing list