gvisor/runsc
Ghanan Gowripalan bdd5996a73 Improve type safety for network protocol options
The existing implementation for NetworkProtocol.{Set}Option take
arguments of an empty interface type which all types (implicitly)
implement; any type may be passed to the functions.

This change introduces marker interfaces for network protocol options
that may be set or queried which network protocol option types implement
to ensure that invalid types are caught at compile time. Different
interfaces are used to allow the compiler to enforce read-only or
set-only socket options.

PiperOrigin-RevId: 328980359
2020-08-28 11:50:17 -07:00
..
boot Improve type safety for network protocol options 2020-08-28 11:50:17 -07:00
cgroup Merge pull request #3102 from stripe:andrew/cgroup-eintr 2020-07-28 13:16:30 -07:00
cmd Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
config Make flag propagation automatic 2020-08-26 20:24:41 -07:00
console Standardize on tools directory. 2020-01-27 12:21:00 -08:00
container Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
flag Make flag propagation automatic 2020-08-26 20:24:41 -07:00
fsgofer Move boot.Config to its own package 2020-08-19 18:37:42 -07:00
sandbox Make flag propagation automatic 2020-08-26 20:24:41 -07:00
specutils Merge pull request #2672 from amscanne:shim-integrated 2020-07-13 16:10:58 -07:00
BUILD Include shim in individual released binaries. 2020-08-25 12:24:32 -07:00
main.go Make flag propagation automatic 2020-08-26 20:24:41 -07:00
version.go Fix `runsc --version` and add a test. 2019-09-10 15:41:47 -07:00
version_test.sh Standardize on tools directory. 2020-01-27 12:21:00 -08:00