flatcar-scripts/lib
David James 4e098db36f Close fds in RunCommand to prevent children from inheriting file handles.
RunCommand should only pass in stdin, stdout, and stderr to processes,
not other file handles. Fixing this prevents issues where child
processes can cause the parent to hang by forgetting to close the
file handle when launching daemons.

BUG=chromium-os:18104
TEST=Buildbot run with smoke suite. Unit tests.

Change-Id: Ib85095e1fb592ef05a972a5412348363049e6d86
Reviewed-on: http://gerrit.chromium.org/gerrit/4673
Reviewed-by: Brian Harring <ferringb@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Tested-by: David James <davidjames@chromium.org>
2011-07-25 13:31:30 -07:00
..
shflags Move shflags into crosutils.git 2010-07-13 15:24:54 -07:00
cros_build_lib_unittest.py Add better support for getting the path to crosutils. 2011-03-30 11:22:17 -07:00
cros_build_lib.py Close fds in RunCommand to prevent children from inheriting file handles. 2011-07-25 13:31:30 -07:00
cros_image_common.sh make_factory_package: allow updating HWID for image creation 2011-06-30 10:30:43 -07:00
cros_vm_constants.sh Increase statefulfs_size to accomadate larger stateful partitions. 2010-10-18 10:26:16 -07:00
cros_vm_lib.sh Add combine_stdout_stderr as well as make success less verbose. 2011-04-18 17:19:10 -07:00