mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add missing case in tmpfs.inode.direntType.
This was discovered by syzkaller. PiperOrigin-RevId: 325025193
This commit is contained in:
@@ -558,6 +558,8 @@ func (i *inode) direntType() uint8 {
|
||||
return linux.DT_LNK
|
||||
case *socketFile:
|
||||
return linux.DT_SOCK
|
||||
case *namedPipe:
|
||||
return linux.DT_FIFO
|
||||
case *deviceFile:
|
||||
switch impl.kind {
|
||||
case vfs.BlockDevice:
|
||||
|
||||
Reference in New Issue
Block a user