chore(license): an SPDX header on every source file that had none (LicenseRef-Starship-1.0) [skip ci]
The header scan (Captain Bob, 2026-11-10): 788 source files -- 351 with the
SL-1.0 header, 12 with the old name (docs/working/experiments, kept by
ruling), 31 under someone else's licence (tools/kconfig, Linux's, GPL-2.0:
kept), and 394 with none. Ruled: the SPDX form; capsules (.4th, .f18) and
proofs (.thy) left for a ruling of their own (mkcapsule's 64x16 block format,
content-addressed capsules).
253 files now begin
SPDX-License-Identifier: LicenseRef-Starship-1.0
Copyright (c) 2023-2026 Robert A. James
as a /* */ block (C, headers, assembly, linker scripts) or # lines (scripts,
Makefiles, Kconfig; below a shebang or a coding line); tools/mkcapsule.c,
which had the copyright line, gets the SPDX line only.
Not touched: docs/working/ (archive and old campaign material, as the
ruling kept the experiments); v4/system/post_cases.c (generated by
v4/tools/mkpost.py, "do not edit" -- the generator has the header).
Comments only: the kernel builds on amd64, aarch64, riscv64; make -C v4
test-32: 39 programs, 0 failures; every changed script parses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GE3SDvQn5EoxdGufk84zz2
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding assert.h shim — asserts become no-ops in kernel builds. */
|
||||
#ifndef FREESTANDING_ASSERT_H
|
||||
#define FREESTANDING_ASSERT_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding ctype.h shim — character classification for kernel builds. */
|
||||
#ifndef FREESTANDING_CTYPE_H
|
||||
#define FREESTANDING_CTYPE_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding errno.h shim — no OS errno in kernel builds. */
|
||||
#ifndef FREESTANDING_ERRNO_H
|
||||
#define FREESTANDING_ERRNO_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding inttypes.h shim — PRI* format macros for kernel builds. */
|
||||
#ifndef FREESTANDING_INTTYPES_H
|
||||
#define FREESTANDING_INTTYPES_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding math.h shim — floating-point math for kernel builds.
|
||||
* These functions are declared but should not be called; physics feedback
|
||||
* loops use Q48.16 integer arithmetic, not float. */
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sched.h shim — no POSIX scheduling in kernel builds. */
|
||||
#ifndef FREESTANDING_SCHED_H
|
||||
#define FREESTANDING_SCHED_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding signal.h shim — no POSIX signals in kernel builds. */
|
||||
#ifndef FREESTANDING_SIGNAL_H
|
||||
#define FREESTANDING_SIGNAL_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding stdio.h shim for aarch64 COFF kernel builds.
|
||||
* printf/fprintf/snprintf/vfprintf all provided by shim.c (route to console). */
|
||||
#ifndef FREESTANDING_STDIO_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding stdlib.h shim for aarch64 COFF kernel builds.
|
||||
* malloc/free/calloc/realloc provided by shim.c; abort by shim.c. */
|
||||
#ifndef FREESTANDING_STDLIB_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding string.h shim for aarch64 COFF kernel builds.
|
||||
* Implementations are provided by src/starkernel/vm/host/shim.c. */
|
||||
#ifndef FREESTANDING_STRING_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sys/time.h shim — no gettimeofday in kernel builds. */
|
||||
#ifndef FREESTANDING_SYS_TIME_H
|
||||
#define FREESTANDING_SYS_TIME_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding sys/types.h shim — POSIX types for kernel builds. */
|
||||
#ifndef FREESTANDING_SYS_TYPES_H
|
||||
#define FREESTANDING_SYS_TYPES_H
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
/* SPDX-License-Identifier: LicenseRef-Starship-1.0
|
||||
* Copyright (c) 2023-2026 Robert A. James
|
||||
*/
|
||||
/* Freestanding time.h shim — no POSIX time in kernel builds. */
|
||||
#ifndef FREESTANDING_TIME_H
|
||||
#define FREESTANDING_TIME_H
|
||||
|
||||
Reference in New Issue
Block a user