summaryrefslogtreecommitdiffhomepage
path: root/pkg/syserr/host_linux.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-08-04 16:43:21 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-04 16:45:01 -0700
commit0ba702bd6ca36b959d153976c7bbf7c914f4f8c9 (patch)
tree2fd21e86c98c595cba560c3a065f1788a7e5b167 /pkg/syserr/host_linux.go
parent00993130e5a9c05aaa88c5a860407b079093a024 (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/syserr/host_linux.go')
0 files changed, 0 insertions, 0 deletions