mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix debug message.
Prior to this change, it read as:
```
Not restarting syscall 61 after
errno &{512 %!d(string=to be restarted if SA_RESTART is set)}:
interrupted by signal 17
```
PiperOrigin-RevId: 580280436
This commit is contained in:
committed by
gVisor bot
parent
999c708319
commit
9115b8d57c
@@ -173,7 +173,7 @@ func (t *Task) deliverSignal(info *linux.SignalInfo, act linux.SigAction) taskRu
|
||||
case sre == linuxerr.ERESTART_RESTARTBLOCK:
|
||||
fallthrough
|
||||
case (sre == linuxerr.ERESTARTSYS && act.Flags&linux.SA_RESTART == 0):
|
||||
t.Debugf("Not restarting syscall %d after errno %d: interrupted by signal %d", t.Arch().SyscallNo(), sre, info.Signo)
|
||||
t.Debugf("Not restarting syscall %d after error %v: interrupted by signal %d", t.Arch().SyscallNo(), sre, info.Signo)
|
||||
t.Arch().SetReturn(uintptr(-ExtractErrno(linuxerr.EINTR, -1)))
|
||||
default:
|
||||
t.Debugf("Restarting syscall %d: interrupted by signal %d", t.Arch().SyscallNo(), info.Signo)
|
||||
|
||||
Reference in New Issue
Block a user