summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-03-29 17:23:33 -0700
committerAlex Deymo <deymo@google.com>2016-04-11 15:42:21 -0700
commitb108b608030bed6677cb86589a9df02a7df181c1 (patch)
tree607a5d39f763854b071f62a8fb069e0378540358 /scripts/update_payload/format_utils_unittest.py
parente67041c5858816c903efe2cea4a422bc4bed01a3 (diff)
Subprocess: Close all unused file descriptors.
This patch extends Subprocess::ExecFlags() method with a list of file descriptors that should be kept open on the child process and mapped to a pipe() in the parent. The remaining file descriptors will be closed. Bug: 27880754 TEST=Added unittests for this functionality. (cherry picked from commit e384bb2e403b0f0f666e89d5f6acfaec41120cc5) Change-Id: I06fe529c58e179315e5a740d03c43c3b2d852526
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions