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 _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
