mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add EISNAM to linuxHostTranslations and fix error message for ENOTNAM.
Reported-by: syzbot+2817f67abeaf8fca4427@syzkaller.appspotmail.com PiperOrigin-RevId: 658584815
This commit is contained in:
@@ -81,7 +81,8 @@ var (
|
||||
ErrShouldRestart = newWithHost("interrupted system call should be restarted", errno.ERESTART, unix.ERESTART)
|
||||
ErrStreamPipe = newWithHost("streams pipe error", errno.ESTRPIPE, unix.ESTRPIPE)
|
||||
ErrStructureNeedsCleaning = newWithHost("structure needs cleaning", errno.EUCLEAN, unix.EUCLEAN)
|
||||
ErrIsNamedFile = newWithHost("is a named type file", errno.ENOTNAM, unix.ENOTNAM)
|
||||
ErrIsNotNamedFile = newWithHost("not a XENIX named type file", errno.ENOTNAM, unix.ENOTNAM)
|
||||
ErrIsNamedFile = newWithHost("is a named type file", errno.EISNAM, unix.EISNAM)
|
||||
ErrRemoteIO = newWithHost("remote I/O error", errno.EREMOTEIO, unix.EREMOTEIO)
|
||||
ErrNoMedium = newWithHost("no medium found", errno.ENOMEDIUM, unix.ENOMEDIUM)
|
||||
ErrWrongMediumType = newWithHost("wrong medium type", errno.EMEDIUMTYPE, unix.EMEDIUMTYPE)
|
||||
|
||||
Reference in New Issue
Block a user