From: Mathieu Desnoyers Date: Wed, 12 Jan 2022 21:46:21 +0000 (-0500) Subject: Relicence all source and header files included in LGPL code X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c922647daed3dd022be11980063b5fb816d8c091;p=lttng-tools.git Relicence all source and header files included in LGPL code All code included in libcommon-lgpl.a should be LGPL. Some were licensed as GPLv2 by mistake. We need to relicense those. EfficiOS owns the copyright to all of the affected source files and agrees to this relicensing from GPLv2 to LGPLv2.1. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Change-Id: Ib4aa1a7cc8a6f8e2a9891f1bd05c7ea2f8530e9b --- diff --git a/src/common/bytecode/bytecode.cpp b/src/common/bytecode/bytecode.cpp index 064f2bfe2..6100892b7 100644 --- a/src/common/bytecode/bytecode.cpp +++ b/src/common/bytecode/bytecode.cpp @@ -1,7 +1,7 @@ /* * Copyright 2020 EfficiOS, Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/compat-fcntl.cpp b/src/common/compat/compat-fcntl.cpp index bc014d640..004939a3d 100644 --- a/src/common/compat/compat-fcntl.cpp +++ b/src/common/compat/compat-fcntl.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/directory-handle.cpp b/src/common/compat/directory-handle.cpp index edd82ebb6..5bfb4b9ee 100644 --- a/src/common/compat/directory-handle.cpp +++ b/src/common/compat/directory-handle.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/directory-handle.h b/src/common/compat/directory-handle.h index 6aa5c3d3e..4a9b65718 100644 --- a/src/common/compat/directory-handle.h +++ b/src/common/compat/directory-handle.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/endian.h b/src/common/compat/endian.h index d808b40e4..752d8a731 100644 --- a/src/common/compat/endian.h +++ b/src/common/compat/endian.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/errno.h b/src/common/compat/errno.h index 18cb847e5..204443988 100644 --- a/src/common/compat/errno.h +++ b/src/common/compat/errno.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2020 Michael Jeanson * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/fcntl.h b/src/common/compat/fcntl.h index b18e2f4e7..5e566e500 100644 --- a/src/common/compat/fcntl.h +++ b/src/common/compat/fcntl.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/getenv.h b/src/common/compat/getenv.h index 83feaeeeb..2a6c0033a 100644 --- a/src/common/compat/getenv.h +++ b/src/common/compat/getenv.h @@ -4,7 +4,7 @@ /* * Copyright (C) 2015 Mathieu Desnoyers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/mman.h b/src/common/compat/mman.h index 37d11feec..61d27b8b0 100644 --- a/src/common/compat/mman.h +++ b/src/common/compat/mman.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/path.h b/src/common/compat/path.h index 5584e1b64..8c3d1ded1 100644 --- a/src/common/compat/path.h +++ b/src/common/compat/path.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2020 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/paths.h b/src/common/compat/paths.h index 7d50e59ed..0203ae80d 100644 --- a/src/common/compat/paths.h +++ b/src/common/compat/paths.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2015 Michael Jeanson * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/poll.cpp b/src/common/compat/poll.cpp index ee4fc012c..0c40c4511 100644 --- a/src/common/compat/poll.cpp +++ b/src/common/compat/poll.cpp @@ -2,7 +2,7 @@ * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2019 Yannick Lamarre * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 7a7842066..8e99a3150 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 EfficiOS Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/pthread.h b/src/common/compat/pthread.h index bedfd91ff..dd30c8b9b 100644 --- a/src/common/compat/pthread.h +++ b/src/common/compat/pthread.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2020 Michael Jeanson * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/compat/socket.h b/src/common/compat/socket.h index b5a370650..ee475a1d1 100644 --- a/src/common/compat/socket.h +++ b/src/common/compat/socket.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/config/config-internal.h b/src/common/config/config-internal.h index ee632ef3b..30f7226df 100644 --- a/src/common/config/config-internal.h +++ b/src/common/config/config-internal.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2013 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/config/config-session-abi.h b/src/common/config/config-session-abi.h index 6c903ef7a..f921a7363 100644 --- a/src/common/config/config-session-abi.h +++ b/src/common/config/config-session-abi.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2014 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/config/session-config.cpp b/src/common/config/session-config.cpp index c1256985a..2d2f303f5 100644 --- a/src/common/config/session-config.cpp +++ b/src/common/config/session-config.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2013 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/config/session-config.h b/src/common/config/session-config.h index b97c5ad41..e7bb7ef56 100644 --- a/src/common/config/session-config.h +++ b/src/common/config/session-config.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2013 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/credentials.h b/src/common/credentials.h index b1576a757..66f2dbebf 100644 --- a/src/common/credentials.h +++ b/src/common/credentials.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/defaults.cpp b/src/common/defaults.cpp index b295045b7..830720bd2 100644 --- a/src/common/defaults.cpp +++ b/src/common/defaults.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 EfficiOS Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/error.cpp b/src/common/error.cpp index 6ca5557f4..0ec467bcd 100644 --- a/src/common/error.cpp +++ b/src/common/error.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/error.h b/src/common/error.h index b78801fb8..b3e19c433 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 EfficiOS Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/fd-tracker/utils.cpp b/src/common/fd-tracker/utils.cpp index be6c65df6..dfe2e188b 100644 --- a/src/common/fd-tracker/utils.cpp +++ b/src/common/fd-tracker/utils.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2018 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/fd-tracker/utils.h b/src/common/fd-tracker/utils.h index 829b56b6d..9c3d48937 100644 --- a/src/common/fd-tracker/utils.h +++ b/src/common/fd-tracker/utils.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2018 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/hashtable/utils.cpp b/src/common/hashtable/utils.cpp index cc145e2e5..12aed1939 100644 --- a/src/common/hashtable/utils.cpp +++ b/src/common/hashtable/utils.cpp @@ -3,7 +3,7 @@ * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011 Mathieu Desnoyers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/hashtable/utils.h b/src/common/hashtable/utils.h index edbf5e89b..a8c8de20f 100644 --- a/src/common/hashtable/utils.h +++ b/src/common/hashtable/utils.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2011 EfficiOS Inc. * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/mi-lttng.cpp b/src/common/mi-lttng.cpp index 78785916f..10201d873 100644 --- a/src/common/mi-lttng.cpp +++ b/src/common/mi-lttng.cpp @@ -2,7 +2,7 @@ * Copyright (C) 2014 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/mi-lttng.h b/src/common/mi-lttng.h index 69899a532..fa82834dc 100644 --- a/src/common/mi-lttng.h +++ b/src/common/mi-lttng.h @@ -2,7 +2,7 @@ * Copyright (C) 2014 EfficiOS Inc. * Copyright (C) 2016 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/runas.cpp b/src/common/runas.cpp index 98bbd10ff..a87eb13cf 100644 --- a/src/common/runas.cpp +++ b/src/common/runas.cpp @@ -3,7 +3,7 @@ * Copyright (C) 2011 Mathieu Desnoyers * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/runas.h b/src/common/runas.h index 4369d5c72..99c541f0a 100644 --- a/src/common/runas.h +++ b/src/common/runas.h @@ -5,7 +5,7 @@ * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011 Mathieu Desnoyers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/session-descriptor.cpp b/src/common/session-descriptor.cpp index ec510b0c6..36b6fc4eb 100644 --- a/src/common/session-descriptor.cpp +++ b/src/common/session-descriptor.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2019 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only */ #include diff --git a/src/common/snapshot.cpp b/src/common/snapshot.cpp index 960240b2c..5145dd120 100644 --- a/src/common/snapshot.cpp +++ b/src/common/snapshot.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2020 Simon Marchi * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/snapshot.h b/src/common/snapshot.h index 7395c04d1..56f350899 100644 --- a/src/common/snapshot.h +++ b/src/common/snapshot.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2020 Simon Marchi * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/spawn-viewer.cpp b/src/common/spawn-viewer.cpp index b9099bbd0..e7d2ca02d 100644 --- a/src/common/spawn-viewer.cpp +++ b/src/common/spawn-viewer.cpp @@ -3,7 +3,7 @@ * Copyright (C) 2014 Mathieu Desnoyers * Copyright (C) 2020 Francis Deslauriers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/spawn-viewer.h b/src/common/spawn-viewer.h index 1221c5b08..4c2fe0252 100644 --- a/src/common/spawn-viewer.h +++ b/src/common/spawn-viewer.h @@ -4,7 +4,7 @@ /* * Copyright (C) 2020 Francis Deslauriers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/string-utils/string-utils.cpp b/src/common/string-utils/string-utils.cpp index d23cf794c..8e6a76adc 100644 --- a/src/common/string-utils/string-utils.cpp +++ b/src/common/string-utils/string-utils.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2017 Philippe Proulx * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/string-utils/string-utils.h b/src/common/string-utils/string-utils.h index 57cf4ecbf..3cafa0f8a 100644 --- a/src/common/string-utils/string-utils.h +++ b/src/common/string-utils/string-utils.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2017 Philippe Proulx * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/time.cpp b/src/common/time.cpp index a08358ffc..57078331c 100644 --- a/src/common/time.cpp +++ b/src/common/time.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2013 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/unix.cpp b/src/common/unix.cpp index 9c36c883e..091587f48 100644 --- a/src/common/unix.cpp +++ b/src/common/unix.cpp @@ -2,7 +2,7 @@ * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011 Mathieu Desnoyers * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/unix.h b/src/common/unix.h index 820dff0b5..e7f9e7919 100644 --- a/src/common/unix.h +++ b/src/common/unix.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/uri.cpp b/src/common/uri.cpp index b1c2c63d0..98ff2b471 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/uri.h b/src/common/uri.h index b0af03268..7f6ab00a1 100644 --- a/src/common/uri.h +++ b/src/common/uri.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/utils.cpp b/src/common/utils.cpp index 2ebaa84bb..410f8ec87 100644 --- a/src/common/utils.cpp +++ b/src/common/utils.cpp @@ -2,7 +2,7 @@ * Copyright (C) 2012 David Goulet * Copyright (C) 2013 Jérémie Galarneau * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */ diff --git a/src/common/utils.h b/src/common/utils.h index a0b2622a9..791b1098e 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2012 David Goulet * - * SPDX-License-Identifier: GPL-2.0-only + * SPDX-License-Identifier: LGPL-2.1-only * */