Skip to content

Commit 681ca52

Browse files
dianpopaSamuel Ortiz
authored and
Samuel Ortiz
committed
add license header for the "ioctls" module
Signed-off-by: Diana Popa <[email protected]>
1 parent a6c6a1f commit 681ca52

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

src/ioctls/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
//
4+
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5+
// Use of this source code is governed by a BSD-style license that can be
6+
// found in the THIRD-PARTY file.
7+
18
use std::io;
29
use std::mem::size_of;
310
use std::os::unix::io::AsRawFd;

src/ioctls/system.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
//
4+
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5+
// Use of this source code is governed by a BSD-style license that can be
6+
// found in the THIRD-PARTY file.
7+
18
use kvm_bindings::*;
29

310
use libc::{open, O_CLOEXEC, O_RDWR};

src/ioctls/vcpu.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
//
4+
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5+
// Use of this source code is governed by a BSD-style license that can be
6+
// found in the THIRD-PARTY file.
7+
18
use kvm_bindings::*;
29
use libc::EINVAL;
310
use std::fs::File;

src/ioctls/vm.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
//
4+
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5+
// Use of this source code is governed by a BSD-style license that can be
6+
// found in the THIRD-PARTY file.
7+
18
use ioctls::Result;
29
use kvm_bindings::*;
310
use std::fs::File;

0 commit comments

Comments
 (0)