[syserror] Update several syserror errors to linuxerr equivalents.

Update/remove most syserror errors to linuxerr equivalents. For list
of removed errors, see //pkg/syserror/syserror.go.

PiperOrigin-RevId: 382574582
This commit is contained in:
Zach Koopmans
2021-07-01 12:05:19 -07:00
committed by gVisor bot
parent 07ffecef83
commit 590b8d3e99
116 changed files with 383 additions and 416 deletions
+1 -1
View File
@@ -582,7 +582,7 @@ func (s *Set) ExecuteOps(ctx context.Context, ops []linux.Sembuf, creds *auth.Cr
readOnly := true
for _, op := range ops {
if s.findSem(int32(op.SemNum)) == nil {
return nil, 0, syserror.EFBIG
return nil, 0, linuxerr.EFBIG
}
if op.SemOp != 0 {
readOnly = false