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-Tag: v2.13.3~3 X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=commitdiff_plain;h=395004a13b038fde13364a662d735d16937ea2d1 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.c b/src/common/bytecode/bytecode.c index 28224e30f..34dcbb922 100644 --- a/src/common/bytecode/bytecode.c +++ b/src/common/bytecode/bytecode.c @@ -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.c b/src/common/compat/compat-fcntl.c index 95999686a..5c0bdc98f 100644 --- a/src/common/compat/compat-fcntl.c +++ b/src/common/compat/compat-fcntl.c @@ -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.c b/src/common/compat/directory-handle.c index a66d768e8..887e83593 100644 --- a/src/common/compat/directory-handle.c +++ b/src/common/compat/directory-handle.c @@ -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 24f1e6f68..27203d3fa 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.c b/src/common/compat/poll.c index ad3e90f2d..9b6d26dda 100644 --- a/src/common/compat/poll.c +++ b/src/common/compat/poll.c @@ -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 c9fba2d6b..f0791512f 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 fda00e536..1879529dd 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 75ff303d4..50b7253b6 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.c b/src/common/config/session-config.c index 2263d9478..bb4e9feea 100644 --- a/src/common/config/session-config.c +++ b/src/common/config/session-config.c @@ -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 1a6019fb1..21ddb2ed6 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 a13e8d654..ca0a2b1db 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.c b/src/common/defaults.c index 888d37ee3..3ae3e37fe 100644 --- a/src/common/defaults.c +++ b/src/common/defaults.c @@ -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.c b/src/common/error.c index 4d6b26b22..ee00ca881 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -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 605df859a..d656625d1 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.c b/src/common/fd-tracker/utils.c index 85d28b294..844586eca 100644 --- a/src/common/fd-tracker/utils.c +++ b/src/common/fd-tracker/utils.c @@ -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 202c4a1b8..bc0db0973 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.c b/src/common/hashtable/utils.c index 100b9c10f..ef0807e6e 100644 --- a/src/common/hashtable/utils.c +++ b/src/common/hashtable/utils.c @@ -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.c b/src/common/mi-lttng.c index a84e7bc86..558f21073 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -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 33c39aa6c..c07355557 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.c b/src/common/runas.c index afbec8882..ac268cfd5 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -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 460dec6cf..71aed96ea 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.c b/src/common/session-descriptor.c index 276c840a3..8b475909c 100644 --- a/src/common/session-descriptor.c +++ b/src/common/session-descriptor.c @@ -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.c b/src/common/snapshot.c index ec10f8d63..f7ea89c6c 100644 --- a/src/common/snapshot.c +++ b/src/common/snapshot.c @@ -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 3edcf16ae..024364dfd 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.c b/src/common/spawn-viewer.c index 4d90a1a6c..13cc79213 100644 --- a/src/common/spawn-viewer.c +++ b/src/common/spawn-viewer.c @@ -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 409c60ec8..c5c71a03a 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.c b/src/common/string-utils/string-utils.c index 80b9f7350..bc71e01da 100644 --- a/src/common/string-utils/string-utils.c +++ b/src/common/string-utils/string-utils.c @@ -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 25f110856..0d1484016 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.c b/src/common/time.c index 90ce4d4b6..61ff691e3 100644 --- a/src/common/time.c +++ b/src/common/time.c @@ -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.c b/src/common/unix.c index d3bb48f44..ec3a4ba97 100644 --- a/src/common/unix.c +++ b/src/common/unix.c @@ -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 4f69e6d48..2897df968 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.c b/src/common/uri.c index a774cb3cb..26a7ca72d 100644 --- a/src/common/uri.c +++ b/src/common/uri.c @@ -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 ac1de9e0c..d8cabdc01 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.c b/src/common/utils.c index 391e6d77e..5aedb0889 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -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 2ea3d62ce..6eb8bf371 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 * */