diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-16 19:10:31 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-16 19:10:31 +0000 |
commit | 08511b95f97d780467cc349c4f8f888e0bb0c618 (patch) | |
tree | c5b674ec33cb6cff4ea15e2207b407ae8bcb7ea5 /pkg/sentry/kernel/task_signals.go | |
parent | 81e030cf1c12937fe9837a7572ce19de57de1247 (diff) | |
parent | 28399818fc1e5d294cc93ddd4a1ac7e31c375fbf (diff) |
Merge release-20200323.0-164-g2839981 (automated)
Diffstat (limited to 'pkg/sentry/kernel/task_signals.go')
-rw-r--r-- | pkg/sentry/kernel/task_signals.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task_signals.go b/pkg/sentry/kernel/task_signals.go index 6aa798346..f07de2089 100644 --- a/pkg/sentry/kernel/task_signals.go +++ b/pkg/sentry/kernel/task_signals.go @@ -174,7 +174,7 @@ func (t *Task) deliverSignal(info *arch.SignalInfo, act arch.SignalAct) taskRunS fallthrough case (sre == ERESTARTSYS && !act.IsRestart()): t.Debugf("Not restarting syscall %d after errno %d: interrupted by signal %d", t.Arch().SyscallNo(), sre, info.Signo) - t.Arch().SetReturn(uintptr(-t.ExtractErrno(syserror.EINTR, -1))) + t.Arch().SetReturn(uintptr(-ExtractErrno(syserror.EINTR, -1))) default: t.Debugf("Restarting syscall %d after errno %d: interrupted by signal %d", t.Arch().SyscallNo(), sre, info.Signo) t.Arch().RestartSyscall() |