Update package locations.

Because the abi will depend on the core types for marshalling (usermem,
context, safemem, safecopy), these need to be flattened from the sentry
directory. These packages contain no sentry-specific details.

PiperOrigin-RevId: 291811289
This commit is contained in:
Adin Scannell
2020-01-27 15:31:32 -08:00
committed by gVisor bot
parent 60d7ff73e1
commit 0e2f1b7abd
446 changed files with 725 additions and 721 deletions
+4
View File
@@ -39,3 +39,7 @@ func (o OS) String() string {
return fmt.Sprintf("OS(%d)", o)
}
}
// ABI is an interface that defines OS-specific interactions.
type ABI interface {
}
@@ -5,7 +5,7 @@ package(licenses = ["notice"])
go_library(
name = "context",
srcs = ["context.go"],
visibility = ["//pkg/sentry:internal"],
visibility = ["//:sandbox"],
deps = [
"//pkg/amutex",
"//pkg/log",
@@ -16,7 +16,7 @@ go_library(
"sighandler_amd64.s",
"sighandler_arm64.s",
],
visibility = ["//pkg/sentry:internal"],
visibility = ["//:sandbox"],
deps = ["//pkg/syserror"],
)
@@ -10,9 +10,9 @@ go_library(
"safemem.go",
"seq_unsafe.go",
],
visibility = ["//pkg/sentry:internal"],
visibility = ["//:sandbox"],
deps = [
"//pkg/sentry/platform/safecopy",
"//pkg/safecopy",
],
)
@@ -19,7 +19,7 @@ import (
"reflect"
"unsafe"
"gvisor.dev/gvisor/pkg/sentry/platform/safecopy"
"gvisor.dev/gvisor/pkg/safecopy"
)
// A Block is a range of contiguous bytes, similar to []byte but with the

Some files were not shown because too many files have changed in this diff Show More