gvisor/pkg/sentry/control
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 Simplify FD handling for container start/exec 2020-09-04 11:42:02 -07:00
control.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
logging.go Internal change. 2020-06-17 15:10:40 -07:00
pprof.go Stop profiling when the sentry exits 2020-08-05 11:30:11 -07:00
proc.go Simplify FD handling for container start/exec 2020-09-04 11:42:02 -07:00
proc_test.go Implement TTY field in control.Processes(). 2019-12-06 14:34:13 -08:00
state.go Update canonical repository. 2019-06-13 16:50:15 -07:00