aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:01:59 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-27 15:01:59 +0000
commitc4e20cad0061217b9bdb0c5ecebbf889f52c6b19 (patch)
tree9d4c895f0e4671f10698e3348d14b9d503af826b /sys/sys
parent718cf2ccb9956613756ab15d7a0e28f2c8e91cab (diff)
downloadsrc-c4e20cad0061217b9bdb0c5ecebbf889f52c6b19.tar.gz
src-c4e20cad0061217b9bdb0c5ecebbf889f52c6b19.zip
sys/sys: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
Notes
Notes: svn path=/head/; revision=326256
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/_bitset.h2
-rw-r--r--sys/sys/_bus_dma.h2
-rw-r--r--sys/sys/_cpuset.h2
-rw-r--r--sys/sys/_ffcounter.h2
-rw-r--r--sys/sys/_lock.h2
-rw-r--r--sys/sys/_lockmgr.h2
-rw-r--r--sys/sys/_mutex.h2
-rw-r--r--sys/sys/_null.h2
-rw-r--r--sys/sys/_pctrie.h4
-rw-r--r--sys/sys/_pthreadtypes.h4
-rw-r--r--sys/sys/_rwlock.h2
-rw-r--r--sys/sys/_semaphore.h2
-rw-r--r--sys/sys/_stack.h4
-rw-r--r--sys/sys/_stdint.h2
-rw-r--r--sys/sys/_sx.h2
-rw-r--r--sys/sys/_task.h2
-rw-r--r--sys/sys/_timeval.h2
-rw-r--r--sys/sys/_types.h2
-rw-r--r--sys/sys/_umtx.h2
-rw-r--r--sys/sys/_unrhdr.h2
-rw-r--r--sys/sys/aac_ioctl.h2
-rw-r--r--sys/sys/acl.h2
-rw-r--r--sys/sys/agpio.h2
-rw-r--r--sys/sys/aio.h2
-rw-r--r--sys/sys/alq.h2
-rw-r--r--sys/sys/assym.h2
-rw-r--r--sys/sys/ata.h2
-rw-r--r--sys/sys/bitset.h2
-rw-r--r--sys/sys/boot.h2
-rw-r--r--sys/sys/buf_ring.h2
-rw-r--r--sys/sys/bufobj.h2
-rw-r--r--sys/sys/bus.h2
-rw-r--r--sys/sys/bus_dma.h2
-rw-r--r--sys/sys/busdma_bufalloc.h2
-rw-r--r--sys/sys/capability.h2
-rw-r--r--sys/sys/caprights.h2
-rw-r--r--sys/sys/cdrio.h2
-rw-r--r--sys/sys/chio.h2
-rw-r--r--sys/sys/clock.h2
-rw-r--r--sys/sys/condvar.h2
-rw-r--r--sys/sys/consio.h2
-rw-r--r--sys/sys/copyright.h2
-rw-r--r--sys/sys/counter.h2
-rw-r--r--sys/sys/cpu.h2
-rw-r--r--sys/sys/cpuctl.h2
-rw-r--r--sys/sys/cpuset.h2
-rw-r--r--sys/sys/devicestat.h2
-rw-r--r--sys/sys/digiio.h2
-rw-r--r--sys/sys/dtrace_bsd.h2
-rw-r--r--sys/sys/dvdio.h2
-rw-r--r--sys/sys/elf.h2
-rw-r--r--sys/sys/elf32.h2
-rw-r--r--sys/sys/elf64.h2
-rw-r--r--sys/sys/elf_common.h2
-rw-r--r--sys/sys/elf_generic.h2
-rw-r--r--sys/sys/endian.h2
-rw-r--r--sys/sys/eui64.h2
-rw-r--r--sys/sys/event.h2
-rw-r--r--sys/sys/eventhandler.h2
-rw-r--r--sys/sys/eventvar.h2
-rw-r--r--sys/sys/extattr.h2
-rw-r--r--sys/sys/fail.h2
-rw-r--r--sys/sys/fdcio.h2
-rw-r--r--sys/sys/firmware.h2
-rw-r--r--sys/sys/gpio.h2
-rw-r--r--sys/sys/gpt.h2
-rw-r--r--sys/sys/hash.h2
-rw-r--r--sys/sys/hhook.h2
-rw-r--r--sys/sys/iconv.h2
-rw-r--r--sys/sys/imgact_elf.h2
-rw-r--r--sys/sys/interrupt.h2
-rw-r--r--sys/sys/ipmi.h2
-rw-r--r--sys/sys/jail.h2
-rw-r--r--sys/sys/joystick.h2
-rw-r--r--sys/sys/kdb.h2
-rw-r--r--sys/sys/kenv.h2
-rw-r--r--sys/sys/kerneldump.h2
-rw-r--r--sys/sys/khelp.h2
-rw-r--r--sys/sys/kobj.h2
-rw-r--r--sys/sys/ksem.h2
-rw-r--r--sys/sys/kthread.h2
-rw-r--r--sys/sys/ktr.h2
-rw-r--r--sys/sys/ktr_class.h2
-rw-r--r--sys/sys/link_aout.h2
-rw-r--r--sys/sys/link_elf.h2
-rw-r--r--sys/sys/linker.h2
-rw-r--r--sys/sys/linker_set.h2
-rw-r--r--sys/sys/lock.h2
-rw-r--r--sys/sys/lock_profile.h2
-rw-r--r--sys/sys/lockmgr.h2
-rw-r--r--sys/sys/lockstat.h2
-rw-r--r--sys/sys/loginclass.h2
-rw-r--r--sys/sys/mac.h2
-rw-r--r--sys/sys/mchain.h2
-rw-r--r--sys/sys/memdesc.h2
-rw-r--r--sys/sys/module.h2
-rw-r--r--sys/sys/module_khelp.h2
-rw-r--r--sys/sys/mqueue.h2
-rw-r--r--sys/sys/msg.h2
-rw-r--r--sys/sys/mutex.h2
-rw-r--r--sys/sys/osd.h2
-rw-r--r--sys/sys/pciio.h2
-rw-r--r--sys/sys/pctrie.h4
-rw-r--r--sys/sys/pmc.h2
-rw-r--r--sys/sys/pmckern.h2
-rw-r--r--sys/sys/pmclog.h2
-rw-r--r--sys/sys/poll.h2
-rw-r--r--sys/sys/power.h2
-rw-r--r--sys/sys/priority.h2
-rw-r--r--sys/sys/priv.h2
-rw-r--r--sys/sys/procctl.h2
-rw-r--r--sys/sys/procdesc.h2
-rw-r--r--sys/sys/procfs.h2
-rw-r--r--sys/sys/ptio.h2
-rw-r--r--sys/sys/racct.h2
-rw-r--r--sys/sys/random.h2
-rw-r--r--sys/sys/rangelock.h2
-rw-r--r--sys/sys/rctl.h2
-rw-r--r--sys/sys/refcount.h2
-rw-r--r--sys/sys/regression.h2
-rw-r--r--sys/sys/rtprio.h2
-rw-r--r--sys/sys/runq.h2
-rw-r--r--sys/sys/rwlock.h2
-rw-r--r--sys/sys/sbuf.h2
-rw-r--r--sys/sys/sdt.h2
-rw-r--r--sys/sys/sema.h2
-rw-r--r--sys/sys/serial.h2
-rw-r--r--sys/sys/sf_buf.h2
-rw-r--r--sys/sys/shm.h2
-rw-r--r--sys/sys/sleepqueue.h2
-rw-r--r--sys/sys/slicer.h2
-rw-r--r--sys/sys/snoop.h2
-rw-r--r--sys/sys/stack.h2
-rw-r--r--sys/sys/stdatomic.h2
-rw-r--r--sys/sys/stddef.h2
-rw-r--r--sys/sys/stdint.h2
-rw-r--r--sys/sys/sx.h2
-rw-r--r--sys/sys/syscallsubr.h2
-rw-r--r--sys/sys/taskqueue.h2
-rw-r--r--sys/sys/terminal.h2
-rw-r--r--sys/sys/thr.h2
-rw-r--r--sys/sys/timeet.h2
-rw-r--r--sys/sys/timeffc.h2
-rw-r--r--sys/sys/timers.h2
-rw-r--r--sys/sys/tree.h2
-rw-r--r--sys/sys/tty.h2
-rw-r--r--sys/sys/ttydevsw.h2
-rw-r--r--sys/sys/ttydisc.h2
-rw-r--r--sys/sys/ttyhook.h2
-rw-r--r--sys/sys/ttyqueue.h2
-rw-r--r--sys/sys/turnstile.h2
-rw-r--r--sys/sys/ucontext.h2
-rw-r--r--sys/sys/umtx.h2
-rw-r--r--sys/sys/uuid.h2
-rw-r--r--sys/sys/vdso.h2
-rw-r--r--sys/sys/vmem.h2
-rw-r--r--sys/sys/watchdog.h2
157 files changed, 318 insertions, 4 deletions
diff --git a/sys/sys/_bitset.h b/sys/sys/_bitset.h
index 2f5301d58a5d..e45efdfdfdef 100644
--- a/sys/sys/_bitset.h
+++ b/sys/sys/_bitset.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/_bus_dma.h b/sys/sys/_bus_dma.h
index 91318d01c21c..c2a1730186c9 100644
--- a/sys/sys/_bus_dma.h
+++ b/sys/sys/_bus_dma.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright 2006 John-Mark Gurney.
* All rights reserved.
*
diff --git a/sys/sys/_cpuset.h b/sys/sys/_cpuset.h
index 1ddafac2c7c2..cb3c0f9d586e 100644
--- a/sys/sys/_cpuset.h
+++ b/sys/sys/_cpuset.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/_ffcounter.h b/sys/sys/_ffcounter.h
index 0d5864a7f34e..511b0a598eb7 100644
--- a/sys/sys/_ffcounter.h
+++ b/sys/sys/_ffcounter.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2011 The University of Melbourne
* All rights reserved.
*
diff --git a/sys/sys/_lock.h b/sys/sys/_lock.h
index ff5828cdbaf1..6a9e4b018067 100644
--- a/sys/sys/_lock.h
+++ b/sys/sys/_lock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/_lockmgr.h b/sys/sys/_lockmgr.h
index 0367ff1e7ba1..62e50df1ac4e 100644
--- a/sys/sys/_lockmgr.h
+++ b/sys/sys/_lockmgr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Attilio Rao <attilio@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/_mutex.h b/sys/sys/_mutex.h
index 5da137a0de4b..e37226cc8e5d 100644
--- a/sys/sys/_mutex.h
+++ b/sys/sys/_mutex.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/_null.h b/sys/sys/_null.h
index 92706c6a037a..8fa5e4246bf8 100644
--- a/sys/sys/_null.h
+++ b/sys/sys/_null.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2003 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/_pctrie.h b/sys/sys/_pctrie.h
index c6d13baa992f..d9a98a78bfb2 100644
--- a/sys/sys/_pctrie.h
+++ b/sys/sys/_pctrie.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2013 EMC Corp.
* Copyright (c) 2011 Jeffrey Roberson <jeff@freebsd.org>
* Copyright (c) 2008 Mayur Shardul <mayur.shardul@gmail.com>
diff --git a/sys/sys/_pthreadtypes.h b/sys/sys/_pthreadtypes.h
index 76049ee6d8df..fdd0878ff94c 100644
--- a/sys/sys/_pthreadtypes.h
+++ b/sys/sys/_pthreadtypes.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
* Copyright (c) 1995-1998 by John Birrell <jb@cimlogic.com.au>
* All rights reserved.
diff --git a/sys/sys/_rwlock.h b/sys/sys/_rwlock.h
index 82c911389bff..2e5583fcee9c 100644
--- a/sys/sys/_rwlock.h
+++ b/sys/sys/_rwlock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006 John Baldwin <jhb@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/_semaphore.h b/sys/sys/_semaphore.h
index 5266d044ff89..e9991439340c 100644
--- a/sys/sys/_semaphore.h
+++ b/sys/sys/_semaphore.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Alfred Perlstein <alfred@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/_stack.h b/sys/sys/_stack.h
index 96273d3c13d2..a7d440440b45 100644
--- a/sys/sys/_stack.h
+++ b/sys/sys/_stack.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005 Antoine Brodin
* All rights reserved.
*
diff --git a/sys/sys/_stdint.h b/sys/sys/_stdint.h
index a0fe0ad1fa5b..248651535f35 100644
--- a/sys/sys/_stdint.h
+++ b/sys/sys/_stdint.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2011 David E. O'Brien <obrien@FreeBSD.org>
* Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
* All rights reserved.
diff --git a/sys/sys/_sx.h b/sys/sys/_sx.h
index 789720b61514..7e53200393b3 100644
--- a/sys/sys/_sx.h
+++ b/sys/sys/_sx.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007 Attilio Rao <attilio@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index d46659f43e87..392dc874ae04 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/_timeval.h b/sys/sys/_timeval.h
index a35d8a932513..3da7a711eb19 100644
--- a/sys/sys/_timeval.h
+++ b/sys/sys/_timeval.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 3c12fb905622..461636dba4f0 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/_umtx.h b/sys/sys/_umtx.h
index d94f86b0f566..b9d10b756a0c 100644
--- a/sys/sys/_umtx.h
+++ b/sys/sys/_umtx.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010, David Xu <davidxu@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/_unrhdr.h b/sys/sys/_unrhdr.h
index f3c25d165d80..65abe5789710 100644
--- a/sys/sys/_unrhdr.h
+++ b/sys/sys/_unrhdr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2004 Poul-Henning Kamp
* All rights reserved.
*
diff --git a/sys/sys/aac_ioctl.h b/sys/sys/aac_ioctl.h
index 1c04a7c58416..2ed9530cd21b 100644
--- a/sys/sys/aac_ioctl.h
+++ b/sys/sys/aac_ioctl.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 Michael Smith
* Copyright (c) 2000 Scott Long
* Copyright (c) 2000 BSDi
diff --git a/sys/sys/acl.h b/sys/sys/acl.h
index 9806a54a3072..196447a6d9cb 100644
--- a/sys/sys/acl.h
+++ b/sys/sys/acl.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999-2001 Robert N. M. Watson
* Copyright (c) 2008 Edward Tomasz Napierała <trasz@FreeBSD.org>
* All rights reserved.
diff --git a/sys/sys/agpio.h b/sys/sys/agpio.h
index 78a2ade96d76..69b91462f39b 100644
--- a/sys/sys/agpio.h
+++ b/sys/sys/agpio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/aio.h b/sys/sys/aio.h
index 520254eaf0b0..a85958e03db6 100644
--- a/sys/sys/aio.h
+++ b/sys/sys/aio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997 John S. Dyson. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/alq.h b/sys/sys/alq.h
index 4a502d29684e..536fa2077357 100644
--- a/sys/sys/alq.h
+++ b/sys/sys/alq.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
* Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
* Copyright (c) 2008-2009, Lawrence Stewart <lstewart@freebsd.org>
* Copyright (c) 2010, The FreeBSD Foundation
diff --git a/sys/sys/assym.h b/sys/sys/assym.h
index 9316a4e4996c..0ef1286bccb6 100644
--- a/sys/sys/assym.h
+++ b/sys/sys/assym.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/ata.h b/sys/sys/ata.h
index 4d3b3e7fecfb..f8a332c34afa 100644
--- a/sys/sys/ata.h
+++ b/sys/sys/ata.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 - 2008 Søren Schmidt <sos@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/bitset.h b/sys/sys/bitset.h
index 566d94484207..febc18143c23 100644
--- a/sys/sys/bitset.h
+++ b/sys/sys/bitset.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/boot.h b/sys/sys/boot.h
index 4a2fa930935e..ef4270dac6f5 100644
--- a/sys/sys/boot.h
+++ b/sys/sys/boot.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2014 Roger Pau Monné <roger.pau@citrix.com>
* All rights reserved.
*
diff --git a/sys/sys/buf_ring.h b/sys/sys/buf_ring.h
index fcffc17ad462..e83272bfb871 100644
--- a/sys/sys/buf_ring.h
+++ b/sys/sys/buf_ring.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007-2009 Kip Macy <kmacy@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/bufobj.h b/sys/sys/bufobj.h
index 2dc440a6398e..fb3f0873c1bd 100644
--- a/sys/sys/bufobj.h
+++ b/sys/sys/bufobj.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2004 Poul-Henning Kamp
* All rights reserved.
*
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 34644c24aa98..973f284a790e 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997,1998,2003 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/bus_dma.h b/sys/sys/bus_dma.h
index 04dbe0cb5969..c5799661585b 100644
--- a/sys/sys/bus_dma.h
+++ b/sys/sys/bus_dma.h
@@ -1,6 +1,8 @@
/* $NetBSD: bus.h,v 1.12 1997/10/01 08:25:15 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-NetBSD
+ *
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
diff --git a/sys/sys/busdma_bufalloc.h b/sys/sys/busdma_bufalloc.h
index 13291a6bf914..71983c25807b 100644
--- a/sys/sys/busdma_bufalloc.h
+++ b/sys/sys/busdma_bufalloc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 Ian Lepore
* All rights reserved.
*
diff --git a/sys/sys/capability.h b/sys/sys/capability.h
index 3bdaf203183f..4b07c090e405 100644
--- a/sys/sys/capability.h
+++ b/sys/sys/capability.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2014 Robert N. M. Watson
* All rights reserved.
*
diff --git a/sys/sys/caprights.h b/sys/sys/caprights.h
index eb8e454f1de9..8698483ce22c 100644
--- a/sys/sys/caprights.h
+++ b/sys/sys/caprights.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2013 FreeBSD Foundation
* All rights reserved.
*
diff --git a/sys/sys/cdrio.h b/sys/sys/cdrio.h
index 0f8677220503..f8af2fde5cb5 100644
--- a/sys/sys/cdrio.h
+++ b/sys/sys/cdrio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/chio.h b/sys/sys/chio.h
index edf1ab7a0e4d..47a5a941d838 100644
--- a/sys/sys/chio.h
+++ b/sys/sys/chio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com>
* All rights reserved.
*
diff --git a/sys/sys/clock.h b/sys/sys/clock.h
index a5e625a81422..5c09ba824461 100644
--- a/sys/sys/clock.h
+++ b/sys/sys/clock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1996 The NetBSD Foundation, Inc.
* All rights reserved.
*
diff --git a/sys/sys/condvar.h b/sys/sys/condvar.h
index f940a7504a80..e1a890334afa 100644
--- a/sys/sys/condvar.h
+++ b/sys/sys/condvar.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 Jake Burkholder <jake@freebsd.org>.
* All rights reserved.
*
diff --git a/sys/sys/consio.h b/sys/sys/consio.h
index 6e5b557c8a23..5dfedc4bd9f2 100644
--- a/sys/sys/consio.h
+++ b/sys/sys/consio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991-1996 Søren Schmidt
* All rights reserved.
*
diff --git a/sys/sys/copyright.h b/sys/sys/copyright.h
index f0ecdda337c6..11831be6e444 100644
--- a/sys/sys/copyright.h
+++ b/sys/sys/copyright.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (C) 1992-2017 The FreeBSD Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/counter.h b/sys/sys/counter.h
index 5046d41d5f3a..418141a55867 100644
--- a/sys/sys/counter.h
+++ b/sys/sys/counter.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 Gleb Smirnoff <glebius@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/cpu.h b/sys/sys/cpu.h
index f159e376bba1..b3b745ab7deb 100644
--- a/sys/sys/cpu.h
+++ b/sys/sys/cpu.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005-2007 Nate Lawson (SDG)
* All rights reserved.
*
diff --git a/sys/sys/cpuctl.h b/sys/sys/cpuctl.h
index 30af52405c66..70212eb3a851 100644
--- a/sys/sys/cpuctl.h
+++ b/sys/sys/cpuctl.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006-2008 Stanislav Sedov <stas@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/cpuset.h b/sys/sys/cpuset.h
index 783347750d15..6ae989bbbe12 100644
--- a/sys/sys/cpuset.h
+++ b/sys/sys/cpuset.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index bce0570401ca..360c5b97c463 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1997, 1998, 1999 Kenneth D. Merry.
* All rights reserved.
*
diff --git a/sys/sys/digiio.h b/sys/sys/digiio.h
index 57824dcd19a5..8477df8e8396 100644
--- a/sys/sys/digiio.h
+++ b/sys/sys/digiio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
* based on work by Slawa Olhovchenkov
* John Prince <johnp@knight-trosoft.com>
diff --git a/sys/sys/dtrace_bsd.h b/sys/sys/dtrace_bsd.h
index f46b900e1608..7c776254aa34 100644
--- a/sys/sys/dtrace_bsd.h
+++ b/sys/sys/dtrace_bsd.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007-2008 John Birrell (jb@freebsd.org)
* All rights reserved.
*
diff --git a/sys/sys/dvdio.h b/sys/sys/dvdio.h
index 71e4d96c1d7f..6d6f2f53bc1f 100644
--- a/sys/sys/dvdio.h
+++ b/sys/sys/dvdio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999,2000,2001,2002 Søren Schmidt <sos@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/elf.h b/sys/sys/elf.h
index b2d6b77c98e2..f9bc91b30640 100644
--- a/sys/sys/elf.h
+++ b/sys/sys/elf.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 David E. O'Brien.
* All rights reserved.
*
diff --git a/sys/sys/elf32.h b/sys/sys/elf32.h
index 0aa3142ed119..ad44b7cf970a 100644
--- a/sys/sys/elf32.h
+++ b/sys/sys/elf32.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1996-1998 John D. Polstra.
* All rights reserved.
*
diff --git a/sys/sys/elf64.h b/sys/sys/elf64.h
index a309dfc6843e..880166a3e83a 100644
--- a/sys/sys/elf64.h
+++ b/sys/sys/elf64.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1996-1998 John D. Polstra.
* All rights reserved.
*
diff --git a/sys/sys/elf_common.h b/sys/sys/elf_common.h
index 8634e0a9d5db..b8bda8bc1bd5 100644
--- a/sys/sys/elf_common.h
+++ b/sys/sys/elf_common.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2017 Dell EMC
* Copyright (c) 2000, 2001, 2008, 2011, David E. O'Brien
* Copyright (c) 1998 John D. Polstra.
diff --git a/sys/sys/elf_generic.h b/sys/sys/elf_generic.h
index 5ff5242efcb2..301ee52cf7a1 100644
--- a/sys/sys/elf_generic.h
+++ b/sys/sys/elf_generic.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1998 John D. Polstra.
* All rights reserved.
*
diff --git a/sys/sys/endian.h b/sys/sys/endian.h
index d50110cabc5d..3cef6130cd15 100644
--- a/sys/sys/endian.h
+++ b/sys/sys/endian.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Thomas Moestl <tmm@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/eui64.h b/sys/sys/eui64.h
index 33300a779d3b..163a5bdd5198 100644
--- a/sys/sys/eui64.h
+++ b/sys/sys/eui64.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright 2004 The Aerospace Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 5fced00d00b4..2817be20aaed 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h
index 3157b89306fc..cc4237521d9d 100644
--- a/sys/sys/eventhandler.h
+++ b/sys/sys/eventhandler.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999 Michael Smith <msmith@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/eventvar.h b/sys/sys/eventvar.h
index 4721e614f421..1ed6e9fc4b6b 100644
--- a/sys/sys/eventvar.h
+++ b/sys/sys/eventvar.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999,2000 Jonathan Lemon <jlemon@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/extattr.h b/sys/sys/extattr.h
index 2b358c92d740..f24995b80c54 100644
--- a/sys/sys/extattr.h
+++ b/sys/sys/extattr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999-2001 Robert N. M. Watson
* All rights reserved.
*
diff --git a/sys/sys/fail.h b/sys/sys/fail.h
index bd2eab1d4aa2..b9a14e56281a 100644
--- a/sys/sys/fail.h
+++ b/sys/sys/fail.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2009 Isilon Inc http://www.isilon.com/
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/fdcio.h b/sys/sys/fdcio.h
index 4a497f502c60..f041a6a8a8e3 100644
--- a/sys/sys/fdcio.h
+++ b/sys/sys/fdcio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (C) 1992-1994,2001 by Joerg Wunsch, Dresden
* All rights reserved.
*
diff --git a/sys/sys/firmware.h b/sys/sys/firmware.h
index ce02831a589f..8a9b2cf23bd7 100644
--- a/sys/sys/firmware.h
+++ b/sys/sys/firmware.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005, Sam Leffler <sam@errno.com>
* All rights reserved.
*
diff --git a/sys/sys/gpio.h b/sys/sys/gpio.h
index dbe55872fe03..0d8c3eb5b1d1 100644
--- a/sys/sys/gpio.h
+++ b/sys/sys/gpio.h
@@ -1,6 +1,8 @@
/* $NetBSD: gpio.h,v 1.7 2009/09/25 20:27:50 mbalmer Exp $ */
/* $OpenBSD: gpio.h,v 1.7 2008/11/26 14:51:20 mbalmer Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD AND MIT
+ *
* Copyright (c) 2009, Oleksandr Tymoshenko <gonzo@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/gpt.h b/sys/sys/gpt.h
index 1f9faac055f6..4e543063754c 100644
--- a/sys/sys/gpt.h
+++ b/sys/sys/gpt.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/hash.h b/sys/sys/hash.h
index 8abf17bb3683..35e76ec758cb 100644
--- a/sys/sys/hash.h
+++ b/sys/sys/hash.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Tobias Weingartner
* All rights reserved.
*
diff --git a/sys/sys/hhook.h b/sys/sys/hhook.h
index 1d60dd3b401e..76c827e66939 100644
--- a/sys/sys/hhook.h
+++ b/sys/sys/hhook.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010,2013 Lawrence Stewart <lstewart@freebsd.org>
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/iconv.h b/sys/sys/iconv.h
index 44a03e96144c..ba9b0e9dd9c8 100644
--- a/sys/sys/iconv.h
+++ b/sys/sys/iconv.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000-2001 Boris Popov
* All rights reserved.
*
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h
index 40ad7c72ef3f..0ce5b08845d3 100644
--- a/sys/sys/imgact_elf.h
+++ b/sys/sys/imgact_elf.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1995-1996 Søren Schmidt
* All rights reserved.
*
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index 44b769f2e064..7c9aad4d549d 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997, Stefan Esser <se@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/ipmi.h b/sys/sys/ipmi.h
index e54010a61108..e5b962725287 100644
--- a/sys/sys/ipmi.h
+++ b/sys/sys/ipmi.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006 IronPort Systems Inc. <ambrisko@ironport.com>
* All rights reserved.
*
diff --git a/sys/sys/jail.h b/sys/sys/jail.h
index 91c694f2fba7..f1564b6e99f1 100644
--- a/sys/sys/jail.h
+++ b/sys/sys/jail.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999 Poul-Henning Kamp.
* Copyright (c) 2009 James Gritton.
* All rights reserved.
diff --git a/sys/sys/joystick.h b/sys/sys/joystick.h
index 6f2eb5bc2829..60a89dce38c3 100644
--- a/sys/sys/joystick.h
+++ b/sys/sys/joystick.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1995 Jean-Marc Zucconi
* All rights reserved.
*
diff --git a/sys/sys/kdb.h b/sys/sys/kdb.h
index 1e68c3982850..d84b8b9956ff 100644
--- a/sys/sys/kdb.h
+++ b/sys/sys/kdb.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2004 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/kenv.h b/sys/sys/kenv.h
index 0a30ddb35d16..fd1ae31f6a95 100644
--- a/sys/sys/kenv.h
+++ b/sys/sys/kenv.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Maxime Henrion <mux@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/kerneldump.h b/sys/sys/kerneldump.h
index 864640ae5ff1..607b6848c80f 100644
--- a/sys/sys/kerneldump.h
+++ b/sys/sys/kerneldump.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2002 Poul-Henning Kamp
* Copyright (c) 2002 Networks Associates Technology, Inc.
* All rights reserved.
diff --git a/sys/sys/khelp.h b/sys/sys/khelp.h
index f542b1487d4a..54c4791d3be9 100644
--- a/sys/sys/khelp.h
+++ b/sys/sys/khelp.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010 Lawrence Stewart <lstewart@freebsd.org>
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/kobj.h b/sys/sys/kobj.h
index 862e79f0e238..5f8b2bb07be3 100644
--- a/sys/sys/kobj.h
+++ b/sys/sys/kobj.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000,2003 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/ksem.h b/sys/sys/ksem.h
index be4a90ea62c4..4776901fd7b1 100644
--- a/sys/sys/ksem.h
+++ b/sys/sys/ksem.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Alfred Perlstein <alfred@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/kthread.h b/sys/sys/kthread.h
index b6304f52f1f0..e6f1fa41a988 100644
--- a/sys/sys/kthread.h
+++ b/sys/sys/kthread.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999 Peter Wemm <peter@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ktr.h b/sys/sys/ktr.h
index 07d7c45b5c9f..d9bd2bf6e089 100644
--- a/sys/sys/ktr.h
+++ b/sys/sys/ktr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1996 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/ktr_class.h b/sys/sys/ktr_class.h
index 4bfc895b71a5..9190ce27bb8b 100644
--- a/sys/sys/ktr_class.h
+++ b/sys/sys/ktr_class.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1996 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/link_aout.h b/sys/sys/link_aout.h
index 6695c268c842..2e4f3862c747 100644
--- a/sys/sys/link_aout.h
+++ b/sys/sys/link_aout.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1993 Paul Kranenburg
* All rights reserved.
*
diff --git a/sys/sys/link_elf.h b/sys/sys/link_elf.h
index c228f1d273d5..bd544752bea8 100644
--- a/sys/sys/link_elf.h
+++ b/sys/sys/link_elf.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1993 Paul Kranenburg
* All rights reserved.
*
diff --git a/sys/sys/linker.h b/sys/sys/linker.h
index 96fc78654dc8..4a4eeea7ea47 100644
--- a/sys/sys/linker.h
+++ b/sys/sys/linker.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997-2000 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/linker_set.h b/sys/sys/linker_set.h
index 3488f9cf4801..01d0bff98410 100644
--- a/sys/sys/linker_set.h
+++ b/sys/sys/linker_set.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999 John D. Polstra
* Copyright (c) 1999,2001 Peter Wemm <peter@FreeBSD.org>
* All rights reserved.
diff --git a/sys/sys/lock.h b/sys/sys/lock.h
index efb30538f8ab..27c850d44029 100644
--- a/sys/sys/lock.h
+++ b/sys/sys/lock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/lock_profile.h b/sys/sys/lock_profile.h
index bf73ca14d62a..7c7edee4af0a 100644
--- a/sys/sys/lock_profile.h
+++ b/sys/sys/lock_profile.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006 Kip Macy kmacy@FreeBSD.org
* Copyright (c) 2006 Kris Kennaway kris@FreeBSD.org
* Copyright (c) 2006 Dag-Erling Smorgrav des@des.no
diff --git a/sys/sys/lockmgr.h b/sys/sys/lockmgr.h
index 6074922891d9..03ae6f9e4aca 100644
--- a/sys/sys/lockmgr.h
+++ b/sys/sys/lockmgr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Attilio Rao <attilio@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/lockstat.h b/sys/sys/lockstat.h
index 64745052974b..50747e89ccf4 100644
--- a/sys/sys/lockstat.h
+++ b/sys/sys/lockstat.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008-2009 Stacey Son <sson@FreeBSD.org>
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/loginclass.h b/sys/sys/loginclass.h
index 6783123a56ba..9bc14766cf26 100644
--- a/sys/sys/loginclass.h
+++ b/sys/sys/loginclass.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2011 The FreeBSD Foundation
* All rights reserved.
*
diff --git a/sys/sys/mac.h b/sys/sys/mac.h
index 0aa896087406..bc12cb753083 100644
--- a/sys/sys/mac.h
+++ b/sys/sys/mac.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999-2002 Robert N. M. Watson
* Copyright (c) 2001-2005 Networks Associates Technology, Inc.
* Copyright (c) 2005-2006 SPARTA, Inc.
diff --git a/sys/sys/mchain.h b/sys/sys/mchain.h
index b89cbfdfffe4..28391d749472 100644
--- a/sys/sys/mchain.h
+++ b/sys/sys/mchain.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000, 2001 Boris Popov
* All rights reserved.
*
diff --git a/sys/sys/memdesc.h b/sys/sys/memdesc.h
index 8e9f7dd66d5b..8a128fd7f519 100644
--- a/sys/sys/memdesc.h
+++ b/sys/sys/memdesc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 EMC Corp.
* All rights reserved.
*
diff --git a/sys/sys/module.h b/sys/sys/module.h
index 754716114ac0..eb8b03d83ba7 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/module_khelp.h b/sys/sys/module_khelp.h
index 371e4c3170f8..a66440277a41 100644
--- a/sys/sys/module_khelp.h
+++ b/sys/sys/module_khelp.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010 Lawrence Stewart <lstewart@freebsd.org>
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/mqueue.h b/sys/sys/mqueue.h
index 36e89fa21e34..ca9fd13cca76 100644
--- a/sys/sys/mqueue.h
+++ b/sys/sys/mqueue.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005 David Xu <davidxu@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/msg.h b/sys/sys/msg.h
index c2bb2d254408..36a5c8d8277f 100644
--- a/sys/sys/msg.h
+++ b/sys/sys/msg.h
@@ -4,6 +4,8 @@
/*-
* SVID compatible msg.h file
*
+ * SPDX-License-Identifier: MIT
+ *
* Author: Daniel Boulet
*
* Copyright 1993 Daniel Boulet and RTMX Inc.
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h
index 5e19407f85ca..805df8adc40a 100644
--- a/sys/sys/mutex.h
+++ b/sys/sys/mutex.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/osd.h b/sys/sys/osd.h
index c838e97d7ebd..a9824184c579 100644
--- a/sys/sys/osd.h
+++ b/sys/sys/osd.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007 Pawel Jakub Dawidek <pjd@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/pciio.h b/sys/sys/pciio.h
index d70bfbcf6fc8..80d2019b7967 100644
--- a/sys/sys/pciio.h
+++ b/sys/sys/pciio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1997, Stefan Esser <se@FreeBSD.ORG>
* Copyright (c) 1997, 1998, 1999, Kenneth D. Merry <ken@FreeBSD.ORG>
* All rights reserved.
diff --git a/sys/sys/pctrie.h b/sys/sys/pctrie.h
index 1fd0b34dceb6..88d5d2583e40 100644
--- a/sys/sys/pctrie.h
+++ b/sys/sys/pctrie.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2013 EMC Corp.
* Copyright (c) 2011 Jeffrey Roberson <jeff@freebsd.org>
* Copyright (c) 2008 Mayur Shardul <mayur.shardul@gmail.com>
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
index 4815742fbce8..c93b3792ff16 100644
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2003-2008, Joseph Koshy
* Copyright (c) 2007 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/pmckern.h b/sys/sys/pmckern.h
index dd197fd87481..986fbb2b5cc2 100644
--- a/sys/sys/pmckern.h
+++ b/sys/sys/pmckern.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2003-2007, Joseph Koshy
* Copyright (c) 2007 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/pmclog.h b/sys/sys/pmclog.h
index a6bbf0b98dc3..b2f89de3ae77 100644
--- a/sys/sys/pmclog.h
+++ b/sys/sys/pmclog.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005-2007, Joseph Koshy
* Copyright (c) 2007 The FreeBSD Foundation
* All rights reserved.
diff --git a/sys/sys/poll.h b/sys/sys/poll.h
index ca3ce12873c6..6805704ca39f 100644
--- a/sys/sys/poll.h
+++ b/sys/sys/poll.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1997 Peter Wemm <peter@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/power.h b/sys/sys/power.h
index 62784b2e49d3..3fcc2c387d61 100644
--- a/sys/sys/power.h
+++ b/sys/sys/power.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Mitsuru IWASAKI
* All rights reserved.
*
diff --git a/sys/sys/priority.h b/sys/sys/priority.h
index a2cd3b7248e2..60327cf20293 100644
--- a/sys/sys/priority.h
+++ b/sys/sys/priority.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994, Henrik Vestergaard Draboel
* All rights reserved.
*
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index 828c19f25efb..3dc54d91e7cb 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006 nCircle Network Security, Inc.
* All rights reserved.
*
diff --git a/sys/sys/procctl.h b/sys/sys/procctl.h
index 8c938c5d70aa..17144e9f0c68 100644
--- a/sys/sys/procctl.h
+++ b/sys/sys/procctl.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2013 Hudson River Trading LLC
* Copyright (c) 2014, 2016 The FreeBSD Foundation
* Written by: John H. Baldwin <jhb@FreeBSD.org>
diff --git a/sys/sys/procdesc.h b/sys/sys/procdesc.h
index a9bad27361b2..b307917c5479 100644
--- a/sys/sys/procdesc.h
+++ b/sys/sys/procdesc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2009 Robert N. M. Watson
* All rights reserved.
*
diff --git a/sys/sys/procfs.h b/sys/sys/procfs.h
index 5f857ef66713..85e718b20c35 100644
--- a/sys/sys/procfs.h
+++ b/sys/sys/procfs.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1998 John D. Polstra.
* All rights reserved.
*
diff --git a/sys/sys/ptio.h b/sys/sys/ptio.h
index 1292280528d3..1c5aad22197b 100644
--- a/sys/sys/ptio.h
+++ b/sys/sys/ptio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 1999 Kenneth D. Merry.
* All rights reserved.
*
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 9b8143f2a7cb..ec3322bdfdf9 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
diff --git a/sys/sys/random.h b/sys/sys/random.h
index 9d4a9fb097f7..9e03e5ef6527 100644
--- a/sys/sys/random.h
+++ b/sys/sys/random.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000-2015, 2017 Mark R. V. Murray
* All rights reserved.
*
diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h
index 2a904c098d82..732bd9406d48 100644
--- a/sys/sys/rangelock.h
+++ b/sys/sys/rangelock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2009 Konstantin Belousov <kib@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/rctl.h b/sys/sys/rctl.h
index b9e6cd6d17f7..5d01ff03e7d9 100644
--- a/sys/sys/rctl.h
+++ b/sys/sys/rctl.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
diff --git a/sys/sys/refcount.h b/sys/sys/refcount.h
index 7e6e977a969c..b63e40609b66 100644
--- a/sys/sys/refcount.h
+++ b/sys/sys/refcount.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005 John Baldwin <jhb@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/regression.h b/sys/sys/regression.h
index 8ee757ed170a..1ce711faa35f 100644
--- a/sys/sys/regression.h
+++ b/sys/sys/regression.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Robert N. M. Watson
* All rights reserved.
*
diff --git a/sys/sys/rtprio.h b/sys/sys/rtprio.h
index 7ffdb732b61a..529156030742 100644
--- a/sys/sys/rtprio.h
+++ b/sys/sys/rtprio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994, Henrik Vestergaard Draboel
* All rights reserved.
*
diff --git a/sys/sys/runq.h b/sys/sys/runq.h
index 50c00eb69442..0e3113b1102f 100644
--- a/sys/sys/runq.h
+++ b/sys/sys/runq.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Jake Burkholder <jake@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/rwlock.h b/sys/sys/rwlock.h
index 2bf31ec6d021..43bbc68cf131 100644
--- a/sys/sys/rwlock.h
+++ b/sys/sys/rwlock.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2006 John Baldwin <jhb@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/sbuf.h b/sys/sys/sbuf.h
index d0f908be7b6b..8e958cbefe9a 100644
--- a/sys/sys/sbuf.h
+++ b/sys/sys/sbuf.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000-2008 Poul-Henning Kamp
* Copyright (c) 2000-2008 Dag-Erling Coïdan Smørgrav
* All rights reserved.
diff --git a/sys/sys/sdt.h b/sys/sys/sdt.h
index 6771bf9f1177..424a0e3a0ded 100644
--- a/sys/sys/sdt.h
+++ b/sys/sys/sdt.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright 2006-2008 John Birrell <jb@FreeBSD.org>
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/sema.h b/sys/sys/sema.h
index cdce5982311c..3b91c921c46a 100644
--- a/sys/sys/sema.h
+++ b/sys/sys/sema.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (C) 2001 Jason Evans <jasone@freebsd.org>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/serial.h b/sys/sys/serial.h
index 1a149a96252f..3293ebdab931 100644
--- a/sys/sys/serial.h
+++ b/sys/sys/serial.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2004 Poul-Henning Kamp
* All rights reserved.
*
diff --git a/sys/sys/sf_buf.h b/sys/sys/sf_buf.h
index 6aebe430ab69..08f1d9d7af0b 100644
--- a/sys/sys/sf_buf.h
+++ b/sys/sys/sf_buf.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2014 Gleb Smirnoff <glebius@FreeBSD.org>
* Copyright (c) 2003-2004 Alan L. Cox <alc@cs.rice.edu>
* All rights reserved.
diff --git a/sys/sys/shm.h b/sys/sys/shm.h
index 8a2490c69686..1be95a24432e 100644
--- a/sys/sys/shm.h
+++ b/sys/sys/shm.h
@@ -2,6 +2,8 @@
/* $NetBSD: shm.h,v 1.15 1994/06/29 06:45:17 cgd Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 1994 Adam Glass
* All rights reserved.
*
diff --git a/sys/sys/sleepqueue.h b/sys/sys/sleepqueue.h
index 30a18933d60b..07530e3bd789 100644
--- a/sys/sys/sleepqueue.h
+++ b/sys/sys/sleepqueue.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2004 John Baldwin <jhb@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/slicer.h b/sys/sys/slicer.h
index 53f680d84ced..1565ecceb36d 100644
--- a/sys/sys/slicer.h
+++ b/sys/sys/slicer.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2012 Semihalf.
* All rights reserved.
*
diff --git a/sys/sys/snoop.h b/sys/sys/snoop.h
index b25aa494ff8e..483cccf43b34 100644
--- a/sys/sys/snoop.h
+++ b/sys/sys/snoop.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: MIT
+ *
* Copyright (c) 1995 Ugen J.S.Antsilevich
*
* Redistribution and use in source forms, with and without modification,
diff --git a/sys/sys/stack.h b/sys/sys/stack.h
index 113269b1a966..150641e2327f 100644
--- a/sys/sys/stack.h
+++ b/sys/sys/stack.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2005 Antoine Brodin
* All rights reserved.
*
diff --git a/sys/sys/stdatomic.h b/sys/sys/stdatomic.h
index 0a6ae4677bdd..94b69befb7b8 100644
--- a/sys/sys/stdatomic.h
+++ b/sys/sys/stdatomic.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2011 Ed Schouten <ed@FreeBSD.org>
* David Chisnall <theraven@FreeBSD.org>
* All rights reserved.
diff --git a/sys/sys/stddef.h b/sys/sys/stddef.h
index 15817444aef4..eeff767bbf20 100644
--- a/sys/sys/stddef.h
+++ b/sys/sys/stddef.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Maxime Henrion <mux@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/stdint.h b/sys/sys/stdint.h
index e3d696bf5c23..e951ac3c5df8 100644
--- a/sys/sys/stdint.h
+++ b/sys/sys/stdint.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/sx.h b/sys/sys/sx.h
index 3550ce664af0..209905136d80 100644
--- a/sys/sys/sx.h
+++ b/sys/sys/sx.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2007 Attilio Rao <attilio@freebsd.org>
* Copyright (c) 2001 Jason Evans <jasone@freebsd.org>
* All rights reserved.
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index c994ee94f829..c97b27f1193a 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Ian Dowse. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h
index b5091d32535c..7ba9e268e0ff 100644
--- a/sys/sys/taskqueue.h
+++ b/sys/sys/taskqueue.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2000 Doug Rabson
* All rights reserved.
*
diff --git a/sys/sys/terminal.h b/sys/sys/terminal.h
index 6528558a8608..c69f00b05af1 100644
--- a/sys/sys/terminal.h
+++ b/sys/sys/terminal.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2009 The FreeBSD Foundation
* All rights reserved.
*
diff --git a/sys/sys/thr.h b/sys/sys/thr.h
index 7ccc8724ffbb..c00b8b25a9f4 100644
--- a/sys/sys/thr.h
+++ b/sys/sys/thr.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2003, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/timeet.h b/sys/sys/timeet.h
index 3d50e51dafc2..dc43337d176a 100644
--- a/sys/sys/timeet.h
+++ b/sys/sys/timeet.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2010-2013 Alexander Motin <mav@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/timeffc.h b/sys/sys/timeffc.h
index 3bda5d40b72d..493a212b3f96 100644
--- a/sys/sys/timeffc.h
+++ b/sys/sys/timeffc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2011 The University of Melbourne
* All rights reserved.
*
diff --git a/sys/sys/timers.h b/sys/sys/timers.h
index 3ef079c7318a..01956bd3caaa 100644
--- a/sys/sys/timers.h
+++ b/sys/sys/timers.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-4-Clause
+ *
* Copyright (c) 2005 David Xu <davidxu@freebsd.org>
* Copyright (c) 1994 by Chris Provenzano, proven@mit.edu
* All rights reserved.
diff --git a/sys/sys/tree.h b/sys/sys/tree.h
index c9df686fbb13..539afb42b90d 100644
--- a/sys/sys/tree.h
+++ b/sys/sys/tree.h
@@ -3,6 +3,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
*
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index c37d0bf3d073..92ad89a6b79f 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ttydevsw.h b/sys/sys/ttydevsw.h
index 98bebca724dd..b189335c5e9d 100644
--- a/sys/sys/ttydevsw.h
+++ b/sys/sys/ttydevsw.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ttydisc.h b/sys/sys/ttydisc.h
index 74a1a0ed927e..2ab0c05c91b2 100644
--- a/sys/sys/ttydisc.h
+++ b/sys/sys/ttydisc.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ttyhook.h b/sys/sys/ttyhook.h
index 2a6d0887acb8..0697a4886843 100644
--- a/sys/sys/ttyhook.h
+++ b/sys/sys/ttyhook.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ttyqueue.h b/sys/sys/ttyqueue.h
index c8d85d6280d5..c1ddaa42b41b 100644
--- a/sys/sys/ttyqueue.h
+++ b/sys/sys/ttyqueue.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/turnstile.h b/sys/sys/turnstile.h
index 072561d44e92..5d29fd9bc8b2 100644
--- a/sys/sys/turnstile.h
+++ b/sys/sys/turnstile.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 John Baldwin <jhb@FreeBSD.org>
* All rights reserved.
*
diff --git a/sys/sys/ucontext.h b/sys/sys/ucontext.h
index 260c15751d2d..1a1f7b7ccbdb 100644
--- a/sys/sys/ucontext.h
+++ b/sys/sys/ucontext.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1999 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/umtx.h b/sys/sys/umtx.h
index dfd6be54000c..a99b1b83c4bb 100644
--- a/sys/sys/umtx.h
+++ b/sys/sys/umtx.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
* All rights reserved.
*
diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h
index 97971fd79112..e60af2180f14 100644
--- a/sys/sys/uuid.h
+++ b/sys/sys/uuid.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2002 Marcel Moolenaar
* All rights reserved.
*
diff --git a/sys/sys/vdso.h b/sys/sys/vdso.h
index 25c5e6695eea..b645e5356c84 100644
--- a/sys/sys/vdso.h
+++ b/sys/sys/vdso.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright 2012 Konstantin Belousov <kib@FreeBSD.ORG>.
* All rights reserved.
*
diff --git a/sys/sys/vmem.h b/sys/sys/vmem.h
index f6b960a58518..ca8426733e3b 100644
--- a/sys/sys/vmem.h
+++ b/sys/sys/vmem.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c)2006 YAMAMOTO Takashi,
* All rights reserved.
*
diff --git a/sys/sys/watchdog.h b/sys/sys/watchdog.h
index 92c47dee75f6..1b85ce7a83ed 100644
--- a/sys/sys/watchdog.h
+++ b/sys/sys/watchdog.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
* Copyright (c) 2003 Poul-Henning Kamp
* Copyright (c) 2013 iXsystems.com,
* author: Alfred Perlstein <alfred@freebsd.org>