summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/socket_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-27 23:05:22 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-27 23:05:22 +0000
commitfe0e756ca8cca14bd299659e4cb43b4262980bb1 (patch)
tree0ce3a9aaea6c9c52bc675a816cf39aa7f0466bb1 /pkg/sentry/fs/host/socket_unsafe.go
parent6e672a4a9f5947562f6557c9d0997fa2bedd6b59 (diff)
parent1c2ecbb1a03ffaa3bcdb2ee69c879da5e7076fa5 (diff)
Merge release-20200413.0-7-g1c2ecbb (automated)
Diffstat (limited to 'pkg/sentry/fs/host/socket_unsafe.go')
-rw-r--r--pkg/sentry/fs/host/socket_unsafe.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/host/socket_unsafe.go b/pkg/sentry/fs/host/socket_unsafe.go
index f3bbed7ea..5d4f312cf 100644
--- a/pkg/sentry/fs/host/socket_unsafe.go
+++ b/pkg/sentry/fs/host/socket_unsafe.go
@@ -19,6 +19,8 @@ import (
"unsafe"
)
+// LINT.IfChange
+
// fdReadVec receives from fd to bufs.
//
// If the total length of bufs is > maxlen, fdReadVec will do a partial read
@@ -99,3 +101,5 @@ func fdWriteVec(fd int, bufs [][]byte, maxlen int64, truncate bool) (int64, int6
return int64(n), length, err
}
+
+// LINT.ThenChange(../../fsimpl/host/socket_unsafe.go)