summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-19 02:31:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-08-19 02:31:52 +0000
commitffffdac11e14b1baadf19d357c1fbd20ce2931ee (patch)
tree4a0eeb215ac66723474a0ce2a26a3c64eb65180d /pkg/sentry/fsimpl
parent91407007c0df4813d06e22df1a43d2b0e413d938 (diff)
parentf2822da54293aaf1c161bde62dcfddfc234e4394 (diff)
Merge release-20200810.0-57-gf2822da54 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl')
-rw-r--r--pkg/sentry/fsimpl/host/tty.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/host/tty.go b/pkg/sentry/fsimpl/host/tty.go
index d372c60cb..27cbd3059 100644
--- a/pkg/sentry/fsimpl/host/tty.go
+++ b/pkg/sentry/fsimpl/host/tty.go
@@ -376,7 +376,7 @@ func (t *TTYFileDescription) checkChange(ctx context.Context, sig linux.Signal)
//
// Linux ignores the result of kill_pgrp().
_ = pg.SendSignal(kernel.SignalInfoPriv(sig))
- return kernel.ERESTARTSYS
+ return syserror.ERESTARTSYS
}
// LockPOSIX implements vfs.FileDescriptionImpl.LockPOSIX.