summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/pgalloc/context.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-08-12 17:40:11 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-12 17:41:33 -0700
commit9769a8eaa4b384d1b7db9f06edf28a6331cd2b64 (patch)
tree7755840ef6131afb53789eefd1c8ae19f00b823c /pkg/sentry/pgalloc/context.go
parent691c2f8173dfe7349e8289697299839cda32b495 (diff)
Handle ENOSPC with a partial write.
Similar to the EPIPE case, we can return the number of bytes written before ENOSPC was encountered. If the app tries to write more, we can return ENOSPC on the next write. PiperOrigin-RevId: 263041648
Diffstat (limited to 'pkg/sentry/pgalloc/context.go')
0 files changed, 0 insertions, 0 deletions