summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bit_field/tests/test_enum.rs4
-rw-r--r--bit_field/tests/test_tuple_struct.rs4
-rw-r--r--devices/src/virtio/gpu/protocol.rs4
-rw-r--r--gpu_display/examples/simple.rs4
-rw-r--r--gpu_display/src/dwl.rs4
-rw-r--r--gpu_renderer/src/generated/epoxy_egl.rs4
-rw-r--r--gpu_renderer/src/generated/mod.rs4
-rw-r--r--gpu_renderer/src/generated/p_defines.rs4
-rw-r--r--gpu_renderer/src/generated/p_format.rs4
-rw-r--r--gpu_renderer/src/generated/virgl_protocol.rs4
-rw-r--r--gpu_renderer/src/generated/virglrenderer.rs4
-rw-r--r--kernel_loader/src/elf.rs4
-rw-r--r--kvm_sys/src/aarch64/bindings.rs4
-rw-r--r--kvm_sys/src/x86/bindings.rs4
-rw-r--r--msg_socket/tests/enum.rs4
-rw-r--r--msg_socket/tests/struct.rs4
-rw-r--r--msg_socket/tests/tuple.rs4
-rw-r--r--net_sys/src/if_tun.rs4
-rw-r--r--net_sys/src/iff.rs4
-rw-r--r--net_sys/src/inn.rs4
-rw-r--r--net_sys/src/sockios.rs4
-rw-r--r--protos/src/plugin.rs4
-rw-r--r--sys_util/src/alloc.rs4
-rw-r--r--tpm2/src/lib.rs4
-rw-r--r--usb_util/src/bindings.rs4
-rw-r--r--virtio_sys/src/vhost.rs4
-rw-r--r--virtio_sys/src/virtio_net.rs4
-rw-r--r--virtio_sys/src/virtio_ring.rs4
-rw-r--r--x86_64/src/mpspec.rs4
29 files changed, 116 insertions, 0 deletions
diff --git a/bit_field/tests/test_enum.rs b/bit_field/tests/test_enum.rs
index 3ce6edb..3839f21 100644
--- a/bit_field/tests/test_enum.rs
+++ b/bit_field/tests/test_enum.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 bit_field::*;
 
 #[bitfield]
diff --git a/bit_field/tests/test_tuple_struct.rs b/bit_field/tests/test_tuple_struct.rs
index b92d99c..13566a0 100644
--- a/bit_field/tests/test_tuple_struct.rs
+++ b/bit_field/tests/test_tuple_struct.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 bit_field::*;
 
 #[bitfield]
diff --git a/devices/src/virtio/gpu/protocol.rs b/devices/src/virtio/gpu/protocol.rs
index 033f799..008283b 100644
--- a/devices/src/virtio/gpu/protocol.rs
+++ b/devices/src/virtio/gpu/protocol.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
 
