diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-08-04 16:43:21 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-04 16:45:01 -0700 |
commit | 0ba702bd6ca36b959d153976c7bbf7c914f4f8c9 (patch) | |
tree | 2fd21e86c98c595cba560c3a065f1788a7e5b167 /pkg/tcpip/checker | |
parent | 00993130e5a9c05aaa88c5a860407b079093a024 (diff) |
Error if dup'ing stdio FDs will clobber another FD
The loader dup's stdio FD into stable FD's starting at a fixed
number. During tests, it's possible that the target FD is already
in use. Added check to error early so it's easier to debug failures.
Also bumped up the starting FD number to prevent collisions.
PiperOrigin-RevId: 324917299
Diffstat (limited to 'pkg/tcpip/checker')
0 files changed, 0 insertions, 0 deletions