Files
visor/pkg/errors
Jing ChenandgVisor bot 659b6e0970 Fix EINTR leakage by correcting type comparison in ConvertIntr.
gVisor leaks `EINTR` to the guest process.

`ConvertIntr` fails to convert hosts's `unix.EINTR`(`unix.Errno`) to
`ERESTARTSYS` due to direct equality check (`==`) against
`ErrInterrupted`(*errors.Error), EINTR leaks to sandboxed process.

Fixed by using `linuxerr.Equals` for type-safe comparison.

Assissted-by: antigravity

Fix #13179

PiperOrigin-RevId: 918823555
2026-05-20 22:02:36 -07:00
..