gvisor/pkg/fd
Fabricio Voznika 2202812e07 Simplify FD handling for container start/exec
VFS1 and VFS2 host FDs have different dupping behavior,
making error prone to code for both. Change the contract
so that FDs are released as they are used, so the caller
can simple defer a block that closes all remaining files.
This also addresses handling of partial failures.

With this fix, more VFS2 tests can be enabled.

Updates #1487

PiperOrigin-RevId: 330112266
2020-09-04 11:42:02 -07:00
..
BUILD Standardize on tools directory. 2020-01-27 12:21:00 -08:00
fd.go Simplify FD handling for container start/exec 2020-09-04 11:42:02 -07:00
fd_test.go