summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/file_description.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2020-01-24 12:53:29 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-24 12:54:39 -0800
commitd135b5abf6eafa92d2745dc98d48ef39d2f90e75 (patch)
tree6508a91a64e0b07739c31ed366c59e988cfc79d7 /pkg/sentry/vfs/file_description.go
parentfb80979e3fe2614414d2d23c27e41bdb9e7c8541 (diff)
Add anonymous device number allocation to VFS2.
Note that in VFS2, filesystem device numbers are per-vfs.FilesystemImpl rather than global, avoiding the need for a "registry" type to handle save/restore. (This is more consistent with Linux anyway: compare e.g. mm/shmem.c:shmem_mount() => fs/super.c:mount_nodev() => (indirectly) set_anon_super().) PiperOrigin-RevId: 291425193
Diffstat (limited to 'pkg/sentry/vfs/file_description.go')
0 files changed, 0 insertions, 0 deletions