summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-08-15 02:20:30 +0000
committerHaibo Xu <haibo.xu@arm.com>2019-08-15 03:19:22 +0000
commit52843719ca8f4e5a91fed4916ecb0e483ac025b9 (patch)
tree6d952a168c7c6d458356fdc3c456196a5684a3a2
parent0624858593847096b68ecbd262e2cae6ea79048a (diff)
Rename fdbased/mmap.go to fdbased/mmap_stub.go.
Signed-off-by: Haibo Xu haibo.xu@arm.com Change-Id: Id4489554b9caa332695df8793d361f8332f6a13b
-rw-r--r--pkg/tcpip/link/fdbased/BUILD2
-rw-r--r--pkg/tcpip/link/fdbased/mmap_stub.go (renamed from pkg/tcpip/link/fdbased/mmap.go)0
2 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/link/fdbased/BUILD b/pkg/tcpip/link/fdbased/BUILD
index d786d8fdf..d31c815b5 100644
--- a/pkg/tcpip/link/fdbased/BUILD
+++ b/pkg/tcpip/link/fdbased/BUILD
@@ -7,9 +7,9 @@ go_library(
srcs = [
"endpoint.go",
"endpoint_unsafe.go",
- "mmap.go",
"mmap_amd64.go",
"mmap_amd64_unsafe.go",
+ "mmap_stub.go",
"packet_dispatchers.go",
],
importpath = "gvisor.dev/gvisor/pkg/tcpip/link/fdbased",
diff --git a/pkg/tcpip/link/fdbased/mmap.go b/pkg/tcpip/link/fdbased/mmap_stub.go
index 2dca173c2..2dca173c2 100644
--- a/pkg/tcpip/link/fdbased/mmap.go
+++ b/pkg/tcpip/link/fdbased/mmap_stub.go