[syserror] Convert remaining syserror definitions to linuxerr.

Convert remaining public errors (e.g. EINTR) from syserror to linuxerr.

PiperOrigin-RevId: 390471763
This commit is contained in:
Zach Koopmans
2021-08-12 15:19:12 -07:00
committed by gVisor bot
parent 5f132ae1f8
commit 02370bbd31
125 changed files with 515 additions and 587 deletions
+1 -1
View File
@@ -2951,7 +2951,7 @@ func (s *socketOpsCommon) ioctl(ctx context.Context, io usermem.IO, args arch.Sy
s.readMu.Lock()
defer s.readMu.Unlock()
if !s.timestampValid {
return 0, syserror.ENOENT
return 0, linuxerr.ENOENT
}
tv := linux.NsecToTimeval(s.timestampNS)