gvisor/runsc
Adin Scannell 753da9604e Remove map from fd_map, change to fd_table.
This renames FDMap to FDTable and drops the kernel.FD type, which had an entire
package to itself and didn't serve much use (it was freely cast between types,
and served as more of an annoyance than providing any protection.)

Based on BenchmarkFDLookupAndDecRef-12, we can expect 5-10 ns per lookup
operation, and 10-15 ns per concurrent lookup operation of savings.

This also fixes two tangential usage issues with the FDMap. Namely, non-atomic
use of NewFDFrom and associated calls to Remove (that are both racy and fail to
drop the reference on the underlying file.)

PiperOrigin-RevId: 256285890
2019-07-02 19:28:59 -07:00
..
boot Remove map from fd_map, change to fd_table. 2019-07-02 19:28:59 -07:00
cgroup Update canonical repository. 2019-06-13 16:50:15 -07:00
cmd Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
console Always set SysProcAttr.Ctty to an FD in the child's FD table. 2019-06-26 11:27:31 -07:00
container Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
debian runsc: add a bazel target to build a debian package 2019-05-03 11:43:43 -07:00
fsgofer Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
sandbox Always set SysProcAttr.Ctty to an FD in the child's FD table. 2019-06-26 11:27:31 -07:00
specutils Fix various spelling issues in the documentation 2019-06-27 14:25:50 -07:00
test Use new location of python-hello image in tests. 2019-07-01 17:01:17 -07:00
tools/dockercfg Fix runsc restore to be compatible with docker start --checkpoint ... 2019-05-03 21:41:45 -07:00
BUILD gvisor/bazel: use python2 to build runsc-debian 2019-06-17 17:09:06 -07:00
main.go Update canonical repository. 2019-06-13 16:50:15 -07:00
version.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00