diff --git a/pkg/sentry/syscalls/linux/sys_process_vm.go b/pkg/sentry/syscalls/linux/sys_process_vm.go index 9f5820d05..2653d80b4 100644 --- a/pkg/sentry/syscalls/linux/sys_process_vm.go +++ b/pkg/sentry/syscalls/linux/sys_process_vm.go @@ -194,12 +194,6 @@ func doProcessVMOpMaybeLocked(t *kernel.Task, args processVMOpArgs) (int, error) start := 0 for bytes > start && 0 < len(writeIovecs) { - if t.Interrupted() { - if n == 0 { - return 0, linuxerr.EINTR - } - return n, nil - } writeLength := int(writeIovecs[0].Length()) if writeLength > (bytes - start) { writeLength = bytes - start