diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-06-29 15:44:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-29 15:46:19 -0700 |
commit | 5b0d8ff6919a071effb9cf69ad715487f55ca2f3 (patch) | |
tree | 35fad08e1de9b4211b1261a56515fd0d96afb8c5 /pkg/sentry/kernel/contexttest/contexttest.go | |
parent | e8f1a5c1f652ba7abb8c4bd842d6afdcab03865a (diff) |
Refactor udp_socket_test
Bring udp_socket_test into complianc by:
- Eliminating IsRunningOnGvisor() invocations.
- Wrapping sockets in RAII FileDescriptor objects.
- Creating a Bind() method so that the first bind happens on port 0.
PiperOrigin-RevId: 318909396
Diffstat (limited to 'pkg/sentry/kernel/contexttest/contexttest.go')
0 files changed, 0 insertions, 0 deletions