summaryrefslogtreecommitdiffhomepage
path: root/pkg/unet
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-04-29 14:03:04 -0700
committerShentubot <shentubot@google.com>2019-04-29 14:04:14 -0700
commitf4ce43e1f426148d99c28c1b0e5c43ddda17a8cb (patch)
treeef64d18350874742742599c8b059b333eb060920 /pkg/unet
parent38e627644756400413fffe7222cdd5200dc4eccf (diff)
Allow and document bug ids in gVisor codebase.
PiperOrigin-RevId: 245818639 Change-Id: I03703ef0fb9b6675955637b9fe2776204c545789
Diffstat (limited to 'pkg/unet')
-rw-r--r--pkg/unet/unet.go2
-rw-r--r--pkg/unet/unet_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/unet/unet.go b/pkg/unet/unet.go
index deeea078d..114fb8c5b 100644
--- a/pkg/unet/unet.go
+++ b/pkg/unet/unet.go
@@ -211,7 +211,7 @@ func SocketPair(packet bool) (*Socket, *Socket, error) {
// variable between our two sockets. We only use SocketPair in tests
// anyway.
//
- // NOTE: This is purely due to the fact that the raw
+ // NOTE(b/27107811): This is purely due to the fact that the raw
// syscall does not serve as a boundary for the sanitizer.
var race int32
a, err := NewSocket(fds[0])
diff --git a/pkg/unet/unet_test.go b/pkg/unet/unet_test.go
index ecc670925..db5485539 100644
--- a/pkg/unet/unet_test.go
+++ b/pkg/unet/unet_test.go
@@ -40,7 +40,7 @@ func randomFilename() (string, error) {
return "", err
}
- // NOTE: We try to use relative path if possible. This is
+ // NOTE(b/26918832): We try to use relative path if possible. This is
// to help conforming to the unix path length limit.
if rel, err := filepath.Rel(cwd, file); err == nil {
return rel, nil