aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:45:28 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-11-20 19:45:28 +0000
commit2321c474185e657ad1bdb4ef0a323cb10ba09cfc (patch)
tree8f649711cd86508b73a636d3681dde8c0a2f442a
parent51369649b03ece2aed3eb61b0c8214b9aa5b2fa2 (diff)
downloadsrc-2321c474185e657ad1bdb4ef0a323cb10ba09cfc.tar.gz
src-2321c474185e657ad1bdb4ef0a323cb10ba09cfc.zip
include: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
Notes
Notes: svn path=/head/; revision=326024
-rw-r--r--include/_ctype.h4
-rw-r--r--include/a.out.h2
-rw-r--r--include/ar.h2
-rw-r--r--include/arpa/ftp.h4
-rw-r--r--include/arpa/inet.h4
-rw-r--r--include/arpa/nameser.h4
-rw-r--r--include/arpa/nameser_compat.h5
-rw-r--r--include/arpa/telnet.h4
-rw-r--r--include/arpa/tftp.h4
-rw-r--r--include/assert.h2
-rw-r--r--include/ctype.h4
-rw-r--r--include/db.h2
-rw-r--r--include/dirent.h2
-rw-r--r--include/dlfcn.h2
-rw-r--r--include/err.h2
-rw-r--r--include/fnmatch.h2
-rw-r--r--include/fstab.h4
-rw-r--r--include/fts.h4
-rw-r--r--include/glob.h4
-rw-r--r--include/grp.h2
-rw-r--r--include/limits.h2
-rw-r--r--include/locale.h4
-rw-r--r--include/memory.h4
-rw-r--r--include/mpool.h2
-rw-r--r--include/ndbm.h2
-rw-r--r--include/netdb.h2
-rw-r--r--include/nlist.h2
-rw-r--r--include/paths.h4
-rw-r--r--include/protocols/dumprestore.h4
-rw-r--r--include/protocols/routed.h2
-rw-r--r--include/protocols/rwhod.h4
-rw-r--r--include/protocols/talkd.h4
-rw-r--r--include/protocols/timed.h4
-rw-r--r--include/pthread_np.h4
-rw-r--r--include/pwd.h2
-rw-r--r--include/ranlib.h2
-rw-r--r--include/regex.h2
-rw-r--r--include/resolv.h4
-rw-r--r--include/rpc/auth.h2
-rw-r--r--include/rpc/auth_des.h2
-rw-r--r--include/rpc/auth_kerb.h2
-rw-r--r--include/rpc/auth_unix.h2
-rw-r--r--include/rpc/clnt.h2
-rw-r--r--include/rpc/clnt_soc.h2
-rw-r--r--include/rpc/des.h2
-rw-r--r--include/rpc/des_crypt.h2
-rw-r--r--include/rpc/nettype.h2
-rw-r--r--include/rpc/pmap_clnt.h2
-rw-r--r--include/rpc/pmap_prot.h2
-rw-r--r--include/rpc/pmap_rmt.h2
-rw-r--r--include/rpc/raw.h2
-rw-r--r--include/rpc/rpc.h2
-rw-r--r--include/rpc/rpc_com.h2
-rw-r--r--include/rpc/rpc_msg.h2
-rw-r--r--include/rpc/rpcb_clnt.h2
-rw-r--r--include/rpc/rpcent.h2
-rw-r--r--include/rpc/svc.h2
-rw-r--r--include/rpc/svc_auth.h2
-rw-r--r--include/rpc/svc_dg.h2
-rw-r--r--include/rpc/svc_soc.h2
-rw-r--r--include/rpc/xdr.h2
-rw-r--r--include/rpcsvc/nis_tags.h2
-rw-r--r--include/runetype.h2
-rw-r--r--include/setjmp.h2
-rw-r--r--include/signal.h2
-rw-r--r--include/stab.h2
-rw-r--r--include/stddef.h2
-rw-r--r--include/stdio.h2
-rw-r--r--include/stdlib.h2
-rw-r--r--include/string.h2
-rw-r--r--include/sysexits.h4
-rw-r--r--include/tar.h2
-rw-r--r--include/termios.h2
-rw-r--r--include/time.h4
-rw-r--r--include/timeconv.h4
-rw-r--r--include/ttyent.h4
-rw-r--r--include/unistd.h2
-rw-r--r--include/utime.h2
78 files changed, 181 insertions, 24 deletions
diff --git a/include/_ctype.h b/include/_ctype.h
index 8a43409e0aa0..96fbaeba00d6 100644
--- a/include/_ctype.h
+++ b/include/_ctype.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/a.out.h b/include/a.out.h
index 23f80aa79f64..d532d062cacf 100644
--- a/include/a.out.h
+++ b/include/a.out.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/ar.h b/include/ar.h
index aa5fac210289..01a57a57d785 100644
--- a/include/ar.h
+++ b/include/ar.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/arpa/ftp.h b/include/arpa/ftp.h
index 081c037ecb30..5ba431529404 100644
--- a/include/arpa/ftp.h
+++ b/include/arpa/ftp.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index 1078521c47fd..854d720e5812 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* ++Copyright++ 1983, 1993
* -
* Copyright (c) 1983, 1993
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h
index ef47b204d56e..f0e3482a8d24 100644
--- a/include/arpa/nameser.h
+++ b/include/arpa/nameser.h
@@ -15,7 +15,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/arpa/nameser_compat.h b/include/arpa/nameser_compat.h
index b72a1a8cab02..7562984ab0ff 100644
--- a/include/arpa/nameser_compat.h
+++ b/include/arpa/nameser_compat.h
@@ -1,4 +1,7 @@
-/* Copyright (c) 1983, 1989
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Copyright (c) 1983, 1989
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/include/arpa/telnet.h b/include/arpa/telnet.h
index 758e9b83451e..855b3d26f9cf 100644
--- a/include/arpa/telnet.h
+++ b/include/arpa/telnet.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h
index 20733ec69e1a..12c24e53f5c2 100644
--- a/include/arpa/tftp.h
+++ b/include/arpa/tftp.h
@@ -1,4 +1,6 @@
-/*
+/**-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/assert.h b/include/assert.h
index c880a782b963..702e231603e6 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/ctype.h b/include/ctype.h
index 0ca422c26337..13173139777b 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/db.h b/include/db.h
index 4d04db41e8eb..13fa91d68048 100644
--- a/include/db.h
+++ b/include/db.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/dirent.h b/include/dirent.h
index e98752683c8e..702153e28fc0 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/dlfcn.h b/include/dlfcn.h
index c5088431e651..76a7fa02ed74 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/err.h b/include/err.h
index b0e312160f87..7f0971b2a6df 100644
--- a/include/err.h
+++ b/include/err.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/fnmatch.h b/include/fnmatch.h
index e6403a54ed35..34485381abf7 100644
--- a/include/fnmatch.h
+++ b/include/fnmatch.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/fstab.h b/include/fstab.h
index 9b80f733cc41..364d132bc4c8 100644
--- a/include/fstab.h
+++ b/include/fstab.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/fts.h b/include/fts.h
index f453e2b86526..6f4674e4a76e 100644
--- a/include/fts.h
+++ b/include/fts.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/glob.h b/include/glob.h
index 073805bc083b..80d78a219444 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/grp.h b/include/grp.h
index 8103808cca11..655bfdc66ec8 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/limits.h b/include/limits.h
index 0d37af4014cc..e26a741c83a1 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/locale.h b/include/locale.h
index 0edc3eab716d..de8e03ade5c8 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/memory.h b/include/memory.h
index fb670d4fe1d4..dd0c63ac73b2 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/mpool.h b/include/mpool.h
index 3f22ab788409..2c6866020e7c 100644
--- a/include/mpool.h
+++ b/include/mpool.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/ndbm.h b/include/ndbm.h
index 8e9e0e19af60..f9b0d2b4b0ff 100644
--- a/include/ndbm.h
+++ b/include/ndbm.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/netdb.h b/include/netdb.h
index 2da7755decae..f46f5a3cf506 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1980, 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/nlist.h b/include/nlist.h
index a4965fd96952..5ea6f5ea555e 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/paths.h b/include/paths.h
index 709e96d008b1..f8df80518c5c 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 93552923f818..65df37af6996 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/protocols/routed.h b/include/protocols/routed.h
index bf1604549c66..dab9bba56617 100644
--- a/include/protocols/routed.h
+++ b/include/protocols/routed.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/protocols/rwhod.h b/include/protocols/rwhod.h
index 49191a2cb707..f598ec7a7ac3 100644
--- a/include/protocols/rwhod.h
+++ b/include/protocols/rwhod.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/protocols/talkd.h b/include/protocols/talkd.h
index 3b2f0de6654e..f8b74b9c6981 100644
--- a/include/protocols/talkd.h
+++ b/include/protocols/talkd.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/protocols/timed.h b/include/protocols/timed.h
index d26b4a23980d..de4243c576fe 100644
--- a/include/protocols/timed.h
+++ b/include/protocols/timed.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/pthread_np.h b/include/pthread_np.h
index 1a2dbe9581fb..9c32540368b0 100644
--- a/include/pthread_np.h
+++ b/include/pthread_np.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1996-98 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
*
diff --git a/include/pwd.h b/include/pwd.h
index 2099e33891a4..1548400b7eb8 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/ranlib.h b/include/ranlib.h
index dd376b4d8a59..cdba75f9f6f3 100644
--- a/include/ranlib.h
+++ b/include/ranlib.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/regex.h b/include/regex.h
index e8b185cac9a5..6b0838a9bd97 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1992 Henry Spencer.
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
diff --git a/include/resolv.h b/include/resolv.h
index e3d4fd12a097..1f4a9bc8d6de 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Portions Copyright (C) 2004, 2005, 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1995-2003 Internet Software Consortium.
*
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index 5503762bb22d..bf0d76c046c6 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -1,6 +1,8 @@
/* $NetBSD: auth.h,v 1.15 2000/06/02 22:57:55 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/auth_des.h b/include/rpc/auth_des.h
index 58b34d776d7a..3b860d8c7ac3 100644
--- a/include/rpc/auth_des.h
+++ b/include/rpc/auth_des.h
@@ -1,6 +1,8 @@
/* @(#)auth_des.h 2.2 88/07/29 4.0 RPCSRC; from 1.3 88/02/08 SMI */
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/auth_kerb.h b/include/rpc/auth_kerb.h
index b6c5ae100e60..29b09d507006 100644
--- a/include/rpc/auth_kerb.h
+++ b/include/rpc/auth_kerb.h
@@ -1,5 +1,7 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h
index fa47e8ba9452..6d1fc315a18d 100644
--- a/include/rpc/auth_unix.h
+++ b/include/rpc/auth_unix.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h
index 66533e24a7e1..8d9ce1eccb09 100644
--- a/include/rpc/clnt.h
+++ b/include/rpc/clnt.h
@@ -1,6 +1,8 @@
/* $NetBSD: clnt.h,v 1.14 2000/06/02 22:57:55 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2010, Oracle America, Inc.
* All rights reserved.
*
diff --git a/include/rpc/clnt_soc.h b/include/rpc/clnt_soc.h
index 6536a4bb16a5..c16609bb6aac 100644
--- a/include/rpc/clnt_soc.h
+++ b/include/rpc/clnt_soc.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/des.h b/include/rpc/des.h
index 9400ccdfacb2..93698cce6cbc 100644
--- a/include/rpc/des.h
+++ b/include/rpc/des.h
@@ -1,6 +1,8 @@
/* @(#)des.h 2.2 88/08/10 4.0 RPCSRC; from 2.7 88/02/08 SMI */
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/des_crypt.h b/include/rpc/des_crypt.h
index af33e9d670da..ef938c5cc900 100644
--- a/include/rpc/des_crypt.h
+++ b/include/rpc/des_crypt.h
@@ -6,6 +6,8 @@
* Copyright (C) 1986, Sun Microsystems, Inc.
*/
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/nettype.h b/include/rpc/nettype.h
index 3ded892865d0..39c1f76970fb 100644
--- a/include/rpc/nettype.h
+++ b/include/rpc/nettype.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h
index e8314f6064c2..465cb0c02623 100644
--- a/include/rpc/pmap_clnt.h
+++ b/include/rpc/pmap_clnt.h
@@ -1,6 +1,8 @@
/* $NetBSD: pmap_clnt.h,v 1.9 2000/06/02 22:57:55 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/pmap_prot.h b/include/rpc/pmap_prot.h
index d880c40d8492..f69bad9ca1a7 100644
--- a/include/rpc/pmap_prot.h
+++ b/include/rpc/pmap_prot.h
@@ -1,6 +1,8 @@
/* $NetBSD: pmap_prot.h,v 1.8 2000/06/02 22:57:55 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/pmap_rmt.h b/include/rpc/pmap_rmt.h
index 21eb5d1bf44c..791b3f486bc2 100644
--- a/include/rpc/pmap_rmt.h
+++ b/include/rpc/pmap_rmt.h
@@ -1,6 +1,8 @@
/* $NetBSD: pmap_rmt.h,v 1.7 1998/02/11 23:01:23 lukem Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/raw.h b/include/rpc/raw.h
index a5c7d9352bcc..b56b9026d93f 100644
--- a/include/rpc/raw.h
+++ b/include/rpc/raw.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index e7a3dc8df1c5..561437c30943 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -1,6 +1,8 @@
/* $NetBSD: rpc.h,v 1.13 2000/06/02 22:57:56 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/rpc_com.h b/include/rpc/rpc_com.h
index 0996efc02bf9..dd331e2601f6 100644
--- a/include/rpc/rpc_com.h
+++ b/include/rpc/rpc_com.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/rpc_msg.h b/include/rpc/rpc_msg.h
index 6e8d0745a0b9..136b617f58e8 100644
--- a/include/rpc/rpc_msg.h
+++ b/include/rpc/rpc_msg.h
@@ -1,6 +1,8 @@
/* $NetBSD: rpc_msg.h,v 1.11 2000/06/02 22:57:56 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/rpcb_clnt.h b/include/rpc/rpcb_clnt.h
index 455278723ac0..b642aacd6a57 100644
--- a/include/rpc/rpcb_clnt.h
+++ b/include/rpc/rpcb_clnt.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/rpcent.h b/include/rpc/rpcent.h
index c1650fa4ca79..15c4ae4d00a6 100644
--- a/include/rpc/rpcent.h
+++ b/include/rpc/rpcent.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/svc.h b/include/rpc/svc.h
index 53b1815bd0b0..912d26ba4461 100644
--- a/include/rpc/svc.h
+++ b/include/rpc/svc.h
@@ -1,6 +1,8 @@
/* $NetBSD: svc.h,v 1.17 2000/06/02 22:57:56 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h
index 87b8efe74d95..e9b6cd4be4f3 100644
--- a/include/rpc/svc_auth.h
+++ b/include/rpc/svc_auth.h
@@ -1,6 +1,8 @@
/* $NetBSD: svc_auth.h,v 1.8 2000/06/02 22:57:57 fvdl Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/svc_dg.h b/include/rpc/svc_dg.h
index 313176ea8a66..d9f3012c4f06 100644
--- a/include/rpc/svc_dg.h
+++ b/include/rpc/svc_dg.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/svc_soc.h b/include/rpc/svc_soc.h
index 311c8322f83d..912e2ec2df1f 100644
--- a/include/rpc/svc_soc.h
+++ b/include/rpc/svc_soc.h
@@ -2,6 +2,8 @@
/* $FreeBSD$ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 93f1ee493b46..ad1672cd1db8 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -1,6 +1,8 @@
/* $NetBSD: xdr.h,v 1.19 2000/07/17 05:00:45 matt Exp $ */
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2009, Sun Microsystems, Inc.
* All rights reserved.
*
diff --git a/include/rpcsvc/nis_tags.h b/include/rpcsvc/nis_tags.h
index 7ee630e6db24..55920a0297fd 100644
--- a/include/rpcsvc/nis_tags.h
+++ b/include/rpcsvc/nis_tags.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 2010, Oracle America, Inc.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/include/runetype.h b/include/runetype.h
index dcbb226bb2d8..4aca128f8c8a 100644
--- a/include/runetype.h
+++ b/include/runetype.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/setjmp.h b/include/setjmp.h
index 598e07a77bc4..1cc8b7762499 100644
--- a/include/setjmp.h
+++ b/include/setjmp.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/signal.h b/include/signal.h
index f9b6923c4345..56d1b82e87a9 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/stab.h b/include/stab.h
index 649bb421f8cb..9abff130ff7d 100644
--- a/include/stab.h
+++ b/include/stab.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/stddef.h b/include/stddef.h
index 4916e80756f5..a52e6d312f84 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/stdio.h b/include/stdio.h
index 0b497d56e366..68c8dd76a0c2 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/stdlib.h b/include/stdlib.h
index afcbc289b37e..f2d45e418e46 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/string.h b/include/string.h
index 21698c309534..3c5cceaeb857 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/sysexits.h b/include/sysexits.h
index e52bb5be95b3..5e414f24ce8d 100644
--- a/include/sysexits.h
+++ b/include/sysexits.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1987, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/tar.h b/include/tar.h
index f9da49a10d28..3d54476520e6 100644
--- a/include/tar.h
+++ b/include/tar.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/termios.h b/include/termios.h
index 333ab1cd6cc5..ce31d447f60a 100644
--- a/include/termios.h
+++ b/include/termios.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1988, 1989, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/time.h b/include/time.h
index 54c7e490473c..cacb7f2f26e4 100644
--- a/include/time.h
+++ b/include/time.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/timeconv.h b/include/timeconv.h
index 147db1509345..1298cc238e57 100644
--- a/include/timeconv.h
+++ b/include/timeconv.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
diff --git a/include/ttyent.h b/include/ttyent.h
index c173bb81803b..cbefc87c62ca 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/unistd.h b/include/unistd.h
index d875600121ea..1d6f474a1239 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1991, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
diff --git a/include/utime.h b/include/utime.h
index 619c5db627ba..ec1d28b93e31 100644
--- a/include/utime.h
+++ b/include/utime.h
@@ -1,4 +1,6 @@
/*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*