Skip to content

Commit

Permalink
sys/fs: further adoption of SPDX licensing ID tags.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pgiffuni committed Nov 27, 2017
1 parent 753c4e8 commit d63027b
Show file tree
Hide file tree
Showing 89 changed files with 178 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/fs/cd9660/cd9660_iconv.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Ryuichiro Imura
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
* Copyright (c) 2000
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_devs.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2000,2004
* Poul-Henning Kamp. All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_dir.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010 Jaakko Heinonen <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_int.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2005 Poul-Henning Kamp. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_rule.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2002 Dima Dorfman.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_vfsops.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1992, 1993, 1995
* The Regents of the University of California. All rights reserved.
* Copyright (c) 2000
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/devfs/devfs_vnops.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2000-2004
* Poul-Henning Kamp. All rights reserved.
* Copyright (c) 1989, 1992-1993, 1995
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_dinode.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Aditya Sarawgi
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_dir.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Aditya Sarawgi
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_extents.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010 Zheng Liu <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_extents.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2012, 2010 Zheng Liu <[email protected]>
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_hash.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010, 2013 Zheng Liu <[email protected]>
* Copyright (c) 2012, Vyacheslav Matyushin
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2_htree.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010, 2012 Zheng Liu <[email protected]>
* Copyright (c) 2012, Vyacheslav Matyushin
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/ext2fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
* $FreeBSD$
*/
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Aditya Sarawgi
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/ext2fs/htree.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010, 2012 Zheng Liu <[email protected]>
* Copyright (c) 2012, Vyacheslav Matyushin
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/denode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: denode.h,v 1.25 1997/11/17 15:36:28 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/direntry.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: direntry.h,v 1.14 1997/11/17 15:36:32 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/fat.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: fat.h,v 1.12 1997/11/17 15:36:36 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_conv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_conv.c,v 1.25 1997/11/17 15:36:40 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_denode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_denode.c,v 1.28 1998/02/10 14:10:00 mrg Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_fat.c,v 1.28 1997/11/17 15:36:49 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_iconv.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 Ryuichiro Imura
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_lookup.c,v 1.37 1997/11/17 15:36:54 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_vfsops.c,v 1.51 1997/11/17 15:36:58 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfs_vnops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfs_vnops.c,v 1.68 1998/02/10 14:10:04 mrg Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/msdosfs/msdosfsmount.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/* $NetBSD: msdosfsmount.h,v 1.17 1997/11/17 15:37:07 ws Exp $ */

/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/bmap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2012 Semihalf
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/bmap.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2012 Semihalf
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_alloc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_bmap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_buffer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_cleaner.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_cpfile.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_dat.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_dir.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_fs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_ifile.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_mount.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_segment.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_subr.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_subr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_sufile.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf.
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_vfsops.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nandfs/nandfs_vnops.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2010-2012 Semihalf
* Copyright (c) 2008, 2009 Reinoud Zandijk
* All rights reserved.
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfs_commonacl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfscl.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfsclstate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfsdport.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfskpiport.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfsrvstate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfs/nfsv4_errstr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Rick Macklem, University of Guelph
* All rights reserved.
*
Expand Down
2 changes: 2 additions & 0 deletions sys/fs/nfsclient/nfs_clkdtrace.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009 Robert N. M. Watson
* All rights reserved.
*
Expand Down
Loading

0 comments on commit d63027b

Please sign in to comment.