mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
[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:
committed by
gVisor bot
parent
07ffecef83
commit
590b8d3e99
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user