summaryrefslogtreecommitdiffhomepage
path: root/pkg/syserror/syserror.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-03-26 21:47:46 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-26 21:52:24 -0700
commit76a7ace751bfd4b16411edbc0a2b06d0308b8832 (patch)
treefd1cb700af0cbe5c271f3a166b670d51fd65e00b /pkg/syserror/syserror.go
parent137f3614009b0ef931c1d00a083b4ae8e6a39bc9 (diff)
Add BoundEndpointAt filesystem operation.
BoundEndpointAt() is needed to support Unix sockets bound at a file path, corresponding to BoundEndpoint() in VFS1. Updates #1476. PiperOrigin-RevId: 303258251
Diffstat (limited to 'pkg/syserror/syserror.go')
-rw-r--r--pkg/syserror/syserror.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/syserror/syserror.go b/pkg/syserror/syserror.go
index 4b5a0fca6..f86db0999 100644
--- a/pkg/syserror/syserror.go
+++ b/pkg/syserror/syserror.go
@@ -27,6 +27,7 @@ import (
var (
E2BIG = error(syscall.E2BIG)
EACCES = error(syscall.EACCES)
+ EADDRINUSE = error(syscall.EADDRINUSE)
EAGAIN = error(syscall.EAGAIN)
EBADF = error(syscall.EBADF)
EBADFD = error(syscall.EBADFD)