summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/pgalloc/pgalloc_unsafe.go
diff options
context:
space:
mode:
authorZeling Feng <zeling@google.com>2021-02-08 20:10:54 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-08 20:13:17 -0800
commit95500ece56f2acf34fcdc74e420f91beea888ada (patch)
treeb49879185b622de9e330607275b3d9b3876abaaa /pkg/sentry/pgalloc/pgalloc_unsafe.go
parentbf4968e17d7d08299493835a34af1a6d8551c375 (diff)
Allow UDP sockets connect()ing to port 0
We previously return EINVAL when connecting to port 0, however this is not the observed behavior on Linux. One of the observable effects after connecting to port 0 on Linux is that getpeername() will fail with ENOTCONN. PiperOrigin-RevId: 356413451
Diffstat (limited to 'pkg/sentry/pgalloc/pgalloc_unsafe.go')
0 files changed, 0 insertions, 0 deletions