From 2ee4fe8f43b0dc3e080c91931eadade1fd636c27 Mon Sep 17 00:00:00 2001 From: Arthur Hanson Rasmusson Date: Thu, 8 Oct 2026 11:53:20 -0400 Subject: spdx: add BSD-3-Clause identifiers to userspace/tools/scripts sources Sweep of the 155 tracked C/Python/shell files under userspace/ (excluding the MIT-licensed vendored userspace/extern/), tools/ and scripts/ that had no per-file license identifier. Each gains the minimal two-line header in the area's existing form: 'SPDX-License-Identifier: BSD-3-Clause' plus 'Copyright (c) 2026 Open-IOV contributors'; shebang and coding lines stay first. No other content touched. kernel/** is deliberately out of scope (recorded as a follow-up in CODESTD-REPORT-2026-10-08.md): its SPDX coverage and MODULE_LICENSE normalization need their own GPL-2.0 pass. --- userspace/examples/example_vgpu.c | 2 ++ userspace/include/libvgpu.h | 2 ++ userspace/lib/libvgpu.c | 2 ++ userspace/lib/rpc_emulator.c | 2 ++ userspace/lib/rpc_emulator.h | 2 ++ userspace/tests/test_guest_init.c | 2 ++ userspace/tests/test_host_init.c | 2 ++ userspace/tests/test_vgpu_userspace.c | 2 ++ 8 files changed, 16 insertions(+) (limited to 'userspace') diff --git a/userspace/examples/example_vgpu.c b/userspace/examples/example_vgpu.c index ede6873..735f0b3 100644 --- a/userspace/examples/example_vgpu.c +++ b/userspace/examples/example_vgpu.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Example Application * Demonstrates basic VF creation, memory allocation, and BAR configuration diff --git a/userspace/include/libvgpu.h b/userspace/include/libvgpu.h index 7f6505b..33fbfb5 100644 --- a/userspace/include/libvgpu.h +++ b/userspace/include/libvgpu.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Userspace Library (libvgpu) * Simple C API for VF management and GPU operations diff --git a/userspace/lib/libvgpu.c b/userspace/lib/libvgpu.c index a25a228..bd27610 100644 --- a/userspace/lib/libvgpu.c +++ b/userspace/lib/libvgpu.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Userspace Library Implementation */ diff --git a/userspace/lib/rpc_emulator.c b/userspace/lib/rpc_emulator.c index 9f7f2c7..3a74b9c 100644 --- a/userspace/lib/rpc_emulator.c +++ b/userspace/lib/rpc_emulator.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Userspace RPC Emulator * diff --git a/userspace/lib/rpc_emulator.h b/userspace/lib/rpc_emulator.h index 1b641bf..35cb76e 100644 --- a/userspace/lib/rpc_emulator.h +++ b/userspace/lib/rpc_emulator.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Userspace RPC Emulator - Header */ diff --git a/userspace/tests/test_guest_init.c b/userspace/tests/test_guest_init.c index 135c16f..4148da6 100644 --- a/userspace/tests/test_guest_init.c +++ b/userspace/tests/test_guest_init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * Test for guest vGPU driver initialization * This test verifies that the guest vGPU driver can initialize properly diff --git a/userspace/tests/test_host_init.c b/userspace/tests/test_host_init.c index a08fe33..aa3ddbb 100644 --- a/userspace/tests/test_host_init.c +++ b/userspace/tests/test_host_init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * Test for host vGPU initialization */ diff --git a/userspace/tests/test_vgpu_userspace.c b/userspace/tests/test_vgpu_userspace.c index cd22111..5858dbe 100644 --- a/userspace/tests/test_vgpu_userspace.c +++ b/userspace/tests/test_vgpu_userspace.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* * GSP vGPU-IO Userspace Test * Tests VFIO interface and driver functionality from userspace -- cgit v1.2.3