diff options
-rw-r--r-- | pkg/sentry/syscalls/linux/sys_getdents.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_getdents.go b/pkg/sentry/syscalls/linux/sys_getdents.go index 178714b07..29c0d7a39 100644 --- a/pkg/sentry/syscalls/linux/sys_getdents.go +++ b/pkg/sentry/syscalls/linux/sys_getdents.go @@ -150,7 +150,7 @@ func toType(nodeType fs.InodeType) uint8 { return syscall.DT_REG case fs.Symlink: return syscall.DT_LNK - case fs.Directory: + case fs.Directory, fs.SpecialDirectory: return syscall.DT_DIR case fs.Pipe: return syscall.DT_FIFO |