simplify /dev/null / /dev/zero handling

Bionic has been modified to ensure that the STD* file descriptors are
always recreated if they don't exist in the child exec()d process. No
need for all the complexity when we can just close them and rely on the
child to reopen them.

Test: none
Change-Id: I225c58e843dcb301019f7dc64d2425ee4efa9282
1 file changed
tree: 0fdd96a22ba78753c87c79da704faede510038b1
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING