commit | 08dc9c465e1999053083f77da125707c2d6c6921 | [log] [tgz] |
---|---|---|
author | Robin Thellend <rthellend@google.com> | Mon Feb 09 14:53:40 2015 -0800 |
committer | Robin Thellend <rthellend@google.com> | Mon Feb 09 14:53:48 2015 -0800 |
tree | 16522c4cf7728f780db36020f37d625b272f6dae | |
parent | 10c4a1f5bcc0df73a713b4b8cab72c00080c61a8 [diff] |
veyron/services/mgmt/suidhelper: Pass std FDs to the child If we don't pass stdin, stdout, and stderr explicitly, syscall.StartProcess will close them and the child will not receive them. Then, if the child attempts to write to stdout or stderr, or attempts to read from stdin, it might interfere with other open connections. With this change, the standard file descriptors are passed explicitly. Change-Id: I07cf73e089e781830eaeb07a100091453c413ecc