diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-07-31 00:05:14 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-07-31 00:05:14 +0000 |
commit | 45448c3d713cfa75da8c719b72006783724f7eed (patch) | |
tree | 9953c42da84c1be6d9b317e7c886c41ba2ad3a5e | |
parent | 1af221fb2f97097bffb601e4f136722a0999376d (diff) | |
parent | 885e17f890d1d7c559871f720c40cef5cad69bc2 (diff) |
Merge 885e17f8 (automated)
-rwxr-xr-x | pkg/sentry/platform/ring0/defs_impl.go | 2 | ||||
-rw-r--r-- | runsc/sandbox/network.go | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/pkg/sentry/platform/ring0/defs_impl.go b/pkg/sentry/platform/ring0/defs_impl.go index acae012dc..a30a9dd4a 100755 --- a/pkg/sentry/platform/ring0/defs_impl.go +++ b/pkg/sentry/platform/ring0/defs_impl.go @@ -1,12 +1,12 @@ package ring0 import ( - "fmt" "gvisor.dev/gvisor/pkg/cpuid" "io" "reflect" "syscall" + "fmt" "gvisor.dev/gvisor/pkg/sentry/platform/ring0/pagetables" "gvisor.dev/gvisor/pkg/sentry/usermem" ) diff --git a/runsc/sandbox/network.go b/runsc/sandbox/network.go index a965a9dcb..333ffb65c 100644 --- a/runsc/sandbox/network.go +++ b/runsc/sandbox/network.go @@ -33,13 +33,6 @@ import ( "gvisor.dev/gvisor/runsc/specutils" ) -const ( - // Annotations used to indicate whether the container corresponds to a - // pod or a container within a pod. - crioContainerTypeAnnotation = "io.kubernetes.cri-o.ContainerType" - containerdContainerTypeAnnotation = "io.kubernetes.cri.container-type" -) - // setupNetwork configures the network stack to mimic the local network // configuration. Docker uses network namespaces with vnets to configure the // network for the container. The untrusted app expects to see the same network |