ref: adding copyright headers and licensing files
Change-Id: I135f73159c3e010f7faf14f1215bbd74eb32c2cb
diff --git a/profiles/chrome/chromeinit.go b/profiles/chrome/chromeinit.go
index 0246b1e..1db7f3f 100644
--- a/profiles/chrome/chromeinit.go
+++ b/profiles/chrome/chromeinit.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package chrome implements a profile for use within Chrome, in particular
// for use by Chrome extensions.
package chrome
diff --git a/profiles/doc.go b/profiles/doc.go
index 003ffd7..7a7cdcd 100644
--- a/profiles/doc.go
+++ b/profiles/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package Profiles, and its children, provide implementations of the
// v23.Profile function. These implementations should import all of the
// packages that they require to implement Profile-specific functionality.
diff --git a/profiles/fake/fake.go b/profiles/fake/fake.go
index 93aa777..6a92bac 100644
--- a/profiles/fake/fake.go
+++ b/profiles/fake/fake.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package fake
import (
diff --git a/profiles/fake/fake_test.go b/profiles/fake/fake_test.go
index 7952552..b409f0b 100644
--- a/profiles/fake/fake_test.go
+++ b/profiles/fake/fake_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package fake_test
import (
diff --git a/profiles/fake/naming.go b/profiles/fake/naming.go
index f287a21..691de22 100644
--- a/profiles/fake/naming.go
+++ b/profiles/fake/naming.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package fake
import (
diff --git a/profiles/fake/rpc.go b/profiles/fake/rpc.go
index 754ef79..f00dd3b 100644
--- a/profiles/fake/rpc.go
+++ b/profiles/fake/rpc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package fake
import (
diff --git a/profiles/fake/runtime.go b/profiles/fake/runtime.go
index fc32392..fce2ad3 100644
--- a/profiles/fake/runtime.go
+++ b/profiles/fake/runtime.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// fake implements a fake runtime. The fake runtime is useful in tests when you
// want to mock out important components.
// TODO(mattr): Make a more complete, but still fake, implementation.
diff --git a/profiles/gce/init.go b/profiles/gce/init.go
index ece228d..50c34ca 100644
--- a/profiles/gce/init.go
+++ b/profiles/gce/init.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux
// Package gce provides a profile for Google Compute Engine and should be
diff --git a/profiles/genericinit.go b/profiles/genericinit.go
index 16fa15a..9a8affe 100644
--- a/profiles/genericinit.go
+++ b/profiles/genericinit.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package profiles
import (
diff --git a/profiles/internal/gce/gce_android.go b/profiles/internal/gce/gce_android.go
index dcfa7d1..ce22de5 100644
--- a/profiles/internal/gce/gce_android.go
+++ b/profiles/internal/gce/gce_android.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build android
package gce
diff --git a/profiles/internal/gce/gce_linux.go b/profiles/internal/gce/gce_linux.go
index fc58d34..456c544 100644
--- a/profiles/internal/gce/gce_linux.go
+++ b/profiles/internal/gce/gce_linux.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux,!android
// Package gce functions to test whether the current process is running on
diff --git a/profiles/internal/gce/gce_other.go b/profiles/internal/gce/gce_other.go
index 5c8fe4a..bfc9198 100644
--- a/profiles/internal/gce/gce_other.go
+++ b/profiles/internal/gce/gce_other.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !linux
package gce
diff --git a/profiles/internal/gce/gce_test.go b/profiles/internal/gce/gce_test.go
index 0abcf10..0cfe65e 100644
--- a/profiles/internal/gce/gce_test.go
+++ b/profiles/internal/gce/gce_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux,!android
package gce
diff --git a/profiles/internal/gce_linux.go b/profiles/internal/gce_linux.go
index c03524d..482b53a 100644
--- a/profiles/internal/gce_linux.go
+++ b/profiles/internal/gce_linux.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux
package internal
diff --git a/profiles/internal/gce_other.go b/profiles/internal/gce_other.go
index 727e171..63db7e3 100644
--- a/profiles/internal/gce_other.go
+++ b/profiles/internal/gce_other.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !linux
package internal
diff --git a/profiles/internal/lib/appcycle/appcycle.go b/profiles/internal/lib/appcycle/appcycle.go
index 366a97d..eb56037 100644
--- a/profiles/internal/lib/appcycle/appcycle.go
+++ b/profiles/internal/lib/appcycle/appcycle.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package appcycle
import (
diff --git a/profiles/internal/lib/bqueue/bqueue.go b/profiles/internal/lib/bqueue/bqueue.go
index caab5ce..235a204 100644
--- a/profiles/internal/lib/bqueue/bqueue.go
+++ b/profiles/internal/lib/bqueue/bqueue.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package bqueue implements several kinds of buffer queues, as a N-writer,
// 1-reader queue. By "buffer," we mean iobuf.Slice values. Each writer has a
// separate bounded queue to which it writes buffers. The queue also supports
diff --git a/profiles/internal/lib/bqueue/drrqueue/drrqueue.go b/profiles/internal/lib/bqueue/drrqueue/drrqueue.go
index 8902a0d..e07a118 100644
--- a/profiles/internal/lib/bqueue/drrqueue/drrqueue.go
+++ b/profiles/internal/lib/bqueue/drrqueue/drrqueue.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package drrqueue implements a deficit round-robin buffer queue.
//
// Efficient Fair Queueing Using Deficit Round-Robin
diff --git a/profiles/internal/lib/bqueue/drrqueue/drrqueue_test.go b/profiles/internal/lib/bqueue/drrqueue/drrqueue_test.go
index d928a6b..aff95e6 100644
--- a/profiles/internal/lib/bqueue/drrqueue/drrqueue_test.go
+++ b/profiles/internal/lib/bqueue/drrqueue/drrqueue_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package drrqueue
import (
diff --git a/profiles/internal/lib/dependency/dependency.go b/profiles/internal/lib/dependency/dependency.go
index b777bef..758449f 100644
--- a/profiles/internal/lib/dependency/dependency.go
+++ b/profiles/internal/lib/dependency/dependency.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package dependency keeps track of a dependency graph.
// You add edges to the graph by specifying an object and the objects it depends on.
// You can then call FinsihAndWait when the object is finished to wait until
diff --git a/profiles/internal/lib/dependency/dependency_test.go b/profiles/internal/lib/dependency/dependency_test.go
index 6ac6940..a47374b 100644
--- a/profiles/internal/lib/dependency/dependency_test.go
+++ b/profiles/internal/lib/dependency/dependency_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package dependency
import (
diff --git a/profiles/internal/lib/deque/deque.go b/profiles/internal/lib/deque/deque.go
index a104de2..5537fae 100644
--- a/profiles/internal/lib/deque/deque.go
+++ b/profiles/internal/lib/deque/deque.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package deque implements a deque using a circular array.
package deque
diff --git a/profiles/internal/lib/deque/deque_test.go b/profiles/internal/lib/deque/deque_test.go
index d1fbea2..0e89896 100644
--- a/profiles/internal/lib/deque/deque_test.go
+++ b/profiles/internal/lib/deque/deque_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package deque
import (
diff --git a/profiles/internal/lib/iobuf/allocator.go b/profiles/internal/lib/iobuf/allocator.go
index b26a4ef..1dc5c5e 100644
--- a/profiles/internal/lib/iobuf/allocator.go
+++ b/profiles/internal/lib/iobuf/allocator.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import "v.io/x/lib/vlog"
diff --git a/profiles/internal/lib/iobuf/allocator_test.go b/profiles/internal/lib/iobuf/allocator_test.go
index 6bdce26..01a5ad5 100644
--- a/profiles/internal/lib/iobuf/allocator_test.go
+++ b/profiles/internal/lib/iobuf/allocator_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import (
diff --git a/profiles/internal/lib/iobuf/iobuf.go b/profiles/internal/lib/iobuf/iobuf.go
index ece8f49..2b1542f 100644
--- a/profiles/internal/lib/iobuf/iobuf.go
+++ b/profiles/internal/lib/iobuf/iobuf.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package iobuf performs explicit memory management for data buffers used
// to perform network IO. The intent is that it is more efficient to perform
// manual allocation than to rely on the Go garbage collector to manage large
diff --git a/profiles/internal/lib/iobuf/iobuf_test.go b/profiles/internal/lib/iobuf/iobuf_test.go
index 54553ef..b9f454a 100644
--- a/profiles/internal/lib/iobuf/iobuf_test.go
+++ b/profiles/internal/lib/iobuf/iobuf_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import (
diff --git a/profiles/internal/lib/iobuf/reader.go b/profiles/internal/lib/iobuf/reader.go
index 4700822..50954ea 100644
--- a/profiles/internal/lib/iobuf/reader.go
+++ b/profiles/internal/lib/iobuf/reader.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import (
diff --git a/profiles/internal/lib/iobuf/reader_test.go b/profiles/internal/lib/iobuf/reader_test.go
index d7e2b43..a78d546 100644
--- a/profiles/internal/lib/iobuf/reader_test.go
+++ b/profiles/internal/lib/iobuf/reader_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import (
diff --git a/profiles/internal/lib/iobuf/slice.go b/profiles/internal/lib/iobuf/slice.go
index 3bfc1f9..d48a463 100644
--- a/profiles/internal/lib/iobuf/slice.go
+++ b/profiles/internal/lib/iobuf/slice.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
// Slice refers to an iobuf and the byte slice for the actual data.
diff --git a/profiles/internal/lib/iobuf/slice_test.go b/profiles/internal/lib/iobuf/slice_test.go
index 4b75b92..0898b41 100644
--- a/profiles/internal/lib/iobuf/slice_test.go
+++ b/profiles/internal/lib/iobuf/slice_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package iobuf
import (
diff --git a/profiles/internal/lib/pcqueue/pcqueue.go b/profiles/internal/lib/pcqueue/pcqueue.go
index 26095de..c1b0602 100644
--- a/profiles/internal/lib/pcqueue/pcqueue.go
+++ b/profiles/internal/lib/pcqueue/pcqueue.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// A producer/consumer queue is a concurrent bounded buffer supporting
// multiple concurrent producers and consumers, with timeouts. The queue can be
// closed from either end, by the producer and/or the consumer. When closed,
diff --git a/profiles/internal/lib/pcqueue/pcqueue_test.go b/profiles/internal/lib/pcqueue/pcqueue_test.go
index e41ec89..a8858d5 100644
--- a/profiles/internal/lib/pcqueue/pcqueue_test.go
+++ b/profiles/internal/lib/pcqueue/pcqueue_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package pcqueue
import (
diff --git a/profiles/internal/lib/publisher/publisher.go b/profiles/internal/lib/publisher/publisher.go
index 0d60f03..1121e55 100644
--- a/profiles/internal/lib/publisher/publisher.go
+++ b/profiles/internal/lib/publisher/publisher.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package publisher provides a type to publish names to a mounttable.
package publisher
diff --git a/profiles/internal/lib/publisher/publisher_test.go b/profiles/internal/lib/publisher/publisher_test.go
index f672d16..e8c988b 100644
--- a/profiles/internal/lib/publisher/publisher_test.go
+++ b/profiles/internal/lib/publisher/publisher_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package publisher_test
import (
diff --git a/profiles/internal/lib/reflectutil/all_test.go b/profiles/internal/lib/reflectutil/all_test.go
index eebf63e..ad4c949 100644
--- a/profiles/internal/lib/reflectutil/all_test.go
+++ b/profiles/internal/lib/reflectutil/all_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package reflectutil
import (
diff --git a/profiles/internal/lib/reflectutil/deepequal.go b/profiles/internal/lib/reflectutil/deepequal.go
index 242f888..6ff5d30 100644
--- a/profiles/internal/lib/reflectutil/deepequal.go
+++ b/profiles/internal/lib/reflectutil/deepequal.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package reflectutil
import (
diff --git a/profiles/internal/lib/reflectutil/doc.go b/profiles/internal/lib/reflectutil/doc.go
index 86a8bdb..bdd0e3d 100644
--- a/profiles/internal/lib/reflectutil/doc.go
+++ b/profiles/internal/lib/reflectutil/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package reflectutil provides reflection-based utilities.
package reflectutil
diff --git a/profiles/internal/lib/reflectutil/sort.go b/profiles/internal/lib/reflectutil/sort.go
index b3631d1..3517bb2 100644
--- a/profiles/internal/lib/reflectutil/sort.go
+++ b/profiles/internal/lib/reflectutil/sort.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package reflectutil
import (
diff --git a/profiles/internal/lib/sync/doc.go b/profiles/internal/lib/sync/doc.go
index 3e184b9..7e9faa2 100644
--- a/profiles/internal/lib/sync/doc.go
+++ b/profiles/internal/lib/sync/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package sync provides synchronization primitives.
package sync
diff --git a/profiles/internal/lib/sync/lock.go b/profiles/internal/lib/sync/lock.go
index bc8eb1d..cb5d741 100644
--- a/profiles/internal/lib/sync/lock.go
+++ b/profiles/internal/lib/sync/lock.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import "sync"
diff --git a/profiles/internal/lib/sync/semaphore.go b/profiles/internal/lib/sync/semaphore.go
index 87588e3..4fac408 100644
--- a/profiles/internal/lib/sync/semaphore.go
+++ b/profiles/internal/lib/sync/semaphore.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import (
diff --git a/profiles/internal/lib/sync/semaphore_test.go b/profiles/internal/lib/sync/semaphore_test.go
index 8fc9f87..21d6be2 100644
--- a/profiles/internal/lib/sync/semaphore_test.go
+++ b/profiles/internal/lib/sync/semaphore_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import (
diff --git a/profiles/internal/lib/sync/wait_group.go b/profiles/internal/lib/sync/wait_group.go
index 3ee2ec1..ba5b4ae 100644
--- a/profiles/internal/lib/sync/wait_group.go
+++ b/profiles/internal/lib/sync/wait_group.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import "sync"
diff --git a/profiles/internal/lib/sync/wait_group_test.go b/profiles/internal/lib/sync/wait_group_test.go
index 5b8bcbe..ff250b3 100644
--- a/profiles/internal/lib/sync/wait_group_test.go
+++ b/profiles/internal/lib/sync/wait_group_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import (
diff --git a/profiles/internal/lib/tcputil/tcputil.go b/profiles/internal/lib/tcputil/tcputil.go
index 7f3e1dd..dc1c5a1 100644
--- a/profiles/internal/lib/tcputil/tcputil.go
+++ b/profiles/internal/lib/tcputil/tcputil.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// package tcputil contains functions commonly used to manipulate TCP
// connections.
package tcputil
diff --git a/profiles/internal/lib/upcqueue/upcqueue.go b/profiles/internal/lib/upcqueue/upcqueue.go
index e7562d9..2a7a60d 100644
--- a/profiles/internal/lib/upcqueue/upcqueue.go
+++ b/profiles/internal/lib/upcqueue/upcqueue.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package upcqueue implements an unbounded producer/consumer queue. An
// unbounded producer/consumer queue is a concurrent buffer supporting multiple
// concurrent producers and consumers, with timeouts. The queue can be closed
diff --git a/profiles/internal/lib/upcqueue/upcqueue_test.go b/profiles/internal/lib/upcqueue/upcqueue_test.go
index 42b5bca..c737a67 100644
--- a/profiles/internal/lib/upcqueue/upcqueue_test.go
+++ b/profiles/internal/lib/upcqueue/upcqueue_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package upcqueue
import (
diff --git a/profiles/internal/lib/websocket/conn.go b/profiles/internal/lib/websocket/conn.go
index 4d126d4..77c7e99 100644
--- a/profiles/internal/lib/websocket/conn.go
+++ b/profiles/internal/lib/websocket/conn.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !nacl
package websocket
diff --git a/profiles/internal/lib/websocket/conn_nacl.go b/profiles/internal/lib/websocket/conn_nacl.go
index 0aaf55e..c9467cb 100644
--- a/profiles/internal/lib/websocket/conn_nacl.go
+++ b/profiles/internal/lib/websocket/conn_nacl.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build nacl
package websocket
diff --git a/profiles/internal/lib/websocket/conn_test.go b/profiles/internal/lib/websocket/conn_test.go
index 6b6db66..07a6246 100644
--- a/profiles/internal/lib/websocket/conn_test.go
+++ b/profiles/internal/lib/websocket/conn_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !nacl
package websocket
diff --git a/profiles/internal/lib/websocket/dialer.go b/profiles/internal/lib/websocket/dialer.go
index d8169c0..a6e7b8c 100644
--- a/profiles/internal/lib/websocket/dialer.go
+++ b/profiles/internal/lib/websocket/dialer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !nacl
package websocket
diff --git a/profiles/internal/lib/websocket/hybrid.go b/profiles/internal/lib/websocket/hybrid.go
index 74748e1..d35c7d5 100644
--- a/profiles/internal/lib/websocket/hybrid.go
+++ b/profiles/internal/lib/websocket/hybrid.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package websocket
import (
diff --git a/profiles/internal/lib/websocket/listener.go b/profiles/internal/lib/websocket/listener.go
index 81e2ef3..e54e23a 100644
--- a/profiles/internal/lib/websocket/listener.go
+++ b/profiles/internal/lib/websocket/listener.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build !nacl
package websocket
diff --git a/profiles/internal/lib/websocket/listener_nacl.go b/profiles/internal/lib/websocket/listener_nacl.go
index 64fe87d..a2e838e 100644
--- a/profiles/internal/lib/websocket/listener_nacl.go
+++ b/profiles/internal/lib/websocket/listener_nacl.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build nacl
package websocket
diff --git a/profiles/internal/lib/websocket/util_test.go b/profiles/internal/lib/websocket/util_test.go
index cd7a046..a0fbbd9 100644
--- a/profiles/internal/lib/websocket/util_test.go
+++ b/profiles/internal/lib/websocket/util_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package websocket_test
import (
diff --git a/profiles/internal/lib/websocket/ws_test.go b/profiles/internal/lib/websocket/ws_test.go
index acf2c52..d9371a7 100644
--- a/profiles/internal/lib/websocket/ws_test.go
+++ b/profiles/internal/lib/websocket/ws_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package websocket_test
import (
diff --git a/profiles/internal/naming/doc.go b/profiles/internal/naming/doc.go
index dbf900c..9d1a1b1 100644
--- a/profiles/internal/naming/doc.go
+++ b/profiles/internal/naming/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package naming provides an implementation of the interfaces in v.io/v23/naming.
package naming
diff --git a/profiles/internal/naming/endpoint.go b/profiles/internal/naming/endpoint.go
index eddf369..17f3e3e 100644
--- a/profiles/internal/naming/endpoint.go
+++ b/profiles/internal/naming/endpoint.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package naming
import (
diff --git a/profiles/internal/naming/endpoint_test.go b/profiles/internal/naming/endpoint_test.go
index 06f3563..1cd985e 100644
--- a/profiles/internal/naming/endpoint_test.go
+++ b/profiles/internal/naming/endpoint_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package naming
import (
diff --git a/profiles/internal/naming/namespace/acl.go b/profiles/internal/naming/namespace/acl.go
index ded2059..64d0fbb 100644
--- a/profiles/internal/naming/namespace/acl.go
+++ b/profiles/internal/naming/namespace/acl.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/acl_test.go b/profiles/internal/naming/namespace/acl_test.go
index 9b12a05..9d466bf 100644
--- a/profiles/internal/naming/namespace/acl_test.go
+++ b/profiles/internal/naming/namespace/acl_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace_test
import (
diff --git a/profiles/internal/naming/namespace/all_test.go b/profiles/internal/naming/namespace/all_test.go
index 738eb09..d4d37f7 100644
--- a/profiles/internal/naming/namespace/all_test.go
+++ b/profiles/internal/naming/namespace/all_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace_test
import (
diff --git a/profiles/internal/naming/namespace/cache.go b/profiles/internal/naming/namespace/cache.go
index 97afb3a..9479055 100644
--- a/profiles/internal/naming/namespace/cache.go
+++ b/profiles/internal/naming/namespace/cache.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/cache_test.go b/profiles/internal/naming/namespace/cache_test.go
index 305bbd6..ae8c391 100644
--- a/profiles/internal/naming/namespace/cache_test.go
+++ b/profiles/internal/naming/namespace/cache_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/glob.go b/profiles/internal/naming/namespace/glob.go
index 7373f04..a2cf1be 100644
--- a/profiles/internal/naming/namespace/glob.go
+++ b/profiles/internal/naming/namespace/glob.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/glob_test.go b/profiles/internal/naming/namespace/glob_test.go
index 790b459..fd6c86d 100644
--- a/profiles/internal/naming/namespace/glob_test.go
+++ b/profiles/internal/naming/namespace/glob_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/mount.go b/profiles/internal/naming/namespace/mount.go
index e625f51..9a9409e 100644
--- a/profiles/internal/naming/namespace/mount.go
+++ b/profiles/internal/naming/namespace/mount.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/namespace.go b/profiles/internal/naming/namespace/namespace.go
index 24fd1c6..4e3e0e7 100644
--- a/profiles/internal/naming/namespace/namespace.go
+++ b/profiles/internal/naming/namespace/namespace.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/parallelstartcall.go b/profiles/internal/naming/namespace/parallelstartcall.go
index 0a94012..611d742 100644
--- a/profiles/internal/naming/namespace/parallelstartcall.go
+++ b/profiles/internal/naming/namespace/parallelstartcall.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/resolve.go b/profiles/internal/naming/namespace/resolve.go
index 0a09964..59f5f2a 100644
--- a/profiles/internal/naming/namespace/resolve.go
+++ b/profiles/internal/naming/namespace/resolve.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import (
diff --git a/profiles/internal/naming/namespace/stub.go b/profiles/internal/naming/namespace/stub.go
index aae7b77..9c0ca59 100644
--- a/profiles/internal/naming/namespace/stub.go
+++ b/profiles/internal/naming/namespace/stub.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package namespace
import "v.io/v23/naming"
diff --git a/profiles/internal/platform/platform.go b/profiles/internal/platform/platform.go
index 30d62bf..889db7c 100644
--- a/profiles/internal/platform/platform.go
+++ b/profiles/internal/platform/platform.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package platform
import (
diff --git a/profiles/internal/platform/platform_darwin.go b/profiles/internal/platform/platform_darwin.go
index 066d1c6..227124a 100644
--- a/profiles/internal/platform/platform_darwin.go
+++ b/profiles/internal/platform/platform_darwin.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package platform
// #include <sys/utsname.h>
diff --git a/profiles/internal/platform/platform_linux.go b/profiles/internal/platform/platform_linux.go
index 882ccb7..49da97c 100644
--- a/profiles/internal/platform/platform_linux.go
+++ b/profiles/internal/platform/platform_linux.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package platform
import "syscall"
diff --git a/profiles/internal/platform/platform_nacl.go b/profiles/internal/platform/platform_nacl.go
index 64f8bc1..afbdbea 100644
--- a/profiles/internal/platform/platform_nacl.go
+++ b/profiles/internal/platform/platform_nacl.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build nacl
package platform
diff --git a/profiles/internal/platform/uts_str_linux_arm.go b/profiles/internal/platform/uts_str_linux_arm.go
index c519595..d33cb5e 100644
--- a/profiles/internal/platform/uts_str_linux_arm.go
+++ b/profiles/internal/platform/uts_str_linux_arm.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux,arm
package platform
diff --git a/profiles/internal/platform/uts_str_linux_nonarm.go b/profiles/internal/platform/uts_str_linux_nonarm.go
index 84256e5..1c7e345 100644
--- a/profiles/internal/platform/uts_str_linux_nonarm.go
+++ b/profiles/internal/platform/uts_str_linux_nonarm.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux,!arm
package platform
diff --git a/profiles/internal/rpc/benchmark/benchmark/main.go b/profiles/internal/rpc/benchmark/benchmark/main.go
index 2f94869..27992e3 100644
--- a/profiles/internal/rpc/benchmark/benchmark/main.go
+++ b/profiles/internal/rpc/benchmark/benchmark/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// A simple command-line tool to run the benchmark client.
package main
diff --git a/profiles/internal/rpc/benchmark/benchmark_test.go b/profiles/internal/rpc/benchmark/benchmark_test.go
index 4b4024c..aee253d 100644
--- a/profiles/internal/rpc/benchmark/benchmark_test.go
+++ b/profiles/internal/rpc/benchmark/benchmark_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark_test
import (
diff --git a/profiles/internal/rpc/benchmark/benchmarkd/main.go b/profiles/internal/rpc/benchmark/benchmarkd/main.go
index e58a590..e57ccec 100644
--- a/profiles/internal/rpc/benchmark/benchmarkd/main.go
+++ b/profiles/internal/rpc/benchmark/benchmarkd/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// A simple command-line tool to run the benchmark server.
package main
diff --git a/profiles/internal/rpc/benchmark/glob/doc.go b/profiles/internal/rpc/benchmark/glob/doc.go
index 62e4116..ce0aad5 100644
--- a/profiles/internal/rpc/benchmark/glob/doc.go
+++ b/profiles/internal/rpc/benchmark/glob/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package glob
// This file exists only to prevent build failures from having a test-only
diff --git a/profiles/internal/rpc/benchmark/glob/glob_test.go b/profiles/internal/rpc/benchmark/glob/glob_test.go
index 964f500..85cddf1 100644
--- a/profiles/internal/rpc/benchmark/glob/glob_test.go
+++ b/profiles/internal/rpc/benchmark/glob/glob_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package glob_test
import (
diff --git a/profiles/internal/rpc/benchmark/internal/client.go b/profiles/internal/rpc/benchmark/internal/client.go
index 622ca63..d49ffb5 100644
--- a/profiles/internal/rpc/benchmark/internal/client.go
+++ b/profiles/internal/rpc/benchmark/internal/client.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/rpc/benchmark/internal/server.go b/profiles/internal/rpc/benchmark/internal/server.go
index ab31c71..483fd17 100644
--- a/profiles/internal/rpc/benchmark/internal/server.go
+++ b/profiles/internal/rpc/benchmark/internal/server.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/rpc/blessings_cache.go b/profiles/internal/rpc/blessings_cache.go
index 7f5fe9f..c9d19ce 100644
--- a/profiles/internal/rpc/blessings_cache.go
+++ b/profiles/internal/rpc/blessings_cache.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/cancel_test.go b/profiles/internal/rpc/cancel_test.go
index 38c3ea6..72ea060 100644
--- a/profiles/internal/rpc/cancel_test.go
+++ b/profiles/internal/rpc/cancel_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/client.go b/profiles/internal/rpc/client.go
index 3c070cd..194d12a 100644
--- a/profiles/internal/rpc/client.go
+++ b/profiles/internal/rpc/client.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/consts.go b/profiles/internal/rpc/consts.go
index 2a0acae..b194861 100644
--- a/profiles/internal/rpc/consts.go
+++ b/profiles/internal/rpc/consts.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import "time"
diff --git a/profiles/internal/rpc/debug_test.go b/profiles/internal/rpc/debug_test.go
index 938bd47..74681ca 100644
--- a/profiles/internal/rpc/debug_test.go
+++ b/profiles/internal/rpc/debug_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/default_authorizer.go b/profiles/internal/rpc/default_authorizer.go
index 112e534..01349d2 100644
--- a/profiles/internal/rpc/default_authorizer.go
+++ b/profiles/internal/rpc/default_authorizer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/default_authorizer_test.go b/profiles/internal/rpc/default_authorizer_test.go
index 745c1de..04e7b60 100644
--- a/profiles/internal/rpc/default_authorizer_test.go
+++ b/profiles/internal/rpc/default_authorizer_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/discharges.go b/profiles/internal/rpc/discharges.go
index 851e79b..b9f8ff6 100644
--- a/profiles/internal/rpc/discharges.go
+++ b/profiles/internal/rpc/discharges.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/discharges_test.go b/profiles/internal/rpc/discharges_test.go
index 8eaeb30..79a5966 100644
--- a/profiles/internal/rpc/discharges_test.go
+++ b/profiles/internal/rpc/discharges_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/full_test.go b/profiles/internal/rpc/full_test.go
index 8bf421c..05314cb 100644
--- a/profiles/internal/rpc/full_test.go
+++ b/profiles/internal/rpc/full_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/options.go b/profiles/internal/rpc/options.go
index d4f91b0..3ff7109 100644
--- a/profiles/internal/rpc/options.go
+++ b/profiles/internal/rpc/options.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/protocols/tcp/init.go b/profiles/internal/rpc/protocols/tcp/init.go
index b0169c1..28832ee 100644
--- a/profiles/internal/rpc/protocols/tcp/init.go
+++ b/profiles/internal/rpc/protocols/tcp/init.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package tcp
import (
diff --git a/profiles/internal/rpc/protocols/ws/init.go b/profiles/internal/rpc/protocols/ws/init.go
index 01ed334..dde1c5b 100644
--- a/profiles/internal/rpc/protocols/ws/init.go
+++ b/profiles/internal/rpc/protocols/ws/init.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package websocket
import (
diff --git a/profiles/internal/rpc/protocols/wsh/init.go b/profiles/internal/rpc/protocols/wsh/init.go
index 4116d33..159cfd2 100644
--- a/profiles/internal/rpc/protocols/wsh/init.go
+++ b/profiles/internal/rpc/protocols/wsh/init.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package wsh registers the websocket 'hybrid' protocol.
// We prefer to use tcp whenever we can to avoid the overhead of websockets.
package wsh
diff --git a/profiles/internal/rpc/protocols/wsh_nacl/init.go b/profiles/internal/rpc/protocols/wsh_nacl/init.go
index 546e720..8c72fd3 100644
--- a/profiles/internal/rpc/protocols/wsh_nacl/init.go
+++ b/profiles/internal/rpc/protocols/wsh_nacl/init.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package wsh_nacl registers the websocket 'hybrid' protocol for nacl
// architectures.
package wsh_nacl
diff --git a/profiles/internal/rpc/reserved.go b/profiles/internal/rpc/reserved.go
index 262014d..f451848 100644
--- a/profiles/internal/rpc/reserved.go
+++ b/profiles/internal/rpc/reserved.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/resolve_internal_test.go b/profiles/internal/rpc/resolve_internal_test.go
index 14b4ac2..7236ceb 100644
--- a/profiles/internal/rpc/resolve_internal_test.go
+++ b/profiles/internal/rpc/resolve_internal_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/resolve_test.go b/profiles/internal/rpc/resolve_test.go
index 04743a8..a143c3a 100644
--- a/profiles/internal/rpc/resolve_test.go
+++ b/profiles/internal/rpc/resolve_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc_test
import (
diff --git a/profiles/internal/rpc/results_store.go b/profiles/internal/rpc/results_store.go
index 4405b67..1ecabd3 100644
--- a/profiles/internal/rpc/results_store.go
+++ b/profiles/internal/rpc/results_store.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/results_store_test.go b/profiles/internal/rpc/results_store_test.go
index ad1402f..b0ee8eb 100644
--- a/profiles/internal/rpc/results_store_test.go
+++ b/profiles/internal/rpc/results_store_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/server.go b/profiles/internal/rpc/server.go
index 3e9b57f..7cf33a0 100644
--- a/profiles/internal/rpc/server.go
+++ b/profiles/internal/rpc/server.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/server_authorizer.go b/profiles/internal/rpc/server_authorizer.go
index c9e5852..038eaa3 100644
--- a/profiles/internal/rpc/server_authorizer.go
+++ b/profiles/internal/rpc/server_authorizer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/server_authorizer_test.go b/profiles/internal/rpc/server_authorizer_test.go
index 6d661e3..ee29f5f 100644
--- a/profiles/internal/rpc/server_authorizer_test.go
+++ b/profiles/internal/rpc/server_authorizer_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/server_test.go b/profiles/internal/rpc/server_test.go
index f89e0dc..403ce73 100644
--- a/profiles/internal/rpc/server_test.go
+++ b/profiles/internal/rpc/server_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/sort_endpoints.go b/profiles/internal/rpc/sort_endpoints.go
index aa6d27d..ef1549d 100644
--- a/profiles/internal/rpc/sort_endpoints.go
+++ b/profiles/internal/rpc/sort_endpoints.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/sort_internal_test.go b/profiles/internal/rpc/sort_internal_test.go
index d0d1407..67ad39d 100644
--- a/profiles/internal/rpc/sort_internal_test.go
+++ b/profiles/internal/rpc/sort_internal_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/stats.go b/profiles/internal/rpc/stats.go
index 2ef418f..640618a 100644
--- a/profiles/internal/rpc/stats.go
+++ b/profiles/internal/rpc/stats.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/stream/benchmark/benchmark_test.go b/profiles/internal/rpc/stream/benchmark/benchmark_test.go
index d7b5f79..2102047 100644
--- a/profiles/internal/rpc/stream/benchmark/benchmark_test.go
+++ b/profiles/internal/rpc/stream/benchmark/benchmark_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/dial_test.go b/profiles/internal/rpc/stream/benchmark/dial_test.go
index a591009..0817440 100644
--- a/profiles/internal/rpc/stream/benchmark/dial_test.go
+++ b/profiles/internal/rpc/stream/benchmark/dial_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import "testing"
diff --git a/profiles/internal/rpc/stream/benchmark/dial_vc.go b/profiles/internal/rpc/stream/benchmark/dial_vc.go
index a638288..4d9aeea 100644
--- a/profiles/internal/rpc/stream/benchmark/dial_vc.go
+++ b/profiles/internal/rpc/stream/benchmark/dial_vc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/dial_vif.go b/profiles/internal/rpc/stream/benchmark/dial_vif.go
index 49041ac..e894d99 100644
--- a/profiles/internal/rpc/stream/benchmark/dial_vif.go
+++ b/profiles/internal/rpc/stream/benchmark/dial_vif.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/doc.go b/profiles/internal/rpc/stream/benchmark/doc.go
index 7f120a9..ba50140 100644
--- a/profiles/internal/rpc/stream/benchmark/doc.go
+++ b/profiles/internal/rpc/stream/benchmark/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package benchmark implements some benchmarks for comparing the
// v.io/v23/x/ref/profiles/internal/rpc/stream implementation with raw TCP
// connections and/or pipes.
diff --git a/profiles/internal/rpc/stream/benchmark/throughput.go b/profiles/internal/rpc/stream/benchmark/throughput.go
index 97df8e3..f8a2819 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_flow.go b/profiles/internal/rpc/stream/benchmark/throughput_flow.go
index 8ff0ac3..957fbf9 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_flow.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_flow.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_pipe.go b/profiles/internal/rpc/stream/benchmark/throughput_pipe.go
index f1df82a..0a3d348 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_pipe.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_pipe.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_tcp.go b/profiles/internal/rpc/stream/benchmark/throughput_tcp.go
index 181c9cb..a4b54e1 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_tcp.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_tcp.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_test.go b/profiles/internal/rpc/stream/benchmark/throughput_test.go
index f97b6e9..1603ff1 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_test.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import "testing"
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_tls.go b/profiles/internal/rpc/stream/benchmark/throughput_tls.go
index 15317fd..6a41edf 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_tls.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_tls.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_ws.go b/profiles/internal/rpc/stream/benchmark/throughput_ws.go
index 961a93e..503a60a 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_ws.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_ws.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/benchmark/throughput_wsh.go b/profiles/internal/rpc/stream/benchmark/throughput_wsh.go
index f5881a5..4fd3db5 100644
--- a/profiles/internal/rpc/stream/benchmark/throughput_wsh.go
+++ b/profiles/internal/rpc/stream/benchmark/throughput_wsh.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package benchmark
import (
diff --git a/profiles/internal/rpc/stream/crypto/box.go b/profiles/internal/rpc/stream/crypto/box.go
index 39e1864..95e27a1 100644
--- a/profiles/internal/rpc/stream/crypto/box.go
+++ b/profiles/internal/rpc/stream/crypto/box.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
import (
diff --git a/profiles/internal/rpc/stream/crypto/box_cipher.go b/profiles/internal/rpc/stream/crypto/box_cipher.go
index f4a12f2..ce85fe4 100644
--- a/profiles/internal/rpc/stream/crypto/box_cipher.go
+++ b/profiles/internal/rpc/stream/crypto/box_cipher.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
import (
diff --git a/profiles/internal/rpc/stream/crypto/box_cipher_test.go b/profiles/internal/rpc/stream/crypto/box_cipher_test.go
index fec9746..e26e6ce 100644
--- a/profiles/internal/rpc/stream/crypto/box_cipher_test.go
+++ b/profiles/internal/rpc/stream/crypto/box_cipher_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto_test
import (
diff --git a/profiles/internal/rpc/stream/crypto/control_cipher.go b/profiles/internal/rpc/stream/crypto/control_cipher.go
index 8258bcf..ae25daf 100644
--- a/profiles/internal/rpc/stream/crypto/control_cipher.go
+++ b/profiles/internal/rpc/stream/crypto/control_cipher.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
// ControlCipher provides the ciphers and MAC for control channel encryption.
diff --git a/profiles/internal/rpc/stream/crypto/crypto.go b/profiles/internal/rpc/stream/crypto/crypto.go
index 14422c1..14d3ca9 100644
--- a/profiles/internal/rpc/stream/crypto/crypto.go
+++ b/profiles/internal/rpc/stream/crypto/crypto.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package crypto implements encryption and decryption interfaces intended for
// securing communication over VCs.
package crypto
diff --git a/profiles/internal/rpc/stream/crypto/crypto_test.go b/profiles/internal/rpc/stream/crypto/crypto_test.go
index 790ad9b..5fa3c82 100644
--- a/profiles/internal/rpc/stream/crypto/crypto_test.go
+++ b/profiles/internal/rpc/stream/crypto/crypto_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
import (
diff --git a/profiles/internal/rpc/stream/crypto/null.go b/profiles/internal/rpc/stream/crypto/null.go
index 4394d55..ed0735f 100644
--- a/profiles/internal/rpc/stream/crypto/null.go
+++ b/profiles/internal/rpc/stream/crypto/null.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
import "v.io/x/ref/profiles/internal/lib/iobuf"
diff --git a/profiles/internal/rpc/stream/crypto/null_cipher.go b/profiles/internal/rpc/stream/crypto/null_cipher.go
index 9a39cc7..cdfadc5 100644
--- a/profiles/internal/rpc/stream/crypto/null_cipher.go
+++ b/profiles/internal/rpc/stream/crypto/null_cipher.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package crypto
// NullControlCipher is a cipher that does nothing.
diff --git a/profiles/internal/rpc/stream/crypto/tls.go b/profiles/internal/rpc/stream/crypto/tls.go
index 982c9e5..2f68b6b 100644
--- a/profiles/internal/rpc/stream/crypto/tls.go
+++ b/profiles/internal/rpc/stream/crypto/tls.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build go1.4
package crypto
diff --git a/profiles/internal/rpc/stream/doc.go b/profiles/internal/rpc/stream/doc.go
index e86e36c..509628a 100644
--- a/profiles/internal/rpc/stream/doc.go
+++ b/profiles/internal/rpc/stream/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package stream implements authenticated byte streams to vanadium endpoints.
//
// It is split into multiple sub-packages in an attempt to keep the code
diff --git a/profiles/internal/rpc/stream/id/id.go b/profiles/internal/rpc/stream/id/id.go
index fbd5611..fd6a641 100644
--- a/profiles/internal/rpc/stream/id/id.go
+++ b/profiles/internal/rpc/stream/id/id.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package id provides types for identifying VCs and Flows over them.
package id
diff --git a/profiles/internal/rpc/stream/manager/listener.go b/profiles/internal/rpc/stream/manager/listener.go
index 857fe3c..128ac41 100644
--- a/profiles/internal/rpc/stream/manager/listener.go
+++ b/profiles/internal/rpc/stream/manager/listener.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package manager
import (
diff --git a/profiles/internal/rpc/stream/manager/manager.go b/profiles/internal/rpc/stream/manager/manager.go
index a3dd24a..64f9d58 100644
--- a/profiles/internal/rpc/stream/manager/manager.go
+++ b/profiles/internal/rpc/stream/manager/manager.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package manager provides an implementation of the Manager interface defined in v.io/x/ref/profiles/internal/rpc/stream.
package manager
diff --git a/profiles/internal/rpc/stream/manager/manager_test.go b/profiles/internal/rpc/stream/manager/manager_test.go
index c36a6e0..5e3bf80 100644
--- a/profiles/internal/rpc/stream/manager/manager_test.go
+++ b/profiles/internal/rpc/stream/manager/manager_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package manager
import (
diff --git a/profiles/internal/rpc/stream/message/coding.go b/profiles/internal/rpc/stream/message/coding.go
index 4be7ccf..4186a0a 100644
--- a/profiles/internal/rpc/stream/message/coding.go
+++ b/profiles/internal/rpc/stream/message/coding.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/message/control.go b/profiles/internal/rpc/stream/message/control.go
index f08e1dc..75afa34 100644
--- a/profiles/internal/rpc/stream/message/control.go
+++ b/profiles/internal/rpc/stream/message/control.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/message/counters.go b/profiles/internal/rpc/stream/message/counters.go
index 710e9e0..af42288 100644
--- a/profiles/internal/rpc/stream/message/counters.go
+++ b/profiles/internal/rpc/stream/message/counters.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/message/counters_test.go b/profiles/internal/rpc/stream/message/counters_test.go
index 246cc3d..1f16989 100644
--- a/profiles/internal/rpc/stream/message/counters_test.go
+++ b/profiles/internal/rpc/stream/message/counters_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/message/data.go b/profiles/internal/rpc/stream/message/data.go
index ffed059..3670d6b 100644
--- a/profiles/internal/rpc/stream/message/data.go
+++ b/profiles/internal/rpc/stream/message/data.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/message/message.go b/profiles/internal/rpc/stream/message/message.go
index 49f77a6..b8ef71f 100644
--- a/profiles/internal/rpc/stream/message/message.go
+++ b/profiles/internal/rpc/stream/message/message.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package message provides data structures and serialization/deserialization
// methods for messages exchanged by the implementation of the
// v.io/x/ref/profiles/internal/rpc/stream interfaces.
diff --git a/profiles/internal/rpc/stream/message/message_test.go b/profiles/internal/rpc/stream/message/message_test.go
index ae0e911..fc37033 100644
--- a/profiles/internal/rpc/stream/message/message_test.go
+++ b/profiles/internal/rpc/stream/message/message_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package message
import (
diff --git a/profiles/internal/rpc/stream/model.go b/profiles/internal/rpc/stream/model.go
index cd134a6..ed8dae6 100644
--- a/profiles/internal/rpc/stream/model.go
+++ b/profiles/internal/rpc/stream/model.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package stream
import (
diff --git a/profiles/internal/rpc/stream/proxy/debug.go b/profiles/internal/rpc/stream/proxy/debug.go
index ff68e55..a5ae4c0 100644
--- a/profiles/internal/rpc/stream/proxy/debug.go
+++ b/profiles/internal/rpc/stream/proxy/debug.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package proxy
import (
diff --git a/profiles/internal/rpc/stream/proxy/doc.go b/profiles/internal/rpc/stream/proxy/doc.go
index a92dfe6..8f5220d 100644
--- a/profiles/internal/rpc/stream/proxy/doc.go
+++ b/profiles/internal/rpc/stream/proxy/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package proxy implements a proxy for the stream layer.
//
// Each process in vanadium is uniquely identified by a routing id
diff --git a/profiles/internal/rpc/stream/proxy/helper_test.go b/profiles/internal/rpc/stream/proxy/helper_test.go
index 175070d..34a6ce9 100644
--- a/profiles/internal/rpc/stream/proxy/helper_test.go
+++ b/profiles/internal/rpc/stream/proxy/helper_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package proxy
import (
diff --git a/profiles/internal/rpc/stream/proxy/proxy.go b/profiles/internal/rpc/stream/proxy/proxy.go
index e6ab0b1..d4ef62b 100644
--- a/profiles/internal/rpc/stream/proxy/proxy.go
+++ b/profiles/internal/rpc/stream/proxy/proxy.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package proxy
import (
diff --git a/profiles/internal/rpc/stream/proxy/proxy_test.go b/profiles/internal/rpc/stream/proxy/proxy_test.go
index eb9ed27..3f6a8e9 100644
--- a/profiles/internal/rpc/stream/proxy/proxy_test.go
+++ b/profiles/internal/rpc/stream/proxy/proxy_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package proxy_test
import (
diff --git a/profiles/internal/rpc/stream/vc/auth.go b/profiles/internal/rpc/stream/vc/auth.go
index 9a1aca5..ff0dee9 100644
--- a/profiles/internal/rpc/stream/vc/auth.go
+++ b/profiles/internal/rpc/stream/vc/auth.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/data_cache.go b/profiles/internal/rpc/stream/vc/data_cache.go
index 8b75ed0..74958a1 100644
--- a/profiles/internal/rpc/stream/vc/data_cache.go
+++ b/profiles/internal/rpc/stream/vc/data_cache.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/doc.go b/profiles/internal/rpc/stream/vc/doc.go
index 452480f..93b9c84 100644
--- a/profiles/internal/rpc/stream/vc/doc.go
+++ b/profiles/internal/rpc/stream/vc/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package vc provides implementations of the VC and Flow interfaces in v.io/x/ref/profiles/internal/rpc/stream.
package vc
diff --git a/profiles/internal/rpc/stream/vc/flow.go b/profiles/internal/rpc/stream/vc/flow.go
index 71dd80c..010bfe2 100644
--- a/profiles/internal/rpc/stream/vc/flow.go
+++ b/profiles/internal/rpc/stream/vc/flow.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/knobs.go b/profiles/internal/rpc/stream/vc/knobs.go
index dc48082..8245085 100644
--- a/profiles/internal/rpc/stream/vc/knobs.go
+++ b/profiles/internal/rpc/stream/vc/knobs.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
const (
diff --git a/profiles/internal/rpc/stream/vc/listener.go b/profiles/internal/rpc/stream/vc/listener.go
index fc1396f..c4b007b 100644
--- a/profiles/internal/rpc/stream/vc/listener.go
+++ b/profiles/internal/rpc/stream/vc/listener.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/listener_test.go b/profiles/internal/rpc/stream/vc/listener_test.go
index 171f8db..6ddc5cf 100644
--- a/profiles/internal/rpc/stream/vc/listener_test.go
+++ b/profiles/internal/rpc/stream/vc/listener_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/reader.go b/profiles/internal/rpc/stream/vc/reader.go
index 051d222..be778fb 100644
--- a/profiles/internal/rpc/stream/vc/reader.go
+++ b/profiles/internal/rpc/stream/vc/reader.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/reader_test.go b/profiles/internal/rpc/stream/vc/reader_test.go
index caa05c0..89245ce 100644
--- a/profiles/internal/rpc/stream/vc/reader_test.go
+++ b/profiles/internal/rpc/stream/vc/reader_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/vc.go b/profiles/internal/rpc/stream/vc/vc.go
index 4d0c65f..ecdf7be 100644
--- a/profiles/internal/rpc/stream/vc/vc.go
+++ b/profiles/internal/rpc/stream/vc/vc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
// Logging guidelines:
diff --git a/profiles/internal/rpc/stream/vc/vc_test.go b/profiles/internal/rpc/stream/vc/vc_test.go
index bb407e2..c268b82 100644
--- a/profiles/internal/rpc/stream/vc/vc_test.go
+++ b/profiles/internal/rpc/stream/vc/vc_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Use a different package for the tests to ensure that only the exported API is used.
package vc_test
diff --git a/profiles/internal/rpc/stream/vc/writer.go b/profiles/internal/rpc/stream/vc/writer.go
index a065f7c..0e04985 100644
--- a/profiles/internal/rpc/stream/vc/writer.go
+++ b/profiles/internal/rpc/stream/vc/writer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vc/writer_test.go b/profiles/internal/rpc/stream/vc/writer_test.go
index 50e4029..5b318a0 100644
--- a/profiles/internal/rpc/stream/vc/writer_test.go
+++ b/profiles/internal/rpc/stream/vc/writer_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vc
import (
diff --git a/profiles/internal/rpc/stream/vif/auth.go b/profiles/internal/rpc/stream/vif/auth.go
index 8dd43ac..ff45990 100644
--- a/profiles/internal/rpc/stream/vif/auth.go
+++ b/profiles/internal/rpc/stream/vif/auth.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/doc.go b/profiles/internal/rpc/stream/vif/doc.go
index 9cf06ec..32e2a27 100644
--- a/profiles/internal/rpc/stream/vif/doc.go
+++ b/profiles/internal/rpc/stream/vif/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package vif implements a virtual network interface that wraps over a
// net.Conn and provides the ability to Dial and Listen for virtual circuits
// (v.io/x/ref/profiles/internal/rpc/stream.VC)
diff --git a/profiles/internal/rpc/stream/vif/set.go b/profiles/internal/rpc/stream/vif/set.go
index f702777..c6629f0 100644
--- a/profiles/internal/rpc/stream/vif/set.go
+++ b/profiles/internal/rpc/stream/vif/set.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/set_test.go b/profiles/internal/rpc/stream/vif/set_test.go
index 02a8e28..bdf6940 100644
--- a/profiles/internal/rpc/stream/vif/set_test.go
+++ b/profiles/internal/rpc/stream/vif/set_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif_test
import (
diff --git a/profiles/internal/rpc/stream/vif/setup_conn.go b/profiles/internal/rpc/stream/vif/setup_conn.go
index 6df8d9f..9287799 100644
--- a/profiles/internal/rpc/stream/vif/setup_conn.go
+++ b/profiles/internal/rpc/stream/vif/setup_conn.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/setup_conn_test.go b/profiles/internal/rpc/stream/vif/setup_conn_test.go
index 19a7b99..fe8f0b2 100644
--- a/profiles/internal/rpc/stream/vif/setup_conn_test.go
+++ b/profiles/internal/rpc/stream/vif/setup_conn_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/vcmap.go b/profiles/internal/rpc/stream/vif/vcmap.go
index 2184307..ac402c1 100644
--- a/profiles/internal/rpc/stream/vif/vcmap.go
+++ b/profiles/internal/rpc/stream/vif/vcmap.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/vcmap_test.go b/profiles/internal/rpc/stream/vif/vcmap_test.go
index 95d9a73..5682786 100644
--- a/profiles/internal/rpc/stream/vif/vcmap_test.go
+++ b/profiles/internal/rpc/stream/vif/vcmap_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
import (
diff --git a/profiles/internal/rpc/stream/vif/vif.go b/profiles/internal/rpc/stream/vif/vif.go
index 9f46d03..6d227be 100644
--- a/profiles/internal/rpc/stream/vif/vif.go
+++ b/profiles/internal/rpc/stream/vif/vif.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vif
// Logging guidelines:
diff --git a/profiles/internal/rpc/stream/vif/vif_test.go b/profiles/internal/rpc/stream/vif/vif_test.go
index f878645..2160786 100644
--- a/profiles/internal/rpc/stream/vif/vif_test.go
+++ b/profiles/internal/rpc/stream/vif/vif_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Tests in a separate package to ensure that only the exported API is used in the tests.
//
// All tests are run with the default security level on VCs (SecurityConfidential).
diff --git a/profiles/internal/rpc/stress/internal/client.go b/profiles/internal/rpc/stress/internal/client.go
index ae6b309..27c3e05 100644
--- a/profiles/internal/rpc/stress/internal/client.go
+++ b/profiles/internal/rpc/stress/internal/client.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/rpc/stress/internal/server.go b/profiles/internal/rpc/stress/internal/server.go
index 318b246..217995c 100644
--- a/profiles/internal/rpc/stress/internal/server.go
+++ b/profiles/internal/rpc/stress/internal/server.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/rpc/stress/internal/util.go b/profiles/internal/rpc/stress/internal/util.go
index 20bfe9c..6744ba1 100644
--- a/profiles/internal/rpc/stress/internal/util.go
+++ b/profiles/internal/rpc/stress/internal/util.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/rpc/stress/stress/main.go b/profiles/internal/rpc/stress/stress/main.go
index 77dfd7f..c292e69 100644
--- a/profiles/internal/rpc/stress/stress/main.go
+++ b/profiles/internal/rpc/stress/stress/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
import (
diff --git a/profiles/internal/rpc/stress/stressd/main.go b/profiles/internal/rpc/stress/stressd/main.go
index 578ab3c..c5fe319 100644
--- a/profiles/internal/rpc/stress/stressd/main.go
+++ b/profiles/internal/rpc/stress/stressd/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// A simple command-line tool to run the benchmark server.
package main
diff --git a/profiles/internal/rpc/test/client_test.go b/profiles/internal/rpc/test/client_test.go
index 09e2307..4c831f4 100644
--- a/profiles/internal/rpc/test/client_test.go
+++ b/profiles/internal/rpc/test/client_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/profiles/internal/rpc/test/doc.go b/profiles/internal/rpc/test/doc.go
index b7b20cb..df643b7 100644
--- a/profiles/internal/rpc/test/doc.go
+++ b/profiles/internal/rpc/test/doc.go
@@ -1,2 +1,6 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// package test contains test for rpc code that do not rely on unexposed rpc declarations.
package test
diff --git a/profiles/internal/rpc/test/glob_test.go b/profiles/internal/rpc/test/glob_test.go
index 6fc55de..579e0a3 100644
--- a/profiles/internal/rpc/test/glob_test.go
+++ b/profiles/internal/rpc/test/glob_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/profiles/internal/rpc/test/proxy_test.go b/profiles/internal/rpc/test/proxy_test.go
index 203b41d..3a8c154 100644
--- a/profiles/internal/rpc/test/proxy_test.go
+++ b/profiles/internal/rpc/test/proxy_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/profiles/internal/rpc/test/signature_test.go b/profiles/internal/rpc/test/signature_test.go
index b6fbf32..d653e01 100644
--- a/profiles/internal/rpc/test/signature_test.go
+++ b/profiles/internal/rpc/test/signature_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/profiles/internal/rpc/test/simple_test.go b/profiles/internal/rpc/test/simple_test.go
index 771e0e4..bc653f4 100644
--- a/profiles/internal/rpc/test/simple_test.go
+++ b/profiles/internal/rpc/test/simple_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package test
import (
diff --git a/profiles/internal/rpc/testutil_test.go b/profiles/internal/rpc/testutil_test.go
index 4ec9e17..bb43fdd 100644
--- a/profiles/internal/rpc/testutil_test.go
+++ b/profiles/internal/rpc/testutil_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/timer.go b/profiles/internal/rpc/timer.go
index 0fb0c88..986124d 100644
--- a/profiles/internal/rpc/timer.go
+++ b/profiles/internal/rpc/timer.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/timer_test.go b/profiles/internal/rpc/timer_test.go
index d71c199..60f9866 100644
--- a/profiles/internal/rpc/timer_test.go
+++ b/profiles/internal/rpc/timer_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rpc
import (
diff --git a/profiles/internal/rpc/version/version.go b/profiles/internal/rpc/version/version.go
index fd13920..4ea452e 100644
--- a/profiles/internal/rpc/version/version.go
+++ b/profiles/internal/rpc/version/version.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package version
import (
diff --git a/profiles/internal/rpc/version/version_test.go b/profiles/internal/rpc/version/version_test.go
index 668cf0a..7515a35 100644
--- a/profiles/internal/rpc/version/version_test.go
+++ b/profiles/internal/rpc/version/version_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package version
import (
diff --git a/profiles/internal/rt/ipc_test.go b/profiles/internal/rt/ipc_test.go
index 1ad062d..e7e05e3 100644
--- a/profiles/internal/rt/ipc_test.go
+++ b/profiles/internal/rt/ipc_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/mgmt.go b/profiles/internal/rt/mgmt.go
index 6e67e91..0943fe2 100644
--- a/profiles/internal/rt/mgmt.go
+++ b/profiles/internal/rt/mgmt.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt
import (
diff --git a/profiles/internal/rt/mgmt_test.go b/profiles/internal/rt/mgmt_test.go
index 9a83855..12f4bb7 100644
--- a/profiles/internal/rt/mgmt_test.go
+++ b/profiles/internal/rt/mgmt_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/rt_test.go b/profiles/internal/rt/rt_test.go
index d9bbed3..cc4a2e7 100644
--- a/profiles/internal/rt/rt_test.go
+++ b/profiles/internal/rt/rt_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/runtime.go b/profiles/internal/rt/runtime.go
index 46c56e0..f575bfe 100644
--- a/profiles/internal/rt/runtime.go
+++ b/profiles/internal/rt/runtime.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt
import (
diff --git a/profiles/internal/rt/runtime_test.go b/profiles/internal/rt/runtime_test.go
index ecf825e..ebc5ed4 100644
--- a/profiles/internal/rt/runtime_test.go
+++ b/profiles/internal/rt/runtime_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/security.go b/profiles/internal/rt/security.go
index 53abebc..ccdc157 100644
--- a/profiles/internal/rt/security.go
+++ b/profiles/internal/rt/security.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt
import (
diff --git a/profiles/internal/rt/shutdown_servers_test.go b/profiles/internal/rt/shutdown_servers_test.go
index 676ddf6..c5df1ba 100644
--- a/profiles/internal/rt/shutdown_servers_test.go
+++ b/profiles/internal/rt/shutdown_servers_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/shutdown_test.go b/profiles/internal/rt/shutdown_test.go
index 6b4282e..34a77f2 100644
--- a/profiles/internal/rt/shutdown_test.go
+++ b/profiles/internal/rt/shutdown_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/rt/signal_test.go b/profiles/internal/rt/signal_test.go
index 3d53154..b9fe8c9 100644
--- a/profiles/internal/rt/signal_test.go
+++ b/profiles/internal/rt/signal_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package rt_test
import (
diff --git a/profiles/internal/testing/concurrency/choice.go b/profiles/internal/testing/concurrency/choice.go
index 4ef8066..aacefbe 100644
--- a/profiles/internal/testing/concurrency/choice.go
+++ b/profiles/internal/testing/concurrency/choice.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
// choice enumerates the program transitions to choose from and
diff --git a/profiles/internal/testing/concurrency/clock.go b/profiles/internal/testing/concurrency/clock.go
index 1880c87..88fe635 100644
--- a/profiles/internal/testing/concurrency/clock.go
+++ b/profiles/internal/testing/concurrency/clock.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/clock_test.go b/profiles/internal/testing/concurrency/clock_test.go
index 9728d07..58c2cbc 100644
--- a/profiles/internal/testing/concurrency/clock_test.go
+++ b/profiles/internal/testing/concurrency/clock_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/context.go b/profiles/internal/testing/concurrency/context.go
index 4e5a1b7..c52ea0b 100644
--- a/profiles/internal/testing/concurrency/context.go
+++ b/profiles/internal/testing/concurrency/context.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/doc.go b/profiles/internal/testing/concurrency/doc.go
index 5bb7217..59c2aac 100644
--- a/profiles/internal/testing/concurrency/doc.go
+++ b/profiles/internal/testing/concurrency/doc.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package concurrency implements a framework for systematic testing
// of concurrent vanadium Go programs. The framework implements the
// ideas described in "Systematic and Scalable Testing of Concurrent
diff --git a/profiles/internal/testing/concurrency/execution.go b/profiles/internal/testing/concurrency/execution.go
index 696a481..a8b494d 100644
--- a/profiles/internal/testing/concurrency/execution.go
+++ b/profiles/internal/testing/concurrency/execution.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/fake.go b/profiles/internal/testing/concurrency/fake.go
index 0c47b97..f781ae2 100644
--- a/profiles/internal/testing/concurrency/fake.go
+++ b/profiles/internal/testing/concurrency/fake.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
// mutexState is a type to represent different states of a mutex.
diff --git a/profiles/internal/testing/concurrency/mutex_test.go b/profiles/internal/testing/concurrency/mutex_test.go
index 9900834..6465d0c 100644
--- a/profiles/internal/testing/concurrency/mutex_test.go
+++ b/profiles/internal/testing/concurrency/mutex_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// concurrency_test is a simple test of the framework for systematic
// testing of concurrency.
package concurrency_test
diff --git a/profiles/internal/testing/concurrency/request.go b/profiles/internal/testing/concurrency/request.go
index d6450a6..26977a4 100644
--- a/profiles/internal/testing/concurrency/request.go
+++ b/profiles/internal/testing/concurrency/request.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/resource.go b/profiles/internal/testing/concurrency/resource.go
index fc00e69..1a0e3d6 100644
--- a/profiles/internal/testing/concurrency/resource.go
+++ b/profiles/internal/testing/concurrency/resource.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
// resourceKey represents an identifier of an abstract resource.
diff --git a/profiles/internal/testing/concurrency/rwmutex_test.go b/profiles/internal/testing/concurrency/rwmutex_test.go
index 41d56cb..2e0e22f 100644
--- a/profiles/internal/testing/concurrency/rwmutex_test.go
+++ b/profiles/internal/testing/concurrency/rwmutex_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// concurrency_test is a simple test of the framework for systematic
// testing of concurrency.
package concurrency_test
diff --git a/profiles/internal/testing/concurrency/stack.go b/profiles/internal/testing/concurrency/stack.go
index 42faef3..5d1d08c 100644
--- a/profiles/internal/testing/concurrency/stack.go
+++ b/profiles/internal/testing/concurrency/stack.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/state.go b/profiles/internal/testing/concurrency/state.go
index f4969a8..e6eddc6 100644
--- a/profiles/internal/testing/concurrency/state.go
+++ b/profiles/internal/testing/concurrency/state.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/state_test.go b/profiles/internal/testing/concurrency/state_test.go
index acc6315..f518d74 100644
--- a/profiles/internal/testing/concurrency/state_test.go
+++ b/profiles/internal/testing/concurrency/state_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/sync/sync.go b/profiles/internal/testing/concurrency/sync/sync.go
index ec8b0c8..7fe8f27 100644
--- a/profiles/internal/testing/concurrency/sync/sync.go
+++ b/profiles/internal/testing/concurrency/sync/sync.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sync
import (
diff --git a/profiles/internal/testing/concurrency/tester.go b/profiles/internal/testing/concurrency/tester.go
index 97e74ea..0772d4e 100644
--- a/profiles/internal/testing/concurrency/tester.go
+++ b/profiles/internal/testing/concurrency/tester.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/thread.go b/profiles/internal/testing/concurrency/thread.go
index ce162c5..cf93ff3 100644
--- a/profiles/internal/testing/concurrency/thread.go
+++ b/profiles/internal/testing/concurrency/thread.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
import (
diff --git a/profiles/internal/testing/concurrency/transition.go b/profiles/internal/testing/concurrency/transition.go
index 547837a..eb2c6dc 100644
--- a/profiles/internal/testing/concurrency/transition.go
+++ b/profiles/internal/testing/concurrency/transition.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency
// transitionKind identifies the kind of transition.
diff --git a/profiles/internal/testing/concurrency/util_test.go b/profiles/internal/testing/concurrency/util_test.go
index 97f025d..1ab3063 100644
--- a/profiles/internal/testing/concurrency/util_test.go
+++ b/profiles/internal/testing/concurrency/util_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package concurrency_test
import (
diff --git a/profiles/internal/testing/mocks/naming/namespace.go b/profiles/internal/testing/mocks/naming/namespace.go
index f331c98..9cacaf4 100644
--- a/profiles/internal/testing/mocks/naming/namespace.go
+++ b/profiles/internal/testing/mocks/naming/namespace.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package naming
import (
diff --git a/profiles/internal/util.go b/profiles/internal/util.go
index 879a0b0..a6c45c7 100644
--- a/profiles/internal/util.go
+++ b/profiles/internal/util.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package internal
import (
diff --git a/profiles/internal/vtrace/store.go b/profiles/internal/vtrace/store.go
index edc5879..583ae13 100644
--- a/profiles/internal/vtrace/store.go
+++ b/profiles/internal/vtrace/store.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vtrace
import (
diff --git a/profiles/internal/vtrace/store_test.go b/profiles/internal/vtrace/store_test.go
index 6b668e3..fcc473f 100644
--- a/profiles/internal/vtrace/store_test.go
+++ b/profiles/internal/vtrace/store_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vtrace
import (
diff --git a/profiles/internal/vtrace/vtrace.go b/profiles/internal/vtrace/vtrace.go
index 5fe0e22..cd30ff9 100644
--- a/profiles/internal/vtrace/vtrace.go
+++ b/profiles/internal/vtrace/vtrace.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Package vtrace implements the Trace and Span interfaces in v.io/v23/vtrace.
// We also provide internal utilities for migrating trace information across
// RPC calls.
diff --git a/profiles/internal/vtrace/vtrace_test.go b/profiles/internal/vtrace/vtrace_test.go
index 433981c..4d03eb6 100644
--- a/profiles/internal/vtrace/vtrace_test.go
+++ b/profiles/internal/vtrace/vtrace_test.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package vtrace_test
import (
diff --git a/profiles/proxy.go b/profiles/proxy.go
index 01115b3..3392743 100644
--- a/profiles/proxy.go
+++ b/profiles/proxy.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package profiles
import (
diff --git a/profiles/roaming/net_watcher.go b/profiles/roaming/net_watcher.go
index 0cf414e..579fafb 100644
--- a/profiles/roaming/net_watcher.go
+++ b/profiles/roaming/net_watcher.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build ignore
package main
diff --git a/profiles/roaming/print_addrs.go b/profiles/roaming/print_addrs.go
index eda0e7e..4f8cc6f 100644
--- a/profiles/roaming/print_addrs.go
+++ b/profiles/roaming/print_addrs.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build ignore
package main
diff --git a/profiles/roaming/proxy.go b/profiles/roaming/proxy.go
index 46abbd3..ed9a6b6 100644
--- a/profiles/roaming/proxy.go
+++ b/profiles/roaming/proxy.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package roaming
import (
diff --git a/profiles/roaming/roaming_server.go b/profiles/roaming/roaming_server.go
index c481a1d..7bb4a5d 100644
--- a/profiles/roaming/roaming_server.go
+++ b/profiles/roaming/roaming_server.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build ignore
package main
diff --git a/profiles/roaming/roaminginit.go b/profiles/roaming/roaminginit.go
index a708708..4d8d6cb 100644
--- a/profiles/roaming/roaminginit.go
+++ b/profiles/roaming/roaminginit.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// +build linux darwin
// Package roaming provides a network-aware Profile that provides appropriate
diff --git a/profiles/static/proxy.go b/profiles/static/proxy.go
index f3f9300..e2617e0 100644
--- a/profiles/static/proxy.go
+++ b/profiles/static/proxy.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package static
import (
diff --git a/profiles/static/staticinit.go b/profiles/static/staticinit.go
index 1224fa2..b1c1a2a 100644
--- a/profiles/static/staticinit.go
+++ b/profiles/static/staticinit.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package static
import (