diff --git a/gpu_display/examples/simple.rs b/gpu_display/examples/simple.rs
index fcf2e54..140e6cc 100644
--- a/gpu_display/examples/simple.rs
+++ b/gpu_display/examples/simple.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 gpu_display::*;
 
 fn main() {
diff --git a/gpu_display/src/dwl.rs b/gpu_display/src/dwl.rs
index 41751a7..3f2d67d 100644
--- a/gpu_display/src/dwl.rs
+++ b/gpu_display/src/dwl.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 /// @page page_xdg_shell_unstable_v6 The xdg_shell_unstable_v6 protocol
diff --git a/gpu_renderer/src/generated/epoxy_egl.rs b/gpu_renderer/src/generated/epoxy_egl.rs
index 4c3f392..b998b06 100644
--- a/gpu_renderer/src/generated/epoxy_egl.rs
+++ b/gpu_renderer/src/generated/epoxy_egl.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[link(name = "epoxy")]
diff --git a/gpu_renderer/src/generated/mod.rs b/gpu_renderer/src/generated/mod.rs
index 64e2263..d35ed8d 100644
--- a/gpu_renderer/src/generated/mod.rs
+++ b/gpu_renderer/src/generated/mod.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* generated by generate.py */
 #![allow(dead_code)]
 #![allow(non_camel_case_types)]
diff --git a/gpu_renderer/src/generated/p_defines.rs b/gpu_renderer/src/generated/p_defines.rs
index 70f59c7..637179a 100644
--- a/gpu_renderer/src/generated/p_defines.rs
+++ b/gpu_renderer/src/generated/p_defines.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const _POSIX_PIPE_BUF: u32 = 512;
diff --git a/gpu_renderer/src/generated/p_format.rs b/gpu_renderer/src/generated/p_format.rs
index b72ccaf..709fa4d 100644
--- a/gpu_renderer/src/generated/p_format.rs
+++ b/gpu_renderer/src/generated/p_format.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const PIPE_FORMAT_NONE: pipe_format = 0;
diff --git a/gpu_renderer/src/generated/virgl_protocol.rs b/gpu_renderer/src/generated/virgl_protocol.rs
index 3ca06b6..8d09d61 100644
--- a/gpu_renderer/src/generated/virgl_protocol.rs
+++ b/gpu_renderer/src/generated/virgl_protocol.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const VIRGL_QUERY_STATE_NEW: u32 = 0;
diff --git a/gpu_renderer/src/generated/virglrenderer.rs b/gpu_renderer/src/generated/virglrenderer.rs
index 4f50325..f0ea9eb 100644
--- a/gpu_renderer/src/generated/virglrenderer.rs
+++ b/gpu_renderer/src/generated/virglrenderer.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[link(name = "virglrenderer")]
diff --git a/kernel_loader/src/elf.rs b/kernel_loader/src/elf.rs
index 05d4777..f1f7efd 100644
--- a/kernel_loader/src/elf.rs
+++ b/kernel_loader/src/elf.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /*
  * automatically generated by rust-bindgen
  * From upstream linux include/uapi/linux/elf.h at commit:
diff --git a/kvm_sys/src/aarch64/bindings.rs b/kvm_sys/src/aarch64/bindings.rs
index 4fdbe27..26b10b4 100644
--- a/kvm_sys/src/aarch64/bindings.rs
+++ b/kvm_sys/src/aarch64/bindings.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/kvm_sys/src/x86/bindings.rs b/kvm_sys/src/x86/bindings.rs
index 989e757..06b8680 100644
--- a/kvm_sys/src/x86/bindings.rs
+++ b/kvm_sys/src/x86/bindings.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/msg_socket/tests/enum.rs b/msg_socket/tests/enum.rs
index b4c7189..0e590f0 100644
--- a/msg_socket/tests/enum.rs
+++ b/msg_socket/tests/enum.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 sys_util::EventFd;
 
 use msg_socket::*;
diff --git a/msg_socket/tests/struct.rs b/msg_socket/tests/struct.rs
index 2cc9d37..5efc369 100644
--- a/msg_socket/tests/struct.rs
+++ b/msg_socket/tests/struct.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 sys_util::EventFd;
 
 use msg_socket::*;
diff --git a/msg_socket/tests/tuple.rs b/msg_socket/tests/tuple.rs
index b388328..862e0cb 100644
--- a/msg_socket/tests/tuple.rs
+++ b/msg_socket/tests/tuple.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 msg_socket::*;
 use sys_util::EventFd;
 
diff --git a/net_sys/src/if_tun.rs b/net_sys/src/if_tun.rs
index b26ea06..0874b77 100644
--- a/net_sys/src/if_tun.rs
+++ b/net_sys/src/if_tun.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/net_sys/src/iff.rs b/net_sys/src/iff.rs
index 57357ae..6291a42 100644
--- a/net_sys/src/iff.rs
+++ b/net_sys/src/iff.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/net_sys/src/inn.rs b/net_sys/src/inn.rs
index ea279f0..2214fdd 100644
--- a/net_sys/src/inn.rs
+++ b/net_sys/src/inn.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const __BITS_PER_LONG: ::std::os::raw::c_uint = 64;
diff --git a/net_sys/src/sockios.rs b/net_sys/src/sockios.rs
index db4718e..0c0af76 100644
--- a/net_sys/src/sockios.rs
+++ b/net_sys/src/sockios.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const FIOSETOWN: ::std::os::raw::c_uint = 35073;
diff --git a/protos/src/plugin.rs b/protos/src/plugin.rs
index 3e58fe3..ce491e7 100644
--- a/protos/src/plugin.rs
+++ b/protos/src/plugin.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 pub use crate::generated::plugin::*;
 
 /// Converts protobuf representation of CpuId data into KVM format.
diff --git a/sys_util/src/alloc.rs b/sys_util/src/alloc.rs
index ad73065..8ac9100 100644
--- a/sys_util/src/alloc.rs
+++ b/sys_util/src/alloc.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 std::alloc::{alloc, alloc_zeroed, dealloc, Layout};
 
 /// A contiguous memory allocation with a specified size and alignment, with a
diff --git a/tpm2/src/lib.rs b/tpm2/src/lib.rs
index 4de849c..e8d6a1e 100644
--- a/tpm2/src/lib.rs
+++ b/tpm2/src/lib.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS 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 std::os::raw::{c_int, c_uint};
 use std::ptr;
 use std::slice;
diff --git a/usb_util/src/bindings.rs b/usb_util/src/bindings.rs
index 99c0cde..90dcd5b 100644
--- a/usb_util/src/bindings.rs
+++ b/usb_util/src/bindings.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/virtio_sys/src/vhost.rs b/virtio_sys/src/vhost.rs
index 397ca8c..70d2db6 100644
--- a/virtio_sys/src/vhost.rs
+++ b/virtio_sys/src/vhost.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/virtio_sys/src/virtio_net.rs b/virtio_sys/src/virtio_net.rs
index e626e24..5cb370e 100644
--- a/virtio_sys/src/virtio_net.rs
+++ b/virtio_sys/src/virtio_net.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/virtio_sys/src/virtio_ring.rs b/virtio_sys/src/virtio_ring.rs
index b8a4842..c862851 100644
--- a/virtio_sys/src/virtio_ring.rs
+++ b/virtio_sys/src/virtio_ring.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 #[repr(C)]
diff --git a/x86_64/src/mpspec.rs b/x86_64/src/mpspec.rs
index 8106ef0..ab7af51 100644
--- a/x86_64/src/mpspec.rs
+++ b/x86_64/src/mpspec.rs
@@ -1,3 +1,7 @@
+// Copyright 2019 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
 /* automatically generated by rust-bindgen */
 
 pub const MPC_SIGNATURE: &'static [u8; 5usize] = b"PCMP\x00";