diff options
| author | Nicolas BRULEZ <n.brulez@gmail.com> | 2017-09-26 10:35:04 +0200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-09-26 15:08:03 +0000 |
| commit | 08a17966712f6edf1600e3eafb7758a153b55ec4 (patch) | |
| tree | 7bfa572baf68991ab101c0e8b0fc9f22ec741395 /src/runtime | |
| parent | c99cfd93a86dc76ff276b13211ef65ab2752bfc7 (diff) | |
| download | go-08a17966712f6edf1600e3eafb7758a153b55ec4.tar.xz | |
syscall: allow abstract unix socket to use the full Path len
The previous implementation forced all Unix socket to have a name
strictly shorter than len(sa.raw.Path) to allow a terminating NULL
byte to be added. This requirement does not apply to abstract socket
names under Linux, so for this case we allow the full length.
Fixes #21965
Change-Id: I1d1f58b6b6172d589428c7230cfeae984de78b4b
Reviewed-on: https://go-review.googlesource.com/66190
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
