commit | 1a87671b2e5aecfdd0b31f3f53ae893923417024 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Apr 21 17:54:38 2022 -0700 |
committer | Rob Landley <rob@landley.net> | Fri Apr 22 02:27:38 2022 -0500 |
tree | 383bb7514217a15fc8b3953cc71faae564415ec4 | |
parent | f5edb3fd79742a14eb1b150061fe56f41560b1d2 [diff] |
xargs: open child's stdin non-O_CLOEXEC. 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(). Found by folks building the kernel with toybox.