diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-19 02:16:43 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-19 02:16:43 +0000 |
commit | 124b60768ba18a3fceee47dbb35f7409c44bf18f (patch) | |
tree | 7e5aae6e1072e3ab9d6579f30065a95f848e3913 /pkg/sentry/fs/host/ioctl_unsafe.go | |
parent | 0a4897bbb7d228f39e3983487be0837306012557 (diff) | |
parent | 3a42638a0b32ceede66d8d593609b424bbdba47e (diff) |
Merge release-20200219.0-201-g3a42638 (automated)
Diffstat (limited to 'pkg/sentry/fs/host/ioctl_unsafe.go')
-rw-r--r-- | pkg/sentry/fs/host/ioctl_unsafe.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/host/ioctl_unsafe.go b/pkg/sentry/fs/host/ioctl_unsafe.go index 271582e54..150ac8e19 100644 --- a/pkg/sentry/fs/host/ioctl_unsafe.go +++ b/pkg/sentry/fs/host/ioctl_unsafe.go @@ -21,6 +21,8 @@ import ( "gvisor.dev/gvisor/pkg/abi/linux" ) +// LINT.IfChange + func ioctlGetTermios(fd int) (*linux.Termios, error) { var t linux.Termios _, _, errno := syscall.Syscall(syscall.SYS_IOCTL, uintptr(fd), linux.TCGETS, uintptr(unsafe.Pointer(&t))) @@ -54,3 +56,5 @@ func ioctlSetWinsize(fd int, w *linux.Winsize) error { } return nil } + +// LINT.ThenChange(../../fsimpl/host/ioctl_unsafe.go) |