Add ENAVAIL to host_linux.go.

Reported-by: syzbot+60bb099bed4694a37f61@syzkaller.appspotmail.com
PiperOrigin-RevId: 658858051
This commit is contained in:
Ayush Ranjan
2024-08-02 11:53:26 -07:00
committed by gVisor bot
parent b04d0e9293
commit 0184ec4aac
+1
View File
@@ -82,6 +82,7 @@ var (
ErrStreamPipe = newWithHost("streams pipe error", errno.ESTRPIPE, unix.ESTRPIPE)
ErrStructureNeedsCleaning = newWithHost("structure needs cleaning", errno.EUCLEAN, unix.EUCLEAN)
ErrIsNotNamedFile = newWithHost("not a XENIX named type file", errno.ENOTNAM, unix.ENOTNAM)
ErrNotAvailable = newWithHost("no XENIX semaphores available", errno.ENAVAIL, unix.ENAVAIL)
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)