[PATCH 00/26] Bulk Relicense to BSD-2

Joel Sherrill joel at rtems.org
Fri Mar 18 16:21:07 UTC 2022


Hi

This is another large patch set which changes most of the cpukit
source that is easily possible to BSD-2. I have emailed at least
a half dozen more contributors to get permission. That will unblock
some files/directories I didn't touch. There is still a fair amount
in cpukit which can be changed to BSD-2 (I think).

Known issues we can address are:

+ cpukit/include needs a sweep
+ cpukit/dev needs a sweep
+ cpukit/libcsupport needs a file by file review
+ cpukit/libmisc/shell needs a file by file review
+ cpukit/libmisc/monitor is going to require Chris' attention
+ cpukit/libdl has NetBSD code with no license
+ sometimes files are BSD-2 but SPDX line is in the copyright block
+ some files have no license (md4.c, des.h stick out)
+ imported files with permissive license have no SPDX

I have not looked at libbsp and intend to do testsuites next because
they should be easier. Most are single contributor. 

This patch set is mostly automated but I did fix a few things by hand.

Help is always appreciated if someone wants to do an analysis
of one of the directories I listed above and see what can be
changed.

Thanks.

--joel

Joel Sherrill (26):
  cpukit/libdl/rtl-alloc-check.py: Change to BSD-2 by hand
  cpukit/libdl Change license to BSD-2
  cpukit/libdrvmsg: Change license to BSD-2
  cpukit/libfs/src/defaults: Change license to BSD-2
  cpukit/libdl: Manual file header reordering (SPDX, Doxygen, Copyright)
  cpukit/libfs/src/imfs: Change license to BSD-2
  cpukit/libds/src/ftpfs/tftpDriver.c: Manually update license to BSD-2
  cpukit/libfs/src/rfs: Change license to BSD-2
  cpukit/libgnat: Change license to BSD-2.
  cpukit/libpci: Change license to BSD-2
  cpukit/libtest: Change license to BSD-2
  cpukit/libmisc/bspcmdline: Change license to BSD-2
  cpukit/capture: Change license to BSD-2
  cpukit/libmisc/capture: Manually change license to BSD-2
  cpukit/libmisc/cpuuse: Change license to BSD-2
  cpukit/libmisc/devnull/devzero.c: Change license to BSD-2
  cpukit/libmisc/dummy: Change license to BSD-2.
  cpukit/libmisc/dumpbuf: Change license to BSD-2
  cpukit/libmisc/fsmount: Change license to BSD-2.
  cpukit/libmisc/fsmount/fsmount.c: Manual header clean up
  cpukit/libmisc/mouse: Change license to BSD-2
  cpukit/libmisc/redirector: Manually change license to BSD-2
  cpukit/libmisc/rtems-fdt: Change license to BSD-2
  cpukit/libmisc/serdbg: Change to BSD-2
  cpukit/libmisc/check: Change license to BSD-2
  cpukit/libmisc/untar: Change license to BSD-2

 cpukit/libdl/dlfcn-shell.c                    | 34 ++++++++---
 cpukit/libdl/dlfcn.c                          | 34 ++++++++---
 cpukit/libdl/rap-shell.c                      | 34 ++++++++---
 cpukit/libdl/rap.c                            | 34 ++++++++---
 cpukit/libdl/rtl-alloc-check.py               | 30 +++++++---
 cpukit/libdl/rtl-alloc-heap.c                 | 34 ++++++++---
 cpukit/libdl/rtl-alloc-heap.h                 | 34 ++++++++---
 cpukit/libdl/rtl-allocator.c                  | 34 ++++++++---
 cpukit/libdl/rtl-archive.c                    | 34 ++++++++---
 cpukit/libdl/rtl-bit-alloc.c                  | 34 ++++++++---
 cpukit/libdl/rtl-bit-alloc.h                  | 34 ++++++++---
 cpukit/libdl/rtl-chain-iterator.c             | 34 ++++++++---
 cpukit/libdl/rtl-chain-iterator.h             | 34 ++++++++---
 cpukit/libdl/rtl-debugger.c                   | 34 ++++++++---
 cpukit/libdl/rtl-elf.c                        | 34 ++++++++---
 cpukit/libdl/rtl-elf.h                        | 34 ++++++++---
 cpukit/libdl/rtl-error.c                      | 34 ++++++++---
 cpukit/libdl/rtl-error.h                      | 34 ++++++++---
 cpukit/libdl/rtl-find-file.c                  | 34 ++++++++---
 cpukit/libdl/rtl-find-file.h                  | 34 ++++++++---
 cpukit/libdl/rtl-obj-cache.c                  | 34 ++++++++---
 cpukit/libdl/rtl-obj-comp.c                   | 34 ++++++++---
 cpukit/libdl/rtl-obj.c                        | 34 ++++++++---
 cpukit/libdl/rtl-rap.c                        | 34 ++++++++---
 cpukit/libdl/rtl-rap.h                        | 34 ++++++++---
 cpukit/libdl/rtl-shell.c                      | 34 ++++++++---
 cpukit/libdl/rtl-string.c                     | 34 ++++++++---
 cpukit/libdl/rtl-string.h                     | 34 ++++++++---
 cpukit/libdl/rtl-sym.c                        | 34 ++++++++---
 cpukit/libdl/rtl-trace.c                      | 34 ++++++++---
 cpukit/libdl/rtl-trampoline.h                 | 34 ++++++++---
 cpukit/libdl/rtl-unresolved.c                 | 34 ++++++++---
 cpukit/libdl/rtl-unwind-dw2.c                 | 34 ++++++++---
 cpukit/libdl/rtl-unwind-dw2.h                 | 34 ++++++++---
 cpukit/libdl/rtl-unwind.h                     | 34 ++++++++---
 cpukit/libdl/rtl.c                            | 34 ++++++++---
 cpukit/libdrvmgr/drvmgr.c                     | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_by_id.c               | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_by_name.c             | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_dev_by_name.c         | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_drvinf.c              | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_for_each_dev.c        | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_for_each_list_dev.c   | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_func.c                | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_func_call.c           | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_init.c                | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_internal.h            | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_list.c                | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_lock.c                | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_print.c               | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_res.c                 | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_rw.c                  | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_translate.c           | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_translate_check.c     | 25 +++++++-
 cpukit/libdrvmgr/drvmgr_unregister.c          | 25 +++++++-
 .../src/defaults/default_are_nodes_equal.c    | 25 +++++++-
 cpukit/libfs/src/defaults/default_chown.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_clone.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_close.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_eval_path.c | 25 +++++++-
 cpukit/libfs/src/defaults/default_fchmod.c    | 25 +++++++-
 cpukit/libfs/src/defaults/default_fcntl.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_freenode.c  | 25 +++++++-
 cpukit/libfs/src/defaults/default_fstat.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_fsunmount.c | 25 +++++++-
 cpukit/libfs/src/defaults/default_fsync.c     | 25 +++++++-
 .../src/defaults/default_fsync_success.c      | 25 +++++++-
 cpukit/libfs/src/defaults/default_ftruncate.c | 25 +++++++-
 .../defaults/default_ftruncate_directory.c    | 25 +++++++-
 cpukit/libfs/src/defaults/default_handlers.c  | 25 +++++++-
 cpukit/libfs/src/defaults/default_ioctl.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_kqfilter.c  | 25 +++++++-
 cpukit/libfs/src/defaults/default_link.c      | 25 +++++++-
 .../src/defaults/default_lock_and_unlock.c    | 25 +++++++-
 cpukit/libfs/src/defaults/default_lseek.c     | 25 +++++++-
 .../src/defaults/default_lseek_directory.c    | 25 +++++++-
 .../libfs/src/defaults/default_lseek_file.c   | 25 +++++++-
 cpukit/libfs/src/defaults/default_mknod.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_mmap.c      | 25 +++++++-
 cpukit/libfs/src/defaults/default_mount.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_open.c      | 25 +++++++-
 cpukit/libfs/src/defaults/default_poll.c      | 25 +++++++-
 cpukit/libfs/src/defaults/default_read.c      | 25 +++++++-
 cpukit/libfs/src/defaults/default_readlink.c  | 25 +++++++-
 cpukit/libfs/src/defaults/default_readv.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_rename.c    | 25 +++++++-
 cpukit/libfs/src/defaults/default_rmnod.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_statvfs.c   | 25 +++++++-
 cpukit/libfs/src/defaults/default_symlink.c   | 25 +++++++-
 cpukit/libfs/src/defaults/default_unmount.c   | 25 +++++++-
 cpukit/libfs/src/defaults/default_write.c     | 25 +++++++-
 cpukit/libfs/src/defaults/default_writev.c    | 25 +++++++-
 cpukit/libfs/src/ftpfs/tftpDriver.c           | 38 ++++++++++---
 cpukit/libfs/src/imfs/deviceio.c              | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_chown.c            | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_config.c           | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_creat.c            | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_dir.c              | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_dir_default.c      | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_dir_minimal.c      | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_eval.c             | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_fchmod.c           | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_fifo.c             | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_fsunmount.c        | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_handlers_device.c  | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_initsupp.c         | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_linfile.c          | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_link.c             | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_load_tar.c         | 25 +++++++-
 .../libfs/src/imfs/imfs_make_generic_node.c   | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_memfile.c          | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_mknod.c            | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_mount.c            | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_node.c             | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_rename.c           | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_rmnod.c            | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_stat.c             | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_stat_file.c        | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_symlink.c          | 25 +++++++-
 cpukit/libfs/src/imfs/imfs_unmount.c          | 25 +++++++-
 cpukit/libfs/src/imfs/ioman.c                 | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c      | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-block.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-buffer.c       | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-dir.c          | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-file-system.c  | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-file.c         | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-format.c       | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-group.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-inode.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-link.c         | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-mutex.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems-dev.c    | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems-dir.c    | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems-file.c   | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems-utils.c  | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-rtems.h        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-shell.c        | 25 +++++++-
 cpukit/libfs/src/rfs/rtems-rfs-trace.c        | 25 +++++++-
 cpukit/libgnat/ada_intrsupp.c                 | 25 +++++++-
 cpukit/libmisc/bspcmdline/bspcmdline_get.c    | 25 +++++++-
 .../libmisc/bspcmdline/bspcmdline_getparam.c  | 25 +++++++-
 .../bspcmdline/bspcmdline_getparamraw.c       | 25 +++++++-
 .../bspcmdline/bspcmdline_getparamrhs.c       | 25 +++++++-
 cpukit/libmisc/capture/README                 |  4 +-
 cpukit/libmisc/capture/capture-cli.c          | 57 ++++++++++++-------
 cpukit/libmisc/capture/capture.c              | 55 +++++++++++-------
 cpukit/libmisc/capture/capture_buffer.c       | 49 ++++++++++------
 cpukit/libmisc/capture/capture_buffer.h       | 42 +++++++++-----
 cpukit/libmisc/capture/capture_support.c      | 57 ++++++++++++-------
 .../libmisc/capture/capture_user_extension.c  | 51 +++++++++++------
 .../capture/rtems-trace-buffer-default.c      | 25 +++++++-
 .../libmisc/capture/rtems-trace-buffer-vars.c | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuinforeport.c         | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuusagedata.c          | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuusagereport.c        | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuusagereset.c         | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuusagetop.c           | 25 +++++++-
 cpukit/libmisc/cpuuse/cpuuseimpl.h            | 25 +++++++-
 cpukit/libmisc/devnull/devzero.c              | 25 +++++++-
 cpukit/libmisc/dummy/default-configuration.c  | 25 +++++++-
 cpukit/libmisc/dumpbuf/dumpbuf.c              |  2 +
 cpukit/libmisc/fsmount/fsmount.c              | 29 ++++++++--
 cpukit/libmisc/mouse/serial_mouse.c           | 25 +++++++-
 cpukit/libmisc/redirector/stdio-redirect.c    | 33 ++++++++---
 cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c    | 25 +++++++-
 cpukit/libmisc/rtems-fdt/rtems-fdt.c          | 25 +++++++-
 cpukit/libmisc/serdbg/serdbg.c                | 25 +++++++-
 cpukit/libmisc/serdbg/serdbgio.c              | 25 +++++++-
 cpukit/libmisc/serdbg/termios_printk.c        | 25 +++++++-
 cpukit/libmisc/stackchk/check.c               | 25 +++++++-
 cpukit/libmisc/untar/untar.c                  | 25 +++++++-
 cpukit/libmisc/untar/untar_tgz.c              | 25 +++++++-
 cpukit/libmisc/untar/untar_txz.c              | 25 +++++++-
 cpukit/libpci/pci_access.c                    | 25 +++++++-
 cpukit/libpci/pci_access_func.c               | 25 +++++++-
 cpukit/libpci/pci_access_io.c                 | 25 +++++++-
 cpukit/libpci/pci_access_mem.c                | 25 +++++++-
 cpukit/libpci/pci_access_mem_be.c             | 25 +++++++-
 cpukit/libpci/pci_access_mem_le.c             | 25 +++++++-
 cpukit/libpci/pci_bus.c                       | 25 +++++++-
 cpukit/libpci/pci_cfg.c                       | 25 +++++++-
 cpukit/libpci/pci_cfg_auto.c                  | 25 +++++++-
 cpukit/libpci/pci_cfg_peripheral.c            | 25 +++++++-
 cpukit/libpci/pci_cfg_print_code.c            | 25 +++++++-
 cpukit/libpci/pci_cfg_read.c                  | 25 +++++++-
 cpukit/libpci/pci_cfg_static.c                | 25 +++++++-
 cpukit/libpci/pci_find.c                      | 25 +++++++-
 cpukit/libpci/pci_find_dev.c                  | 25 +++++++-
 cpukit/libpci/pci_for_each.c                  | 25 +++++++-
 cpukit/libpci/pci_for_each_child.c            | 25 +++++++-
 cpukit/libpci/pci_for_each_dev.c              | 25 +++++++-
 cpukit/libpci/pci_get_dev.c                   | 25 +++++++-
 cpukit/libpci/pci_internal.h                  | 25 +++++++-
 cpukit/libpci/pci_irq.c                       | 25 +++++++-
 cpukit/libpci/pci_print.c                     | 25 +++++++-
 cpukit/libtest/testbeginend.c                 | 25 +++++++-
 cpukit/libtest/testbusy.c                     | 25 +++++++-
 cpukit/libtest/testextension.c                | 25 +++++++-
 cpukit/libtest/testparallel.c                 | 25 +++++++-
 cpukit/libtest/testwrappers.c                 | 25 +++++++-
 204 files changed, 4702 insertions(+), 860 deletions(-)

-- 
2.24.4



More information about the devel mailing list