summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/lock.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-07-12 12:21:49 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-12 12:24:17 -0700
commit4742f7d788e784aa2d86f81aecaef2039caad01c (patch)
treeb0022f4ecd1a5ed6402cd67c8a4493a92beee9d6 /pkg/sentry/vfs/lock.go
parent1f396d8c16e179aa5b7b9ea1da6b16fb0b167016 (diff)
Prevent interleaving in sniffer pcap output
Remove "partial write" handling as io.Writer.Write is not permitted to return a nil error on partial writes, and this code was already panicking on non-nil errors. PiperOrigin-RevId: 384289970
Diffstat (limited to 'pkg/sentry/vfs/lock.go')
0 files changed, 0 insertions, 0 deletions