From 51a2ee5e33eda67f86e03b444b33fa1e125fe202 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 Aug 2025 17:26:26 -0500 Subject: [PATCH] cpukit/*: Add SPDX for RTEMS legacy license These may still be relicensed but adding SPDX is needed. Updates #4805. --- cpukit/include/rtems/tod.h | 2 ++ cpukit/libcsupport/src/getgrent.c | 2 ++ cpukit/libcsupport/src/getgrnam.c | 2 ++ cpukit/libcsupport/src/getpwent.c | 2 ++ cpukit/libcsupport/src/kill_noposix.c | 2 ++ cpukit/libcsupport/src/lchown.c | 2 ++ cpukit/libcsupport/src/newlibc_exit.c | 2 ++ cpukit/libcsupport/src/newlibc_reent.c | 2 ++ cpukit/libcsupport/src/pwdgrp.c | 2 ++ cpukit/libcsupport/src/termios.c | 2 ++ cpukit/libcsupport/src/termiosinitialize.c | 2 ++ cpukit/libfs/src/dosfs/fat.h | 2 ++ cpukit/libfs/src/dosfs/fat_fat_operations.h | 2 ++ cpukit/libfs/src/dosfs/fat_file.h | 2 ++ cpukit/libfs/src/dosfs/msdos.h | 2 ++ cpukit/libfs/src/dosfs/msdos_create.c | 2 ++ cpukit/libfs/src/dosfs/msdos_dir.c | 2 ++ cpukit/libfs/src/dosfs/msdos_eval.c | 2 ++ cpukit/libfs/src/dosfs/msdos_file.c | 2 ++ cpukit/libfs/src/dosfs/msdos_free.c | 2 ++ cpukit/libfs/src/dosfs/msdos_fsunmount.c | 2 ++ cpukit/libfs/src/dosfs/msdos_handlers_dir.c | 2 ++ cpukit/libfs/src/dosfs/msdos_handlers_file.c | 2 ++ cpukit/libfs/src/dosfs/msdos_init.c | 2 ++ cpukit/libfs/src/dosfs/msdos_initsupp.c | 2 ++ cpukit/libfs/src/dosfs/msdos_misc.c | 2 ++ cpukit/libfs/src/dosfs/msdos_mknod.c | 2 ++ cpukit/libfs/src/dosfs/msdos_rmnod.c | 2 ++ cpukit/libfs/src/dosfs/msdos_statvfs.c | 2 ++ cpukit/libfs/src/pipe/fifo.c | 2 ++ cpukit/libfs/src/pipe/pipe.c | 2 ++ cpukit/libmisc/devnull/devnull.c | 2 ++ cpukit/libmisc/fb/mw_print.c | 2 ++ cpukit/libmisc/shell/main_df.c | 2 ++ cpukit/libmisc/stringto/stringtodouble.c | 2 ++ cpukit/libmisc/stringto/stringtofloat.c | 2 ++ cpukit/libmisc/stringto/stringtoint.c | 2 ++ cpukit/libmisc/stringto/stringtolong.c | 2 ++ cpukit/libmisc/stringto/stringtolongdouble.c | 2 ++ cpukit/libmisc/stringto/stringtolonglong.c | 2 ++ cpukit/libmisc/stringto/stringtopointer.c | 2 ++ cpukit/libmisc/stringto/stringtounsignedchar.c | 2 ++ cpukit/libmisc/stringto/stringtounsignedint.c | 2 ++ cpukit/libmisc/stringto/stringtounsignedlong.c | 2 ++ cpukit/libmisc/stringto/stringtounsignedlonglong.c | 2 ++ 45 files changed, 90 insertions(+) diff --git a/cpukit/include/rtems/tod.h b/cpukit/include/rtems/tod.h index 238c4abebd..78704e7096 100644 --- a/cpukit/include/rtems/tod.h +++ b/cpukit/include/rtems/tod.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/getgrent.c b/cpukit/libcsupport/src/getgrent.c index 8ba7ac8577..81527cddf9 100644 --- a/cpukit/libcsupport/src/getgrent.c +++ b/cpukit/libcsupport/src/getgrent.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/getgrnam.c b/cpukit/libcsupport/src/getgrnam.c index deeea728fe..149a4f1f20 100644 --- a/cpukit/libcsupport/src/getgrnam.c +++ b/cpukit/libcsupport/src/getgrnam.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/getpwent.c b/cpukit/libcsupport/src/getpwent.c index 3af2660286..4559474d3b 100644 --- a/cpukit/libcsupport/src/getpwent.c +++ b/cpukit/libcsupport/src/getpwent.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/kill_noposix.c b/cpukit/libcsupport/src/kill_noposix.c index 3792a81db8..ce24ae7828 100644 --- a/cpukit/libcsupport/src/kill_noposix.c +++ b/cpukit/libcsupport/src/kill_noposix.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/lchown.c b/cpukit/libcsupport/src/lchown.c index eb6af0a3c1..8da8bca197 100644 --- a/cpukit/libcsupport/src/lchown.c +++ b/cpukit/libcsupport/src/lchown.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /* * lchown() - POSIX 1003.1b 5.6.5 - Change Owner and Group of a File * But Do Not Follow a Symlink diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index d29214af3f..c8dae30349 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /* * COPYRIGHT (c) 1994 by Division Incorporated * diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c index ee82f00858..19feaf7ff1 100644 --- a/cpukit/libcsupport/src/newlibc_reent.c +++ b/cpukit/libcsupport/src/newlibc_reent.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/pwdgrp.c b/cpukit/libcsupport/src/pwdgrp.c index 5a7a424fdb..3b70ce3374 100644 --- a/cpukit/libcsupport/src/pwdgrp.c +++ b/cpukit/libcsupport/src/pwdgrp.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index c19dc2299e..c34d2180b5 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * TERMIOS serial line support diff --git a/cpukit/libcsupport/src/termiosinitialize.c b/cpukit/libcsupport/src/termiosinitialize.c index ae80243b2a..56e5301021 100644 --- a/cpukit/libcsupport/src/termiosinitialize.c +++ b/cpukit/libcsupport/src/termiosinitialize.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h index d508ff27f2..03a31e227f 100644 --- a/cpukit/libfs/src/dosfs/fat.h +++ b/cpukit/libfs/src/dosfs/fat.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/fat_fat_operations.h b/cpukit/libfs/src/dosfs/fat_fat_operations.h index d8f86606e0..d192a90924 100644 --- a/cpukit/libfs/src/dosfs/fat_fat_operations.h +++ b/cpukit/libfs/src/dosfs/fat_fat_operations.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/fat_file.h b/cpukit/libfs/src/dosfs/fat_file.h index 78e4cea8b2..8392f23a0b 100644 --- a/cpukit/libfs/src/dosfs/fat_file.h +++ b/cpukit/libfs/src/dosfs/fat_file.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h index 7f0e9ab423..d7e0b8a81b 100644 --- a/cpukit/libfs/src/dosfs/msdos.h +++ b/cpukit/libfs/src/dosfs/msdos.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c index a6b02646ae..54f9ee0aba 100644 --- a/cpukit/libfs/src/dosfs/msdos_create.c +++ b/cpukit/libfs/src/dosfs/msdos_create.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c index d9585635d9..185bf58d13 100644 --- a/cpukit/libfs/src/dosfs/msdos_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_dir.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_eval.c b/cpukit/libfs/src/dosfs/msdos_eval.c index 7022aca955..a696c073d0 100644 --- a/cpukit/libfs/src/dosfs/msdos_eval.c +++ b/cpukit/libfs/src/dosfs/msdos_eval.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c index e25f292484..34e8c8ca3c 100644 --- a/cpukit/libfs/src/dosfs/msdos_file.c +++ b/cpukit/libfs/src/dosfs/msdos_file.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_free.c b/cpukit/libfs/src/dosfs/msdos_free.c index 664103d455..e9ac19ac91 100644 --- a/cpukit/libfs/src/dosfs/msdos_free.c +++ b/cpukit/libfs/src/dosfs/msdos_free.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_fsunmount.c b/cpukit/libfs/src/dosfs/msdos_fsunmount.c index f90de64069..83275ef439 100644 --- a/cpukit/libfs/src/dosfs/msdos_fsunmount.c +++ b/cpukit/libfs/src/dosfs/msdos_fsunmount.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_handlers_dir.c b/cpukit/libfs/src/dosfs/msdos_handlers_dir.c index d00ee3925b..a59b52727e 100644 --- a/cpukit/libfs/src/dosfs/msdos_handlers_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_handlers_dir.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_handlers_file.c b/cpukit/libfs/src/dosfs/msdos_handlers_file.c index 052595d51a..847006cf0e 100644 --- a/cpukit/libfs/src/dosfs/msdos_handlers_file.c +++ b/cpukit/libfs/src/dosfs/msdos_handlers_file.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_init.c b/cpukit/libfs/src/dosfs/msdos_init.c index 07e6d613f7..517d805cce 100644 --- a/cpukit/libfs/src/dosfs/msdos_init.c +++ b/cpukit/libfs/src/dosfs/msdos_init.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_initsupp.c b/cpukit/libfs/src/dosfs/msdos_initsupp.c index 6394f2ee58..97189ccdb3 100644 --- a/cpukit/libfs/src/dosfs/msdos_initsupp.c +++ b/cpukit/libfs/src/dosfs/msdos_initsupp.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index cd59c494ea..13997d26fc 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/dosfs/msdos_misc.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_mknod.c b/cpukit/libfs/src/dosfs/msdos_mknod.c index 8fe01e4985..0cb48dc685 100644 --- a/cpukit/libfs/src/dosfs/msdos_mknod.c +++ b/cpukit/libfs/src/dosfs/msdos_mknod.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_rmnod.c b/cpukit/libfs/src/dosfs/msdos_rmnod.c index 77e280af07..51f339212a 100644 --- a/cpukit/libfs/src/dosfs/msdos_rmnod.c +++ b/cpukit/libfs/src/dosfs/msdos_rmnod.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/dosfs/msdos_statvfs.c b/cpukit/libfs/src/dosfs/msdos_statvfs.c index ea808c05f0..5439b75a92 100644 --- a/cpukit/libfs/src/dosfs/msdos_statvfs.c +++ b/cpukit/libfs/src/dosfs/msdos_statvfs.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 1ebfd82a79..d83deb73c8 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libfs/src/pipe/pipe.c b/cpukit/libfs/src/pipe/pipe.c index 93e3723185..288ab2ee85 100644 --- a/cpukit/libfs/src/pipe/pipe.c +++ b/cpukit/libfs/src/pipe/pipe.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/devnull/devnull.c b/cpukit/libmisc/devnull/devnull.c index 9adc47c665..4729c8d7b1 100644 --- a/cpukit/libmisc/devnull/devnull.c +++ b/cpukit/libmisc/devnull/devnull.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/fb/mw_print.c b/cpukit/libmisc/fb/mw_print.c index 34979960c9..63106ddcaf 100644 --- a/cpukit/libmisc/fb/mw_print.c +++ b/cpukit/libmisc/fb/mw_print.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/shell/main_df.c b/cpukit/libmisc/shell/main_df.c index 8f2443098d..aebeee1fac 100644 --- a/cpukit/libmisc/shell/main_df.c +++ b/cpukit/libmisc/shell/main_df.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtodouble.c b/cpukit/libmisc/stringto/stringtodouble.c index 6955c6e9ba..2e6d7611f1 100644 --- a/cpukit/libmisc/stringto/stringtodouble.c +++ b/cpukit/libmisc/stringto/stringtodouble.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtofloat.c b/cpukit/libmisc/stringto/stringtofloat.c index fc873f2365..0536297fa5 100644 --- a/cpukit/libmisc/stringto/stringtofloat.c +++ b/cpukit/libmisc/stringto/stringtofloat.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtoint.c b/cpukit/libmisc/stringto/stringtoint.c index e79b168277..1fce511299 100644 --- a/cpukit/libmisc/stringto/stringtoint.c +++ b/cpukit/libmisc/stringto/stringtoint.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtolong.c b/cpukit/libmisc/stringto/stringtolong.c index 664328584e..bc379b0f99 100644 --- a/cpukit/libmisc/stringto/stringtolong.c +++ b/cpukit/libmisc/stringto/stringtolong.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtolongdouble.c b/cpukit/libmisc/stringto/stringtolongdouble.c index 677b81888e..02358725f2 100644 --- a/cpukit/libmisc/stringto/stringtolongdouble.c +++ b/cpukit/libmisc/stringto/stringtolongdouble.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtolonglong.c b/cpukit/libmisc/stringto/stringtolonglong.c index f8d38d2f00..2559f23efc 100644 --- a/cpukit/libmisc/stringto/stringtolonglong.c +++ b/cpukit/libmisc/stringto/stringtolonglong.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtopointer.c b/cpukit/libmisc/stringto/stringtopointer.c index 64d3b42c48..5c1f5f95ac 100644 --- a/cpukit/libmisc/stringto/stringtopointer.c +++ b/cpukit/libmisc/stringto/stringtopointer.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtounsignedchar.c b/cpukit/libmisc/stringto/stringtounsignedchar.c index 113a863636..7acb010f52 100644 --- a/cpukit/libmisc/stringto/stringtounsignedchar.c +++ b/cpukit/libmisc/stringto/stringtounsignedchar.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtounsignedint.c b/cpukit/libmisc/stringto/stringtounsignedint.c index 35d1bdcf7e..3b2d4b1cb3 100644 --- a/cpukit/libmisc/stringto/stringtounsignedint.c +++ b/cpukit/libmisc/stringto/stringtounsignedint.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtounsignedlong.c b/cpukit/libmisc/stringto/stringtounsignedlong.c index 903be96f4a..6439c53bb9 100644 --- a/cpukit/libmisc/stringto/stringtounsignedlong.c +++ b/cpukit/libmisc/stringto/stringtounsignedlong.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file * diff --git a/cpukit/libmisc/stringto/stringtounsignedlonglong.c b/cpukit/libmisc/stringto/stringtounsignedlonglong.c index e9bdcbc3e5..4731c97e97 100644 --- a/cpukit/libmisc/stringto/stringtounsignedlonglong.c +++ b/cpukit/libmisc/stringto/stringtounsignedlonglong.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-with-RTEMS-exception */ + /** * @file *