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: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=96639848280e5dae29b0b03e895b0f9868a4ef50 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/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/compat-poll.c b/src/common/compat/compat-poll.c index fd304a23b..3cac580bb 100644 --- a/src/common/compat/compat-poll.c +++ b/src/common/compat/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/directory-handle.c b/src/common/compat/directory-handle.c index aea4be5fe..a7e0e7868 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 574a09d74..e514dc5e3 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 42c7fab31..652802a67 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/fcntl.h b/src/common/compat/fcntl.h index bbbf47ba5..e4e17e8e7 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.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/socket.h b/src/common/compat/socket.h index 1b9989369..4045a89b4 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 41f675041..9e1143380 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 5b65a9e0a..946e8ccb7 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 82400a5ae..99e505778 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 a0d93308c..f03b44c60 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 70063e504..7300e50e0 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 96cc10bd4..8b4dfd518 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 fe2cdcc4e..cfdab69bb 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 aa7574ef3..580769563 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 75a0844be..6b28837ad 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 ebf4f6e52..76455c25c 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 c9ad486b8..6f7d38b1f 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 758b60505..eaa652444 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 f111320e4..50778073c 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/spawn-viewer.c b/src/common/spawn-viewer.c index 9f35a88b5..36866dc2a 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 578924682..bb05e904d 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 e77ddfedb..722686678 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 3c1a413ce..91cdd5a53 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 3a10447e9..54eb2a4ab 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 3945eae4c..c37a2ac81 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 5505a4e70..f44c0821c 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 0638aebd9..a27f873bf 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 4295a584a..6c34dd562 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 9544eba37..79049508b 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 * */