summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2019-08-09 13:07:06 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-09 13:08:28 -0700
commitc8961a6cbde04603398d1db92b8a26147453f3a7 (patch)
treeb8b123eb0ae88303d8d3c902b067e450ed4273f9 /pkg/sentry
parent690308111cc3b7332b2c06db19b87db0236aff1e (diff)
ext: Move to pkg/sentry/fsimpl.
fsimpl is the keeper of all filesystem implementations in VFS2. PiperOrigin-RevId: 262617869
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/fsimpl/ext/BUILD (renamed from pkg/sentry/fs/ext/BUILD)16
-rw-r--r--pkg/sentry/fsimpl/ext/README.md (renamed from pkg/sentry/fs/ext/README.md)4
-rw-r--r--pkg/sentry/fsimpl/ext/assets/README.md (renamed from pkg/sentry/fs/ext/assets/README.md)0
-rw-r--r--pkg/sentry/fsimpl/ext/assets/bigfile.txt (renamed from pkg/sentry/fs/ext/assets/bigfile.txt)0
-rw-r--r--pkg/sentry/fsimpl/ext/assets/file.txt (renamed from pkg/sentry/fs/ext/assets/file.txt)0
l---------pkg/sentry/fsimpl/ext/assets/symlink.txt (renamed from pkg/sentry/fs/ext/assets/symlink.txt)0
-rw-r--r--pkg/sentry/fsimpl/ext/assets/tiny.ext2 (renamed from pkg/sentry/fs/ext/assets/tiny.ext2)bin65536 -> 65536 bytes
-rw-r--r--pkg/sentry/fsimpl/ext/assets/tiny.ext3 (renamed from pkg/sentry/fs/ext/assets/tiny.ext3)bin65536 -> 65536 bytes
-rw-r--r--pkg/sentry/fsimpl/ext/assets/tiny.ext4 (renamed from pkg/sentry/fs/ext/assets/tiny.ext4)bin65536 -> 65536 bytes
-rw-r--r--pkg/sentry/fsimpl/ext/benchmark/BUILD (renamed from pkg/sentry/fs/ext/benchmark/BUILD)2
-rw-r--r--pkg/sentry/fsimpl/ext/benchmark/benchmark_test.go (renamed from pkg/sentry/fs/ext/benchmark/benchmark_test.go)2
-rwxr-xr-xpkg/sentry/fsimpl/ext/benchmark/make_deep_ext4.sh (renamed from pkg/sentry/fs/ext/benchmark/make_deep_ext4.sh)0
-rw-r--r--pkg/sentry/fsimpl/ext/block_map_file.go (renamed from pkg/sentry/fs/ext/block_map_file.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/block_map_test.go (renamed from pkg/sentry/fs/ext/block_map_test.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/dentry.go (renamed from pkg/sentry/fs/ext/dentry.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/directory.go (renamed from pkg/sentry/fs/ext/directory.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/BUILD (renamed from pkg/sentry/fs/ext/disklayout/BUILD)2
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/block_group.go (renamed from pkg/sentry/fs/ext/disklayout/block_group.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/block_group_32.go (renamed from pkg/sentry/fs/ext/disklayout/block_group_32.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/block_group_64.go (renamed from pkg/sentry/fs/ext/disklayout/block_group_64.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/block_group_test.go (renamed from pkg/sentry/fs/ext/disklayout/block_group_test.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/dirent.go (renamed from pkg/sentry/fs/ext/disklayout/dirent.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/dirent_new.go (renamed from pkg/sentry/fs/ext/disklayout/dirent_new.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/dirent_old.go (renamed from pkg/sentry/fs/ext/disklayout/dirent_old.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/dirent_test.go (renamed from pkg/sentry/fs/ext/disklayout/dirent_test.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/disklayout.go (renamed from pkg/sentry/fs/ext/disklayout/disklayout.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/extent.go (renamed from pkg/sentry/fs/ext/disklayout/extent.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/extent_test.go (renamed from pkg/sentry/fs/ext/disklayout/extent_test.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/inode.go (renamed from pkg/sentry/fs/ext/disklayout/inode.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/inode_new.go (renamed from pkg/sentry/fs/ext/disklayout/inode_new.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/inode_old.go (renamed from pkg/sentry/fs/ext/disklayout/inode_old.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/inode_test.go (renamed from pkg/sentry/fs/ext/disklayout/inode_test.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/superblock.go (renamed from pkg/sentry/fs/ext/disklayout/superblock.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/superblock_32.go (renamed from pkg/sentry/fs/ext/disklayout/superblock_32.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/superblock_64.go (renamed from pkg/sentry/fs/ext/disklayout/superblock_64.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/superblock_old.go (renamed from pkg/sentry/fs/ext/disklayout/superblock_old.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/superblock_test.go (renamed from pkg/sentry/fs/ext/disklayout/superblock_test.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/disklayout/test_utils.go (renamed from pkg/sentry/fs/ext/disklayout/test_utils.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/ext.go (renamed from pkg/sentry/fs/ext/ext.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/ext_test.go (renamed from pkg/sentry/fs/ext/ext_test.go)4
-rw-r--r--pkg/sentry/fsimpl/ext/extent_file.go (renamed from pkg/sentry/fs/ext/extent_file.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/extent_test.go (renamed from pkg/sentry/fs/ext/extent_test.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/file_description.go (renamed from pkg/sentry/fs/ext/file_description.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/filesystem.go (renamed from pkg/sentry/fs/ext/filesystem.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/inode.go (renamed from pkg/sentry/fs/ext/inode.go)2
-rw-r--r--pkg/sentry/fsimpl/ext/regular_file.go (renamed from pkg/sentry/fs/ext/regular_file.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/symlink.go (renamed from pkg/sentry/fs/ext/symlink.go)0
-rw-r--r--pkg/sentry/fsimpl/ext/utils.go (renamed from pkg/sentry/fs/ext/utils.go)2
48 files changed, 23 insertions, 23 deletions
diff --git a/pkg/sentry/fs/ext/BUILD b/pkg/sentry/fsimpl/ext/BUILD
index a3b1e4bd6..a41101339 100644
--- a/pkg/sentry/fs/ext/BUILD
+++ b/pkg/sentry/fsimpl/ext/BUILD
@@ -31,7 +31,7 @@ go_library(
"symlink.go",
"utils.go",
],
- importpath = "gvisor.dev/gvisor/pkg/sentry/fs/ext",
+ importpath = "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext",
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
@@ -41,7 +41,7 @@ go_library(
"//pkg/sentry/arch",
"//pkg/sentry/context",
"//pkg/sentry/fs",
- "//pkg/sentry/fs/ext/disklayout",
+ "//pkg/sentry/fsimpl/ext/disklayout",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/memmap",
"//pkg/sentry/safemem",
@@ -62,11 +62,11 @@ go_test(
"extent_test.go",
],
data = [
- "//pkg/sentry/fs/ext:assets/bigfile.txt",
- "//pkg/sentry/fs/ext:assets/file.txt",
- "//pkg/sentry/fs/ext:assets/tiny.ext2",
- "//pkg/sentry/fs/ext:assets/tiny.ext3",
- "//pkg/sentry/fs/ext:assets/tiny.ext4",
+ "//pkg/sentry/fsimpl/ext:assets/bigfile.txt",
+ "//pkg/sentry/fsimpl/ext:assets/file.txt",
+ "//pkg/sentry/fsimpl/ext:assets/tiny.ext2",
+ "//pkg/sentry/fsimpl/ext:assets/tiny.ext3",
+ "//pkg/sentry/fsimpl/ext:assets/tiny.ext4",
],
embed = [":ext"],
deps = [
@@ -74,7 +74,7 @@ go_test(
"//pkg/binary",
"//pkg/sentry/context",
"//pkg/sentry/context/contexttest",
- "//pkg/sentry/fs/ext/disklayout",
+ "//pkg/sentry/fsimpl/ext/disklayout",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/usermem",
"//pkg/sentry/vfs",
diff --git a/pkg/sentry/fs/ext/README.md b/pkg/sentry/fsimpl/ext/README.md
index e212717aa..af00cfda8 100644
--- a/pkg/sentry/fs/ext/README.md
+++ b/pkg/sentry/fsimpl/ext/README.md
@@ -44,8 +44,8 @@ an internal pointer, it can quickly fragment a structure across memory. As this
runs along side a full blown kernel (which is memory intensive), having a
fragmented struct might hurt performance. Hence these internal structures,
though interfaced, are tightly packed in memory using the same inheritance
-pattern that pkg/sentry/vfs uses. The pkg/sentry/fs/ext/disklayout package makes
-an execption to this pattern for reasons documented in the package.
+pattern that pkg/sentry/vfs uses. The pkg/sentry/fsimpl/ext/disklayout package
+makes an execption to this pattern for reasons documented in the package.
### Security
diff --git a/pkg/sentry/fs/ext/assets/README.md b/pkg/sentry/fsimpl/ext/assets/README.md
index 6f1e81b3a..6f1e81b3a 100644
--- a/pkg/sentry/fs/ext/assets/README.md
+++ b/pkg/sentry/fsimpl/ext/assets/README.md
diff --git a/pkg/sentry/fs/ext/assets/bigfile.txt b/pkg/sentry/fsimpl/ext/assets/bigfile.txt
index 3857cf516..3857cf516 100644
--- a/pkg/sentry/fs/ext/assets/bigfile.txt
+++ b/pkg/sentry/fsimpl/ext/assets/bigfile.txt
diff --git a/pkg/sentry/fs/ext/assets/file.txt b/pkg/sentry/fsimpl/ext/assets/file.txt
index 980a0d5f1..980a0d5f1 100644
--- a/pkg/sentry/fs/ext/assets/file.txt
+++ b/pkg/sentry/fsimpl/ext/assets/file.txt
diff --git a/pkg/sentry/fs/ext/assets/symlink.txt b/pkg/sentry/fsimpl/ext/assets/symlink.txt
index 4c330738c..4c330738c 120000
--- a/pkg/sentry/fs/ext/assets/symlink.txt
+++ b/pkg/sentry/fsimpl/ext/assets/symlink.txt
diff --git a/pkg/sentry/fs/ext/assets/tiny.ext2 b/pkg/sentry/fsimpl/ext/assets/tiny.ext2
index 381ade9bf..381ade9bf 100644
--- a/pkg/sentry/fs/ext/assets/tiny.ext2
+++ b/pkg/sentry/fsimpl/ext/assets/tiny.ext2
Binary files differ
diff --git a/pkg/sentry/fs/ext/assets/tiny.ext3 b/pkg/sentry/fsimpl/ext/assets/tiny.ext3
index 0e97a324c..0e97a324c 100644
--- a/pkg/sentry/fs/ext/assets/tiny.ext3
+++ b/pkg/sentry/fsimpl/ext/assets/tiny.ext3
Binary files differ
diff --git a/pkg/sentry/fs/ext/assets/tiny.ext4 b/pkg/sentry/fsimpl/ext/assets/tiny.ext4
index a6859736d..a6859736d 100644
--- a/pkg/sentry/fs/ext/assets/tiny.ext4
+++ b/pkg/sentry/fsimpl/ext/assets/tiny.ext4
Binary files differ
diff --git a/pkg/sentry/fs/ext/benchmark/BUILD b/pkg/sentry/fsimpl/ext/benchmark/BUILD
index 73999770a..9fddb4c4c 100644
--- a/pkg/sentry/fs/ext/benchmark/BUILD
+++ b/pkg/sentry/fsimpl/ext/benchmark/BUILD
@@ -9,7 +9,7 @@ go_test(
deps = [
"//pkg/sentry/context",
"//pkg/sentry/context/contexttest",
- "//pkg/sentry/fs/ext",
+ "//pkg/sentry/fsimpl/ext",
"//pkg/sentry/kernel/auth",
"//pkg/sentry/vfs",
],
diff --git a/pkg/sentry/fs/ext/benchmark/benchmark_test.go b/pkg/sentry/fsimpl/ext/benchmark/benchmark_test.go
index 08f4dd251..10a8083a0 100644
--- a/pkg/sentry/fs/ext/benchmark/benchmark_test.go
+++ b/pkg/sentry/fsimpl/ext/benchmark/benchmark_test.go
@@ -26,7 +26,7 @@ import (
"gvisor.dev/gvisor/pkg/sentry/context"
"gvisor.dev/gvisor/pkg/sentry/context/contexttest"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext"
"gvisor.dev/gvisor/pkg/sentry/kernel/auth"
"gvisor.dev/gvisor/pkg/sentry/vfs"
)
diff --git a/pkg/sentry/fs/ext/benchmark/make_deep_ext4.sh b/pkg/sentry/fsimpl/ext/benchmark/make_deep_ext4.sh
index d0910da1f..d0910da1f 100755
--- a/pkg/sentry/fs/ext/benchmark/make_deep_ext4.sh
+++ b/pkg/sentry/fsimpl/ext/benchmark/make_deep_ext4.sh
diff --git a/pkg/sentry/fs/ext/block_map_file.go b/pkg/sentry/fsimpl/ext/block_map_file.go
index cea89bcd9..cea89bcd9 100644
--- a/pkg/sentry/fs/ext/block_map_file.go
+++ b/pkg/sentry/fsimpl/ext/block_map_file.go
diff --git a/pkg/sentry/fs/ext/block_map_test.go b/pkg/sentry/fsimpl/ext/block_map_test.go
index f8dd6bf9f..213aa3919 100644
--- a/pkg/sentry/fs/ext/block_map_test.go
+++ b/pkg/sentry/fsimpl/ext/block_map_test.go
@@ -21,7 +21,7 @@ import (
"github.com/google/go-cmp/cmp"
"gvisor.dev/gvisor/pkg/binary"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
)
// These consts are for mocking the block map tree.
diff --git a/pkg/sentry/fs/ext/dentry.go b/pkg/sentry/fsimpl/ext/dentry.go
index 054fb42b6..054fb42b6 100644
--- a/pkg/sentry/fs/ext/dentry.go
+++ b/pkg/sentry/fsimpl/ext/dentry.go
diff --git a/pkg/sentry/fs/ext/directory.go b/pkg/sentry/fsimpl/ext/directory.go
index 1ba8bf54c..b51f3e18d 100644
--- a/pkg/sentry/fs/ext/directory.go
+++ b/pkg/sentry/fsimpl/ext/directory.go
@@ -22,7 +22,7 @@ import (
"gvisor.dev/gvisor/pkg/log"
"gvisor.dev/gvisor/pkg/sentry/context"
"gvisor.dev/gvisor/pkg/sentry/fs"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/sentry/memmap"
"gvisor.dev/gvisor/pkg/sentry/vfs"
"gvisor.dev/gvisor/pkg/syserror"
diff --git a/pkg/sentry/fs/ext/disklayout/BUILD b/pkg/sentry/fsimpl/ext/disklayout/BUILD
index dde15110d..907d35b7e 100644
--- a/pkg/sentry/fs/ext/disklayout/BUILD
+++ b/pkg/sentry/fsimpl/ext/disklayout/BUILD
@@ -22,7 +22,7 @@ go_library(
"superblock_old.go",
"test_utils.go",
],
- importpath = "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout",
+ importpath = "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout",
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
diff --git a/pkg/sentry/fs/ext/disklayout/block_group.go b/pkg/sentry/fsimpl/ext/disklayout/block_group.go
index ad6f4fef8..ad6f4fef8 100644
--- a/pkg/sentry/fs/ext/disklayout/block_group.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/block_group.go
diff --git a/pkg/sentry/fs/ext/disklayout/block_group_32.go b/pkg/sentry/fsimpl/ext/disklayout/block_group_32.go
index 3e16c76db..3e16c76db 100644
--- a/pkg/sentry/fs/ext/disklayout/block_group_32.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/block_group_32.go
diff --git a/pkg/sentry/fs/ext/disklayout/block_group_64.go b/pkg/sentry/fsimpl/ext/disklayout/block_group_64.go
index 9a809197a..9a809197a 100644
--- a/pkg/sentry/fs/ext/disklayout/block_group_64.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/block_group_64.go
diff --git a/pkg/sentry/fs/ext/disklayout/block_group_test.go b/pkg/sentry/fsimpl/ext/disklayout/block_group_test.go
index 0ef4294c0..0ef4294c0 100644
--- a/pkg/sentry/fs/ext/disklayout/block_group_test.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/block_group_test.go
diff --git a/pkg/sentry/fs/ext/disklayout/dirent.go b/pkg/sentry/fsimpl/ext/disklayout/dirent.go
index 417b6cf65..417b6cf65 100644
--- a/pkg/sentry/fs/ext/disklayout/dirent.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/dirent.go
diff --git a/pkg/sentry/fs/ext/disklayout/dirent_new.go b/pkg/sentry/fsimpl/ext/disklayout/dirent_new.go
index 29ae4a5c2..29ae4a5c2 100644
--- a/pkg/sentry/fs/ext/disklayout/dirent_new.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/dirent_new.go
diff --git a/pkg/sentry/fs/ext/disklayout/dirent_old.go b/pkg/sentry/fsimpl/ext/disklayout/dirent_old.go
index 6fff12a6e..6fff12a6e 100644
--- a/pkg/sentry/fs/ext/disklayout/dirent_old.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/dirent_old.go
diff --git a/pkg/sentry/fs/ext/disklayout/dirent_test.go b/pkg/sentry/fsimpl/ext/disklayout/dirent_test.go
index 934919f8a..934919f8a 100644
--- a/pkg/sentry/fs/ext/disklayout/dirent_test.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/dirent_test.go
diff --git a/pkg/sentry/fs/ext/disklayout/disklayout.go b/pkg/sentry/fsimpl/ext/disklayout/disklayout.go
index bdf4e2132..bdf4e2132 100644
--- a/pkg/sentry/fs/ext/disklayout/disklayout.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/disklayout.go
diff --git a/pkg/sentry/fs/ext/disklayout/extent.go b/pkg/sentry/fsimpl/ext/disklayout/extent.go
index 567523d32..567523d32 100644
--- a/pkg/sentry/fs/ext/disklayout/extent.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/extent.go
diff --git a/pkg/sentry/fs/ext/disklayout/extent_test.go b/pkg/sentry/fsimpl/ext/disklayout/extent_test.go
index b0fad9b71..b0fad9b71 100644
--- a/pkg/sentry/fs/ext/disklayout/extent_test.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/extent_test.go
diff --git a/pkg/sentry/fs/ext/disklayout/inode.go b/pkg/sentry/fsimpl/ext/disklayout/inode.go
index 88ae913f5..88ae913f5 100644
--- a/pkg/sentry/fs/ext/disklayout/inode.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/inode.go
diff --git a/pkg/sentry/fs/ext/disklayout/inode_new.go b/pkg/sentry/fsimpl/ext/disklayout/inode_new.go
index 8f9f574ce..8f9f574ce 100644
--- a/pkg/sentry/fs/ext/disklayout/inode_new.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/inode_new.go
diff --git a/pkg/sentry/fs/ext/disklayout/inode_old.go b/pkg/sentry/fsimpl/ext/disklayout/inode_old.go
index db25b11b6..db25b11b6 100644
--- a/pkg/sentry/fs/ext/disklayout/inode_old.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/inode_old.go
diff --git a/pkg/sentry/fs/ext/disklayout/inode_test.go b/pkg/sentry/fsimpl/ext/disklayout/inode_test.go
index dd03ee50e..dd03ee50e 100644
--- a/pkg/sentry/fs/ext/disklayout/inode_test.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/inode_test.go
diff --git a/pkg/sentry/fs/ext/disklayout/superblock.go b/pkg/sentry/fsimpl/ext/disklayout/superblock.go
index 8bb327006..8bb327006 100644
--- a/pkg/sentry/fs/ext/disklayout/superblock.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/superblock.go
diff --git a/pkg/sentry/fs/ext/disklayout/superblock_32.go b/pkg/sentry/fsimpl/ext/disklayout/superblock_32.go
index 53e515fd3..53e515fd3 100644
--- a/pkg/sentry/fs/ext/disklayout/superblock_32.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/superblock_32.go
diff --git a/pkg/sentry/fs/ext/disklayout/superblock_64.go b/pkg/sentry/fsimpl/ext/disklayout/superblock_64.go
index 7c1053fb4..7c1053fb4 100644
--- a/pkg/sentry/fs/ext/disklayout/superblock_64.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/superblock_64.go
diff --git a/pkg/sentry/fs/ext/disklayout/superblock_old.go b/pkg/sentry/fsimpl/ext/disklayout/superblock_old.go
index 9221e0251..9221e0251 100644
--- a/pkg/sentry/fs/ext/disklayout/superblock_old.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/superblock_old.go
diff --git a/pkg/sentry/fs/ext/disklayout/superblock_test.go b/pkg/sentry/fsimpl/ext/disklayout/superblock_test.go
index 463b5ba21..463b5ba21 100644
--- a/pkg/sentry/fs/ext/disklayout/superblock_test.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/superblock_test.go
diff --git a/pkg/sentry/fs/ext/disklayout/test_utils.go b/pkg/sentry/fsimpl/ext/disklayout/test_utils.go
index 9c63f04c0..9c63f04c0 100644
--- a/pkg/sentry/fs/ext/disklayout/test_utils.go
+++ b/pkg/sentry/fsimpl/ext/disklayout/test_utils.go
diff --git a/pkg/sentry/fs/ext/ext.go b/pkg/sentry/fsimpl/ext/ext.go
index 632ba97f8..f10accafc 100644
--- a/pkg/sentry/fs/ext/ext.go
+++ b/pkg/sentry/fsimpl/ext/ext.go
@@ -24,7 +24,7 @@ import (
"gvisor.dev/gvisor/pkg/fd"
"gvisor.dev/gvisor/pkg/log"
"gvisor.dev/gvisor/pkg/sentry/context"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/sentry/kernel/auth"
"gvisor.dev/gvisor/pkg/sentry/vfs"
"gvisor.dev/gvisor/pkg/syserror"
diff --git a/pkg/sentry/fs/ext/ext_test.go b/pkg/sentry/fsimpl/ext/ext_test.go
index 31da80ed9..49b57a2d6 100644
--- a/pkg/sentry/fs/ext/ext_test.go
+++ b/pkg/sentry/fsimpl/ext/ext_test.go
@@ -27,7 +27,7 @@ import (
"gvisor.dev/gvisor/pkg/abi/linux"
"gvisor.dev/gvisor/pkg/sentry/context"
"gvisor.dev/gvisor/pkg/sentry/context/contexttest"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/sentry/kernel/auth"
"gvisor.dev/gvisor/pkg/sentry/usermem"
"gvisor.dev/gvisor/pkg/sentry/vfs"
@@ -37,7 +37,7 @@ import (
)
const (
- assetsDir = "pkg/sentry/fs/ext/assets"
+ assetsDir = "pkg/sentry/fsimpl/ext/assets"
)
var (
diff --git a/pkg/sentry/fs/ext/extent_file.go b/pkg/sentry/fsimpl/ext/extent_file.go
index 1b9bf449b..38b68a2d3 100644
--- a/pkg/sentry/fs/ext/extent_file.go
+++ b/pkg/sentry/fsimpl/ext/extent_file.go
@@ -19,7 +19,7 @@ import (
"sort"
"gvisor.dev/gvisor/pkg/binary"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/syserror"
)
diff --git a/pkg/sentry/fs/ext/extent_test.go b/pkg/sentry/fsimpl/ext/extent_test.go
index d03cd564f..42d0a484b 100644
--- a/pkg/sentry/fs/ext/extent_test.go
+++ b/pkg/sentry/fsimpl/ext/extent_test.go
@@ -22,7 +22,7 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"gvisor.dev/gvisor/pkg/binary"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
)
const (
diff --git a/pkg/sentry/fs/ext/file_description.go b/pkg/sentry/fsimpl/ext/file_description.go
index d244cf1e7..d244cf1e7 100644
--- a/pkg/sentry/fs/ext/file_description.go
+++ b/pkg/sentry/fsimpl/ext/file_description.go
diff --git a/pkg/sentry/fs/ext/filesystem.go b/pkg/sentry/fsimpl/ext/filesystem.go
index e08839f48..2d15e8aaf 100644
--- a/pkg/sentry/fs/ext/filesystem.go
+++ b/pkg/sentry/fsimpl/ext/filesystem.go
@@ -21,7 +21,7 @@ import (
"gvisor.dev/gvisor/pkg/abi/linux"
"gvisor.dev/gvisor/pkg/sentry/context"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/sentry/vfs"
"gvisor.dev/gvisor/pkg/syserror"
)
diff --git a/pkg/sentry/fs/ext/inode.go b/pkg/sentry/fsimpl/ext/inode.go
index 178bd6376..e6c847a71 100644
--- a/pkg/sentry/fs/ext/inode.go
+++ b/pkg/sentry/fsimpl/ext/inode.go
@@ -20,7 +20,7 @@ import (
"sync/atomic"
"gvisor.dev/gvisor/pkg/abi/linux"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/sentry/kernel/auth"
"gvisor.dev/gvisor/pkg/sentry/vfs"
"gvisor.dev/gvisor/pkg/syserror"
diff --git a/pkg/sentry/fs/ext/regular_file.go b/pkg/sentry/fsimpl/ext/regular_file.go
index ffc76ba5b..ffc76ba5b 100644
--- a/pkg/sentry/fs/ext/regular_file.go
+++ b/pkg/sentry/fsimpl/ext/regular_file.go
diff --git a/pkg/sentry/fs/ext/symlink.go b/pkg/sentry/fsimpl/ext/symlink.go
index e06548a98..e06548a98 100644
--- a/pkg/sentry/fs/ext/symlink.go
+++ b/pkg/sentry/fsimpl/ext/symlink.go
diff --git a/pkg/sentry/fs/ext/utils.go b/pkg/sentry/fsimpl/ext/utils.go
index 3d89d664d..d8b728f8c 100644
--- a/pkg/sentry/fs/ext/utils.go
+++ b/pkg/sentry/fsimpl/ext/utils.go
@@ -18,7 +18,7 @@ import (
"io"
"gvisor.dev/gvisor/pkg/binary"
- "gvisor.dev/gvisor/pkg/sentry/fs/ext/disklayout"
+ "gvisor.dev/gvisor/pkg/sentry/fsimpl/ext/disklayout"
"gvisor.dev/gvisor/pkg/syserror"
)