Skip to contentSkip to conversation

Add missing SPDX license identifiers to uprobes

PATCH Mathieu Desnoyers 1 participant 1 message Nov 8, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged, thanks!

Mathieu

Quoted 78 lines · ----- On Nov 8, 2018, at 6:37 PM, Michael Jeanson [email protected] wrote:

---
probes/lttng-uprobes.c | 16 ++--------------
wrapper/uprobes.h | 22 +++++-----------------

2 files changed, 7 insertions(+), 31 deletions(-)
probes/lttng-uprobes.c +2 -14
index bcdbbd8..64d8237 100644
@@ -1,4 +1,5 @@
-/*
+/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
+ *
 * probes/lttng-uprobes.c
 *
 * LTTng uprobes integration module.
@@ -6,19 +7,6 @@
 * Copyright (C) 2013 Yannick Brosseau <[email protected]>
 * Copyright (C) 2009-2012 Mathieu Desnoyers <[email protected]>
 *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; only
- * version 2.1 of the License.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */
 
 #include <linux/fdtable.h>
wrapper/uprobes.h +5 -18
index e38a541..6ea9df1 100644
@@ -1,7 +1,5 @@
-#ifndef _LTTNG_WRAPPER_UPROBES_H
-#define _LTTNG_WRAPPER_UPROBES_H
-
-/*
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+ *
 * wrapper/uprobes.h
 *
 * wrapper around uprobes. Using KALLSYMS to get its address when
@@ -11,21 +9,11 @@
 * Copyright (C) 2013 Yannick Brosseau <[email protected]>
 * Copyright (C) 2017 Francis Deslauriers <[email protected]>
 *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; only
- * version 2.1 of the License.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */
 
+#ifndef _LTTNG_WRAPPER_UPROBES_H
+#define _LTTNG_WRAPPER_UPROBES_H
+
 #include <linux/version.h>
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
--

2.17.1

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com