diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2021-04-22 16:31:11 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-22 16:34:00 -0700 |
commit | 2739cf46284f2786ad33b545d55b8178bc46f7de (patch) | |
tree | 45440f2d40f3eb885341e4a9709bdecf95d8a5c0 /pkg/sentry/fsimpl | |
parent | 0a6eaed50b83a35a687699aa5e871b80605c9f46 (diff) |
Fix AF_UNIX listen() w/ zero backlog.
In https://github.com/google/gvisor/commit/f075522849fa a check to increase zero
to a minimum backlog length was removed from sys_socket.go to bring it in parity
with linux and then in tcp/endpoint.go we bump backlog by 1. But this broke
calling listen on a AF_UNIX socket w/ a zero backlog as in linux it does allow 1
connection even with a zero backlog.
This was caught by a php runtime test socket_abstract_path.phpt.
PiperOrigin-RevId: 369974744
Diffstat (limited to 'pkg/sentry/fsimpl')
0 files changed, 0 insertions, 0 deletions