diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-11-26 02:00:33 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-11-26 02:00:33 +0000 |
commit | 5e53a4f90f82c4345f277dd87cc9292f26e04a29 (patch) | |
tree | 10be8127dc8fe8e40344df4a1c8b85297442fba1 /lib/libthr/thread | |
parent | efe67753ccbbbba0013dac241c79d2dc124d76a2 (diff) | |
download | src-5e53a4f90f82c4345f277dd87cc9292f26e04a29.tar.gz src-5e53a4f90f82c4345f277dd87cc9292f26e04a29.zip |
lib: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified 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=326219
Diffstat (limited to 'lib/libthr/thread')
27 files changed, 75 insertions, 21 deletions
diff --git a/lib/libthr/thread/thr_affinity.c b/lib/libthr/thread/thr_affinity.c index e76ca2aa0bd6..1a820b72b9f3 100644 --- a/lib/libthr/thread/thr_affinity.c +++ b/lib/libthr/thread/thr_affinity.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008, David Xu <davidxu@freebsd.org> * All rights reserved. * diff --git a/lib/libthr/thread/thr_barrier.c b/lib/libthr/thread/thr_barrier.c index 2c47f13f2669..890e8a60f719 100644 --- a/lib/libthr/thread/thr_barrier.c +++ b/lib/libthr/thread/thr_barrier.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2003 David Xu <davidxu@freebsd.org> * All rights reserved. * diff --git a/lib/libthr/thread/thr_barrierattr.c b/lib/libthr/thread/thr_barrierattr.c index acaa0594b34f..66ba73050269 100644 --- a/lib/libthr/thread/thr_barrierattr.c +++ b/lib/libthr/thread/thr_barrierattr.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2003 David Xu <davidxu@freebsd.org>. * All rights reserved. * diff --git a/lib/libthr/thread/thr_cancel.c b/lib/libthr/thread/thr_cancel.c index c080931b40fb..0f131497aac5 100644 --- a/lib/libthr/thread/thr_cancel.c +++ b/lib/libthr/thread/thr_cancel.c @@ -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/lib/libthr/thread/thr_cond.c b/lib/libthr/thread/thr_cond.c index 64d075ca06fb..9b6c787f9614 100644 --- a/lib/libthr/thread/thr_cond.c +++ b/lib/libthr/thread/thr_cond.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * Copyright (c) 2015 The FreeBSD Foundation * All rights reserved. diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index ee2c727cecee..3f54f5c4c8d6 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2003 Daniel M. Eischen <deischen@gdeb.com> * Copyright (c) 2005, David Xu <davidxu@freebsd.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_detach.c b/lib/libthr/thread/thr_detach.c index f03731f2c799..feac319d0df8 100644 --- a/lib/libthr/thread/thr_detach.c +++ b/lib/libthr/thread/thr_detach.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * Copyright (C) 2003 Daniel M. Eischen <deischen@freebsd.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_event.c b/lib/libthr/thread/thr_event.c index 982f86a626d8..977c0dacb7c7 100644 --- a/lib/libthr/thread/thr_event.c +++ b/lib/libthr/thread/thr_event.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu * All rights reserved. * diff --git a/lib/libthr/thread/thr_getcpuclockid.c b/lib/libthr/thread/thr_getcpuclockid.c index 1ad6a08b2628..20f63039ea89 100644 --- a/lib/libthr/thread/thr_getcpuclockid.c +++ b/lib/libthr/thread/thr_getcpuclockid.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 David Xu <davidxu@freebsd.org> * All rights reserved. * diff --git a/lib/libthr/thread/thr_getthreadid_np.c b/lib/libthr/thread/thr_getthreadid_np.c index e7b496ea7a59..3011307861ae 100644 --- a/lib/libthr/thread/thr_getthreadid_np.c +++ b/lib/libthr/thread/thr_getthreadid_np.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2011 Jung-uk Kim <jkim@FreeBSD.org> * * Redistribution and use in source and binary forms, with or without diff --git a/lib/libthr/thread/thr_join.c b/lib/libthr/thread/thr_join.c index 42bd74965eef..f6136e479b52 100644 --- a/lib/libthr/thread/thr_join.c +++ b/lib/libthr/thread/thr_join.c @@ -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/lib/libthr/thread/thr_kern.c b/lib/libthr/thread/thr_kern.c index 64128b4382d7..77ccc6847828 100644 --- a/lib/libthr/thread/thr_kern.c +++ b/lib/libthr/thread/thr_kern.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * Copyright (C) 2003 Daniel M. Eischen <deischen@freebsd.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_list.c b/lib/libthr/thread/thr_list.c index 70b85bc80f7d..530e49721a4b 100644 --- a/lib/libthr/thread/thr_list.c +++ b/lib/libthr/thread/thr_list.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * Copyright (C) 2003 Daniel M. Eischen <deischen@freebsd.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_main_np.c b/lib/libthr/thread/thr_main_np.c index 9558adff27da..7ce54bc9f1f0 100644 --- a/lib/libthr/thread/thr_main_np.c +++ b/lib/libthr/thread/thr_main_np.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2001 Alfred Perlstein * Author: Alfred Perlstein <alfred@FreeBSD.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_once.c b/lib/libthr/thread/thr_once.c index 51aa8acfcc4e..90778440b76e 100644 --- a/lib/libthr/thread/thr_once.c +++ b/lib/libthr/thread/thr_once.c @@ -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/lib/libthr/thread/thr_printf.c b/lib/libthr/thread/thr_printf.c index d38ee1869c9e..d757c8d2d6e2 100644 --- a/lib/libthr/thread/thr_printf.c +++ b/lib/libthr/thread/thr_printf.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2002 Jonathan Mini <mini@freebsd.org> * All rights reserved. * diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index 4a861259f498..b6ba174accc9 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (C) 2005 Daniel M. Eischen <deischen@freebsd.org> * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. diff --git a/lib/libthr/thread/thr_pspinlock.c b/lib/libthr/thread/thr_pspinlock.c index 1c83b25b67de..c71bdbb3f196 100644 --- a/lib/libthr/thread/thr_pspinlock.c +++ b/lib/libthr/thread/thr_pspinlock.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2003 David Xu <davidxu@freebsd.org> * Copyright (c) 2016 The FreeBSD Foundation * All rights reserved. diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c index 6f5347de2151..3239a9dcfb18 100644 --- a/lib/libthr/thread/thr_rtld.c +++ b/lib/libthr/thread/thr_rtld.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2006, David Xu <davidxu@freebsd.org> * All rights reserved. * diff --git a/lib/libthr/thread/thr_rwlock.c b/lib/libthr/thread/thr_rwlock.c index 105b35c4219f..139e74557a55 100644 --- a/lib/libthr/thread/thr_rwlock.c +++ b/lib/libthr/thread/thr_rwlock.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 1998 Alex Nash * All rights reserved. * diff --git a/lib/libthr/thread/thr_rwlockattr.c b/lib/libthr/thread/thr_rwlockattr.c index 56174edead46..76013f59c307 100644 --- a/lib/libthr/thread/thr_rwlockattr.c +++ b/lib/libthr/thread/thr_rwlockattr.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 1998 Alex Nash * All rights reserved. * diff --git a/lib/libthr/thread/thr_sem.c b/lib/libthr/thread/thr_sem.c index a8b02acca446..66386764666a 100644 --- a/lib/libthr/thread/thr_sem.c +++ b/lib/libthr/thread/thr_sem.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (C) 2005 David Xu <davidxu@freebsd.org>. * Copyright (C) 2000 Jason Evans <jasone@freebsd.org>. * All rights reserved. diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c index 978ae61eca6f..576bc79de795 100644 --- a/lib/libthr/thread/thr_sig.c +++ b/lib/libthr/thread/thr_sig.c @@ -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/lib/libthr/thread/thr_sleepq.c b/lib/libthr/thread/thr_sleepq.c index 5ecd6f9d3e24..05145a739681 100644 --- a/lib/libthr/thread/thr_sleepq.c +++ b/lib/libthr/thread/thr_sleepq.c @@ -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/lib/libthr/thread/thr_stack.c b/lib/libthr/thread/thr_stack.c index 3510a74ab43f..b08bafdd9417 100644 --- a/lib/libthr/thread/thr_stack.c +++ b/lib/libthr/thread/thr_stack.c @@ -1,4 +1,6 @@ -/* +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2001 Daniel Eischen <deischen@freebsd.org> * Copyright (c) 2000-2001 Jason Evans <jasone@freebsd.org> * All rights reserved. diff --git a/lib/libthr/thread/thr_umtx.c b/lib/libthr/thread/thr_umtx.c index 085e04e22dfb..86e5a1f13780 100644 --- a/lib/libthr/thread/thr_umtx.c +++ b/lib/libthr/thread/thr_umtx.c @@ -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/lib/libthr/thread/thr_umtx.h b/lib/libthr/thread/thr_umtx.h index 5dae304528da..1017214adb5c 100644 --- a/lib/libthr/thread/thr_umtx.h +++ b/lib/libthr/thread/thr_umtx.h @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * All rights reserved. * |