From 3485a440c69a042ae043ad8089329601272155e8 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. --- tools/test/cuda_drv_test.c | 2 ++ tools/test/cuda_drv_test2.c | 2 ++ tools/test/gpage_test.c | 2 ++ tools/test/run_integration_tests.sh | 2 ++ 4 files changed, 8 insertions(+) (limited to 'tools/test') diff --git a/tools/test/cuda_drv_test.c b/tools/test/cuda_drv_test.c index 9501cb3..9c2bd21 100644 --- a/tools/test/cuda_drv_test.c +++ b/tools/test/cuda_drv_test.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* cuda_drv_test.c - minimal CUDA driver-API smoke test (dlopen, no toolkit). * * Run inside the guest. Exercises the paths CUDA needs beyond NVML: diff --git a/tools/test/cuda_drv_test2.c b/tools/test/cuda_drv_test2.c index a3d3190..6d37f72 100644 --- a/tools/test/cuda_drv_test2.c +++ b/tools/test/cuda_drv_test2.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* cuda_drv_test2.c - minimal CUDA driver-API smoke test (dlopen, no toolkit) * with copy-path pause points for live inspection. * diff --git a/tools/test/gpage_test.c b/tools/test/gpage_test.c index 33d0c8d..1ad2212 100644 --- a/tools/test/gpage_test.c +++ b/tools/test/gpage_test.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +/* Copyright (c) 2026 Open-IOV contributors */ /* gpage_test.c - guest-page GPA probe for the physical-backend guest-memory path. * * Run as root inside the guest (plain gcc on Ubuntu 24.04, no CUDA). diff --git a/tools/test/run_integration_tests.sh b/tools/test/run_integration_tests.sh index 06e309c..5f97898 100755 --- a/tools/test/run_integration_tests.sh +++ b/tools/test/run_integration_tests.sh @@ -1,4 +1,6 @@ #!/bin/bash +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2026 Open-IOV contributors # GSP vGPU-IO Integration Test Runner set -e -- cgit v1.2.3