ref: adding copyright headers and licensing files
Change-Id: I135f73159c3e010f7faf14f1215bbd74eb32c2cb
diff --git a/cmd/application/impl.go b/cmd/application/impl.go
index 60b01cc..1f32226 100644
--- a/cmd/application/impl.go
+++ b/cmd/application/impl.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/cmd/application/impl_test.go b/cmd/application/impl_test.go
index aa3960f..9315b2d 100644
--- a/cmd/application/impl_test.go
+++ b/cmd/application/impl_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 main
import (
diff --git a/cmd/application/main.go b/cmd/application/main.go
index 03caf91..3af5487 100644
--- a/cmd/application/main.go
+++ b/cmd/application/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/binary/impl.go b/cmd/binary/impl.go
index d41a9dc..41f6a71 100644
--- a/cmd/binary/impl.go
+++ b/cmd/binary/impl.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/cmd/binary/impl_test.go b/cmd/binary/impl_test.go
index b4a696b..eb2ade6 100644
--- a/cmd/binary/impl_test.go
+++ b/cmd/binary/impl_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 main
import (
diff --git a/cmd/binary/main.go b/cmd/binary/main.go
index 03caf91..3af5487 100644
--- a/cmd/binary/main.go
+++ b/cmd/binary/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/build/impl.go b/cmd/build/impl.go
index 304d2d5..ceae5d0 100644
--- a/cmd/build/impl.go
+++ b/cmd/build/impl.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/cmd/build/impl_test.go b/cmd/build/impl_test.go
index 96d7e31..13e2653 100644
--- a/cmd/build/impl_test.go
+++ b/cmd/build/impl_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 main
import (
diff --git a/cmd/build/main.go b/cmd/build/main.go
index 03caf91..3af5487 100644
--- a/cmd/build/main.go
+++ b/cmd/build/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/debug/debug_v23_test.go b/cmd/debug/debug_v23_test.go
index 5a3c93a..592f7d3 100644
--- a/cmd/debug/debug_v23_test.go
+++ b/cmd/debug/debug_v23_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 main_test
import (
diff --git a/cmd/debug/impl.go b/cmd/debug/impl.go
index 03f0d33..c821cd7 100644
--- a/cmd/debug/impl.go
+++ b/cmd/debug/impl.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/cmd/debug/main.go b/cmd/debug/main.go
index 03caf91..3af5487 100644
--- a/cmd/debug/main.go
+++ b/cmd/debug/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/gclogs/format.go b/cmd/gclogs/format.go
index 502db25..ed18f48 100644
--- a/cmd/gclogs/format.go
+++ b/cmd/gclogs/format.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/cmd/gclogs/format_test.go b/cmd/gclogs/format_test.go
index 2399d76..201c34a 100644
--- a/cmd/gclogs/format_test.go
+++ b/cmd/gclogs/format_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 main
import (
diff --git a/cmd/gclogs/gclogs.go b/cmd/gclogs/gclogs.go
index d0c0f57..d19b8b0 100644
--- a/cmd/gclogs/gclogs.go
+++ b/cmd/gclogs/gclogs.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/cmd/gclogs/gclogs_test.go b/cmd/gclogs/gclogs_test.go
index b36a4ec..480b9d6 100644
--- a/cmd/gclogs/gclogs_test.go
+++ b/cmd/gclogs/gclogs_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 main
import (
diff --git a/cmd/gclogs/main.go b/cmd/gclogs/main.go
index e642e83..8468057 100644
--- a/cmd/gclogs/main.go
+++ b/cmd/gclogs/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go . -help
diff --git a/cmd/mgmt/device/devicex b/cmd/mgmt/device/devicex
index 47eee9e..19cafe8 100755
--- a/cmd/mgmt/device/devicex
+++ b/cmd/mgmt/device/devicex
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
#
# Administers a device manager installation.
#
diff --git a/cmd/mgmt/device/impl/acl_fmt.go b/cmd/mgmt/device/impl/acl_fmt.go
index 14bd0d0..43b4bdb 100644
--- a/cmd/mgmt/device/impl/acl_fmt.go
+++ b/cmd/mgmt/device/impl/acl_fmt.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 impl
import (
diff --git a/cmd/mgmt/device/impl/acl_impl.go b/cmd/mgmt/device/impl/acl_impl.go
index a12e41d..7012e0f 100644
--- a/cmd/mgmt/device/impl/acl_impl.go
+++ b/cmd/mgmt/device/impl/acl_impl.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 impl
// Commands to get/set AccessLists.
diff --git a/cmd/mgmt/device/impl/acl_test.go b/cmd/mgmt/device/impl/acl_test.go
index b725f10..174e883 100644
--- a/cmd/mgmt/device/impl/acl_test.go
+++ b/cmd/mgmt/device/impl/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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/associate_impl.go b/cmd/mgmt/device/impl/associate_impl.go
index 1c82cad..4984fd2 100644
--- a/cmd/mgmt/device/impl/associate_impl.go
+++ b/cmd/mgmt/device/impl/associate_impl.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 impl
import (
diff --git a/cmd/mgmt/device/impl/devicemanager_mock_test.go b/cmd/mgmt/device/impl/devicemanager_mock_test.go
index 7a36b65..7bd7f3a 100644
--- a/cmd/mgmt/device/impl/devicemanager_mock_test.go
+++ b/cmd/mgmt/device/impl/devicemanager_mock_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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/impl.go b/cmd/mgmt/device/impl/impl.go
index 602b7f7..f95a4d3 100644
--- a/cmd/mgmt/device/impl/impl.go
+++ b/cmd/mgmt/device/impl/impl.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 impl
import (
diff --git a/cmd/mgmt/device/impl/impl_test.go b/cmd/mgmt/device/impl/impl_test.go
index ba6baa5..25de421 100644
--- a/cmd/mgmt/device/impl/impl_test.go
+++ b/cmd/mgmt/device/impl/impl_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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/instance_impl.go b/cmd/mgmt/device/impl/instance_impl.go
index 99b6210..c3763c9 100644
--- a/cmd/mgmt/device/impl/instance_impl.go
+++ b/cmd/mgmt/device/impl/instance_impl.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 impl
// Commands to modify instance.
diff --git a/cmd/mgmt/device/impl/instance_impl_test.go b/cmd/mgmt/device/impl/instance_impl_test.go
index 8cdcbf9..1107ca3 100644
--- a/cmd/mgmt/device/impl/instance_impl_test.go
+++ b/cmd/mgmt/device/impl/instance_impl_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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/local_install.go b/cmd/mgmt/device/impl/local_install.go
index 48f1e1d..9063281 100644
--- a/cmd/mgmt/device/impl/local_install.go
+++ b/cmd/mgmt/device/impl/local_install.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 impl
import (
diff --git a/cmd/mgmt/device/impl/local_install_test.go b/cmd/mgmt/device/impl/local_install_test.go
index c696198..0a21676 100644
--- a/cmd/mgmt/device/impl/local_install_test.go
+++ b/cmd/mgmt/device/impl/local_install_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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/mock_test.go b/cmd/mgmt/device/impl/mock_test.go
index f08b44c..cbb44c1 100644
--- a/cmd/mgmt/device/impl/mock_test.go
+++ b/cmd/mgmt/device/impl/mock_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 impl_test
import (
diff --git a/cmd/mgmt/device/impl/publish.go b/cmd/mgmt/device/impl/publish.go
index 62dd1f6..dbafdba 100644
--- a/cmd/mgmt/device/impl/publish.go
+++ b/cmd/mgmt/device/impl/publish.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 impl
import (
diff --git a/cmd/mgmt/device/impl/root.go b/cmd/mgmt/device/impl/root.go
index c7178d7..02d15ad 100644
--- a/cmd/mgmt/device/impl/root.go
+++ b/cmd/mgmt/device/impl/root.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 impl
import (
diff --git a/cmd/mgmt/device/impl/updateall.go b/cmd/mgmt/device/impl/updateall.go
index 39b92b0..a833157 100644
--- a/cmd/mgmt/device/impl/updateall.go
+++ b/cmd/mgmt/device/impl/updateall.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 impl
import (
diff --git a/cmd/mgmt/device/impl/util_test.go b/cmd/mgmt/device/impl/util_test.go
index 06e0b51..70036f2 100644
--- a/cmd/mgmt/device/impl/util_test.go
+++ b/cmd/mgmt/device/impl/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 impl_test
import (
diff --git a/cmd/mgmt/device/main.go b/cmd/mgmt/device/main.go
index c5714e2..7dfee9c 100644
--- a/cmd/mgmt/device/main.go
+++ b/cmd/mgmt/device/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/mgmt/dummy.go b/cmd/mgmt/dummy.go
index 2d4fedb..9476b6f 100644
--- a/cmd/mgmt/dummy.go
+++ b/cmd/mgmt/dummy.go
@@ -1 +1,5 @@
+// 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 mgmt
diff --git a/cmd/mgmt/mgmt_v23_test.go b/cmd/mgmt/mgmt_v23_test.go
index 8063f95..a20b0b6 100644
--- a/cmd/mgmt/mgmt_v23_test.go
+++ b/cmd/mgmt/mgmt_v23_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.
+
// Test the device manager and related services and tools.
//
// By default, this script tests the device manager in a fashion amenable
diff --git a/cmd/mgmt/shell/lib/pkg.go b/cmd/mgmt/shell/lib/pkg.go
index 55c21f8..1229481 100644
--- a/cmd/mgmt/shell/lib/pkg.go
+++ b/cmd/mgmt/shell/lib/pkg.go
@@ -1 +1,5 @@
+// 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 lib
diff --git a/cmd/mgmt/shell/lib/shell.sh b/cmd/mgmt/shell/lib/shell.sh
index ff8fc8d..b5d9b59 100755
--- a/cmd/mgmt/shell/lib/shell.sh
+++ b/cmd/mgmt/shell/lib/shell.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
# The shell library is used to execute vanadium shell scripts.
diff --git a/cmd/mgmt/shell/lib/shell_test.sh b/cmd/mgmt/shell/lib/shell_test.sh
index ed873a0..bf90f2f 100755
--- a/cmd/mgmt/shell/lib/shell_test.sh
+++ b/cmd/mgmt/shell/lib/shell_test.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
# The shell_test library is used to execute shell tests.
diff --git a/cmd/mgmt/shell/lib/test.sh b/cmd/mgmt/shell/lib/test.sh
index ccd7351..8f9c76a 100755
--- a/cmd/mgmt/shell/lib/test.sh
+++ b/cmd/mgmt/shell/lib/test.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
#
# Unit tests for the shell functions in this directory
diff --git a/cmd/mgmt/suid_test.sh b/cmd/mgmt/suid_test.sh
index febd73a..197aa42 100755
--- a/cmd/mgmt/suid_test.sh
+++ b/cmd/mgmt/suid_test.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
# Test the device manager and related services and tools.
#
diff --git a/cmd/mgmt/vbash b/cmd/mgmt/vbash
index 5aec109..71a2826 100755
--- a/cmd/mgmt/vbash
+++ b/cmd/mgmt/vbash
@@ -1,4 +1,7 @@
#!/bin/bash
+# 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.
#
# Starts up a shell running under the security agent.
#
diff --git a/cmd/mounttable/impl.go b/cmd/mounttable/impl.go
index 410251e..a69b7f4 100644
--- a/cmd/mounttable/impl.go
+++ b/cmd/mounttable/impl.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/cmd/mounttable/impl_test.go b/cmd/mounttable/impl_test.go
index bacf877..0f94cfc 100644
--- a/cmd/mounttable/impl_test.go
+++ b/cmd/mounttable/impl_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 main
import (
diff --git a/cmd/mounttable/main.go b/cmd/mounttable/main.go
index 03caf91..3af5487 100644
--- a/cmd/mounttable/main.go
+++ b/cmd/mounttable/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/namespace/impl.go b/cmd/namespace/impl.go
index 5a8d085..a7a9929 100644
--- a/cmd/namespace/impl.go
+++ b/cmd/namespace/impl.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/cmd/namespace/main.go b/cmd/namespace/main.go
index 03caf91..3af5487 100644
--- a/cmd/namespace/main.go
+++ b/cmd/namespace/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/principal/bless.go b/cmd/principal/bless.go
index 23c237a..aff6b1a 100644
--- a/cmd/principal/bless.go
+++ b/cmd/principal/bless.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/cmd/principal/caveat.go b/cmd/principal/caveat.go
index 867e20c..2f98264 100644
--- a/cmd/principal/caveat.go
+++ b/cmd/principal/caveat.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/cmd/principal/main.go b/cmd/principal/main.go
index 3f18568..bc6d9d7 100644
--- a/cmd/principal/main.go
+++ b/cmd/principal/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/principal/main_darwin.go b/cmd/principal/main_darwin.go
index bceafd2..6b72080 100644
--- a/cmd/principal/main_darwin.go
+++ b/cmd/principal/main_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.
+
// +build darwin
package main
diff --git a/cmd/principal/main_linux.go b/cmd/principal/main_linux.go
index cb73c65..431b01a 100644
--- a/cmd/principal/main_linux.go
+++ b/cmd/principal/main_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 main
diff --git a/cmd/principal/main_nacl.go b/cmd/principal/main_nacl.go
index 9dea3b5..e22d317 100644
--- a/cmd/principal/main_nacl.go
+++ b/cmd/principal/main_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.
+
package main
const openCommand = ""
diff --git a/cmd/principal/principal_v23_test.go b/cmd/principal/principal_v23_test.go
index 74c1745..f023f23 100644
--- a/cmd/principal/principal_v23_test.go
+++ b/cmd/principal/principal_v23_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 main_test
import (
diff --git a/cmd/profile/impl.go b/cmd/profile/impl.go
index f2a4ad5..8d438cc 100644
--- a/cmd/profile/impl.go
+++ b/cmd/profile/impl.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/cmd/profile/impl_test.go b/cmd/profile/impl_test.go
index 80497ac..2241d96 100644
--- a/cmd/profile/impl_test.go
+++ b/cmd/profile/impl_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 main
import (
diff --git a/cmd/profile/main.go b/cmd/profile/main.go
index 03caf91..3af5487 100644
--- a/cmd/profile/main.go
+++ b/cmd/profile/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/servicerunner/main.go b/cmd/servicerunner/main.go
index 058a299..afc0a63 100644
--- a/cmd/servicerunner/main.go
+++ b/cmd/servicerunner/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.
+
// This binary starts several services (mount table, proxy, wspr), then prints a
// JSON map with their vars to stdout (as a single line), then waits forever.
package main
diff --git a/cmd/servicerunner/servicerunner_test.go b/cmd/servicerunner/servicerunner_test.go
index fba11f1..2978996 100644
--- a/cmd/servicerunner/servicerunner_test.go
+++ b/cmd/servicerunner/servicerunner_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.
+
// Runs the servicerunner binary and checks that it outputs a JSON line to
// stdout with the expected variables.
package main
diff --git a/cmd/servicerunner/wspr.go b/cmd/servicerunner/wspr.go
index 5081c5f..9bc3acb 100644
--- a/cmd/servicerunner/wspr.go
+++ b/cmd/servicerunner/wspr.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/cmd/uniqueid/main.go b/cmd/uniqueid/main.go
index efc4c41..1d6b598 100644
--- a/cmd/uniqueid/main.go
+++ b/cmd/uniqueid/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/vdl/arith_test.go b/cmd/vdl/arith_test.go
index 01a2bf3..5a4e54a 100644
--- a/cmd/vdl/arith_test.go
+++ b/cmd/vdl/arith_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 main_test
// This test assumes the vdl packages under v.io/x/ref/lib/vdl/testdata have been
diff --git a/cmd/vdl/main.go b/cmd/vdl/main.go
index 490b32c..2e7666f 100644
--- a/cmd/vdl/main.go
+++ b/cmd/vdl/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/vdl/vdl_test.go b/cmd/vdl/vdl_test.go
index 93b2f9d..932aaa9 100644
--- a/cmd/vdl/vdl_test.go
+++ b/cmd/vdl/vdl_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 main
import (
diff --git a/cmd/vom/vom.go b/cmd/vom/vom.go
index 781092a..3126f90 100644
--- a/cmd/vom/vom.go
+++ b/cmd/vom/vom.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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/vomtestgen/generate.go b/cmd/vomtestgen/generate.go
index 72c6ae6..cb80ac7 100644
--- a/cmd/vomtestgen/generate.go
+++ b/cmd/vomtestgen/generate.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/cmd/vomtestgen/main.go b/cmd/vomtestgen/main.go
index 355f434..ece59fa 100644
--- a/cmd/vomtestgen/main.go
+++ b/cmd/vomtestgen/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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go . -help
diff --git a/cmd/vrpc/vrpc.go b/cmd/vrpc/vrpc.go
index fddd97f..9dba47c 100644
--- a/cmd/vrpc/vrpc.go
+++ b/cmd/vrpc/vrpc.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.
+
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/x/lib/cmdline/testdata/gendoc.go .
diff --git a/cmd/vrpc/vrpc_test.go b/cmd/vrpc/vrpc_test.go
index 74a42c8..f1328c1 100644
--- a/cmd/vrpc/vrpc_test.go
+++ b/cmd/vrpc/vrpc_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 main
import (
diff --git a/cmd/vrun/doc.go b/cmd/vrun/doc.go
index edb137a..29d609a 100644
--- a/cmd/vrun/doc.go
+++ b/cmd/vrun/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.
+
/*
The vrun tool executes a command with a derived principal.
diff --git a/cmd/vrun/vrun.go b/cmd/vrun/vrun.go
index afc3ca5..e115e98 100644
--- a/cmd/vrun/vrun.go
+++ b/cmd/vrun/vrun.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/cmd/vrun/vrun_v23_test.go b/cmd/vrun/vrun_v23_test.go
index bcd4dd4..ef54b62 100644
--- a/cmd/vrun/vrun_v23_test.go
+++ b/cmd/vrun/vrun_v23_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 main_test
//go:generate v23 test generate .