Date: Mon, 27 Nov 2017 15:13:23 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326266 - in head/sys/compat: freebsd32 ia32 linsysfs linux netbsd Message-ID: <201711271513.vARFDNPR001478@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Mon Nov 27 15:13:23 2017 New Revision: 326266 URL: https://svnweb.freebsd.org/changeset/base/326266 Log: sys/compat: 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. Modified: head/sys/compat/freebsd32/freebsd32.h head/sys/compat/freebsd32/freebsd32_capability.c head/sys/compat/freebsd32/freebsd32_ipc.h head/sys/compat/freebsd32/freebsd32_misc.c head/sys/compat/freebsd32/freebsd32_misc.h head/sys/compat/freebsd32/freebsd32_signal.h head/sys/compat/freebsd32/freebsd32_util.h head/sys/compat/ia32/ia32_signal.h head/sys/compat/ia32/ia32_sysvec.c head/sys/compat/ia32/ia32_util.h head/sys/compat/linsysfs/linsysfs.c head/sys/compat/linux/linux_dtrace.h head/sys/compat/linux/linux_emul.c head/sys/compat/linux/linux_emul.h head/sys/compat/linux/linux_file.c head/sys/compat/linux/linux_file.h head/sys/compat/linux/linux_fork.c head/sys/compat/linux/linux_futex.c head/sys/compat/linux/linux_futex.h head/sys/compat/linux/linux_getcwd.c head/sys/compat/linux/linux_ioctl.c head/sys/compat/linux/linux_ioctl.h head/sys/compat/linux/linux_ipc.c head/sys/compat/linux/linux_ipc.h head/sys/compat/linux/linux_mib.c head/sys/compat/linux/linux_mib.h head/sys/compat/linux/linux_misc.c head/sys/compat/linux/linux_misc.h head/sys/compat/linux/linux_signal.c head/sys/compat/linux/linux_signal.h head/sys/compat/linux/linux_socket.c head/sys/compat/linux/linux_socket.h head/sys/compat/linux/linux_stats.c head/sys/compat/linux/linux_sysctl.c head/sys/compat/linux/linux_sysproto.h head/sys/compat/linux/linux_time.c head/sys/compat/linux/linux_uid16.c head/sys/compat/linux/linux_util.c head/sys/compat/linux/linux_util.h head/sys/compat/netbsd/dvcfg.h Modified: head/sys/compat/freebsd32/freebsd32.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2001 Doug Rabson * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_capability.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_capability.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_capability.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2013 The FreeBSD Foundation * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_ipc.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32_ipc.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_ipc.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2002 Doug Rabson * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_misc.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2002 Doug Rabson * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_misc.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_misc.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2013 The FreeBSD Foundation * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_signal.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32_signal.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_signal.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2006 David Xu <davidxu@freebsd.org> * All rights reserved. * Modified: head/sys/compat/freebsd32/freebsd32_util.h ============================================================================== --- head/sys/compat/freebsd32/freebsd32_util.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/freebsd32/freebsd32_util.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1998-1999 Andrew Gallatin * All rights reserved. * Modified: head/sys/compat/ia32/ia32_signal.h ============================================================================== --- head/sys/compat/ia32/ia32_signal.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/ia32/ia32_signal.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 Marcel Moolenaar * Copyright (c) 2003 Peter Wemm * All rights reserved. Modified: head/sys/compat/ia32/ia32_sysvec.c ============================================================================== --- head/sys/compat/ia32/ia32_sysvec.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/ia32/ia32_sysvec.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2002 Doug Rabson * Copyright (c) 2003 Peter Wemm * All rights reserved. Modified: head/sys/compat/ia32/ia32_util.h ============================================================================== --- head/sys/compat/ia32/ia32_util.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/ia32/ia32_util.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1998-1999 Andrew Gallatin * All rights reserved. * Modified: head/sys/compat/linsysfs/linsysfs.c ============================================================================== --- head/sys/compat/linsysfs/linsysfs.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linsysfs/linsysfs.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2006 IronPort Systems * All rights reserved. * Modified: head/sys/compat/linux/linux_dtrace.h ============================================================================== --- head/sys/compat/linux/linux_dtrace.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_dtrace.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008-2012 Alexander Leidinger <netchild@FreeBSD.org> * All rights reserved. * Modified: head/sys/compat/linux/linux_emul.c ============================================================================== --- head/sys/compat/linux/linux_emul.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_emul.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2006 Roman Divacky * Copyright (c) 2013 Dmitry Chagin * All rights reserved. Modified: head/sys/compat/linux/linux_emul.h ============================================================================== --- head/sys/compat/linux/linux_emul.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_emul.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2006 Roman Divacky * Copyright (c) 2013 Dmitry Chagin * All rights reserved. Modified: head/sys/compat/linux/linux_file.c ============================================================================== --- head/sys/compat/linux/linux_file.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_file.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_file.h ============================================================================== --- head/sys/compat/linux/linux_file.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_file.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2007 Roman Divacky * All rights reserved. * Modified: head/sys/compat/linux/linux_fork.c ============================================================================== --- head/sys/compat/linux/linux_fork.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_fork.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2004 Tim J. Robbins * Copyright (c) 2002 Doug Rabson * Copyright (c) 2000 Marcel Moolenaar Modified: head/sys/compat/linux/linux_futex.c ============================================================================== --- head/sys/compat/linux/linux_futex.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_futex.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,6 +1,8 @@ /* $NetBSD: linux_futex.c,v 1.7 2006/07/24 19:01:49 manu Exp $ */ /*- + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 2009-2016 Dmitry Chagin * Copyright (c) 2005 Emmanuel Dreyfus * All rights reserved. Modified: head/sys/compat/linux/linux_futex.h ============================================================================== --- head/sys/compat/linux/linux_futex.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_futex.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,6 +1,8 @@ /* $NetBSD: linux_futex.h,v 1.2 2005/12/11 12:20:19 christos Exp $ */ /*- + * SPDX-License-Identifier: BSD-4-Clause + * * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: head/sys/compat/linux/linux_getcwd.c ============================================================================== --- head/sys/compat/linux/linux_getcwd.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_getcwd.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,6 +1,8 @@ /* $OpenBSD: linux_getcwd.c,v 1.2 2001/05/16 12:50:21 ho Exp $ */ /* $NetBSD: vfs_getcwd.c,v 1.3.2.3 1999/07/11 10:24:09 sommerfeld Exp $ */ /*- + * SPDX-License-Identifier: BSD-2-Clause-NetBSD + * * Copyright (c) 1999 The NetBSD Foundation, Inc. * Copyright (c) 2015 The FreeBSD Foundation * All rights reserved. Modified: head/sys/compat/linux/linux_ioctl.c ============================================================================== --- head/sys/compat/linux/linux_ioctl.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_ioctl.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_ioctl.h ============================================================================== --- head/sys/compat/linux/linux_ioctl.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_ioctl.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_ipc.c ============================================================================== --- head/sys/compat/linux/linux_ipc.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_ipc.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_ipc.h ============================================================================== --- head/sys/compat/linux/linux_ipc.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_ipc.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2000 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_mib.c ============================================================================== --- head/sys/compat/linux/linux_mib.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_mib.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_mib.h ============================================================================== --- head/sys/compat/linux/linux_mib.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_mib.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1999 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_misc.c ============================================================================== --- head/sys/compat/linux/linux_misc.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_misc.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2002 Doug Rabson * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. Modified: head/sys/compat/linux/linux_misc.h ============================================================================== --- head/sys/compat/linux/linux_misc.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_misc.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2006 Roman Divacky * All rights reserved. * Modified: head/sys/compat/linux/linux_signal.c ============================================================================== --- head/sys/compat/linux/linux_signal.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_signal.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_signal.h ============================================================================== --- head/sys/compat/linux/linux_signal.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_signal.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2000 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_socket.c ============================================================================== --- head/sys/compat/linux/linux_socket.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_socket.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_socket.h ============================================================================== --- head/sys/compat/linux/linux_socket.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_socket.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2000 Assar Westerlund * All rights reserved. * Modified: head/sys/compat/linux/linux_stats.c ============================================================================== --- head/sys/compat/linux/linux_stats.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_stats.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994-1995 Søren Schmidt * All rights reserved. * Modified: head/sys/compat/linux/linux_sysctl.c ============================================================================== --- head/sys/compat/linux/linux_sysctl.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_sysctl.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2001 Marcel Moolenaar * All rights reserved. * Modified: head/sys/compat/linux/linux_sysproto.h ============================================================================== --- head/sys/compat/linux/linux_sysproto.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_sysproto.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 2005 Travis Poppe * All rights reserved. * Modified: head/sys/compat/linux/linux_time.c ============================================================================== --- head/sys/compat/linux/linux_time.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_time.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,6 +1,8 @@ /* $NetBSD: linux_time.c,v 1.14 2006/05/14 03:40:54 christos Exp $ */ /*- + * SPDX-License-Identifier: BSD-2-Clause-NetBSD + * * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. * Modified: head/sys/compat/linux/linux_uid16.c ============================================================================== --- head/sys/compat/linux/linux_uid16.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_uid16.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2001 The FreeBSD Project * All rights reserved. * Modified: head/sys/compat/linux/linux_util.c ============================================================================== --- head/sys/compat/linux/linux_util.c Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_util.c Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994 Christos Zoulas * Copyright (c) 1995 Frank van der Linden * Copyright (c) 1995 Scott Bartram Modified: head/sys/compat/linux/linux_util.h ============================================================================== --- head/sys/compat/linux/linux_util.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/linux/linux_util.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1994 Christos Zoulas * Copyright (c) 1995 Frank van der Linden * Copyright (c) 1995 Scott Bartram Modified: head/sys/compat/netbsd/dvcfg.h ============================================================================== --- head/sys/compat/netbsd/dvcfg.h Mon Nov 27 15:12:43 2017 (r326265) +++ head/sys/compat/netbsd/dvcfg.h Mon Nov 27 15:13:23 2017 (r326266) @@ -1,6 +1,8 @@ /* $FreeBSD$ */ /* $NetBSD$ */ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * [NetBSD for NEC PC98 series] * Copyright (c) 1996 NetBSD/pc98 porting staff. * All rights reserved.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711271513.vARFDNPR001478>