lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230722024236.6081-1-stephen@networkplumber.org>
Date: Fri, 21 Jul 2023 19:42:36 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Daniel Borkmann <daniel@...earbox.net>,
	Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2] Add missing SPDX headers

All headers and source in iproute2 should be using SPDX license info.
Add a couple that were missed, and take off boilerplate.

Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
---
 include/bpf_util.h   | 6 +-----
 include/cg_map.h     | 1 +
 include/json_print.h | 8 ++------
 3 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/include/bpf_util.h b/include/bpf_util.h
index 6a5f8ec6529c..1c924f501f5f 100644
--- a/include/bpf_util.h
+++ b/include/bpf_util.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * bpf_util.h	BPF common code
  *
- *		This program is free software; you can distribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Daniel Borkmann <daniel@...earbox.net>
  *		Jiri Pirko <jiri@...nulli.us>
  */
diff --git a/include/cg_map.h b/include/cg_map.h
index d30517fd3417..6293b50ed1c9 100644
--- a/include/cg_map.h
+++ b/include/cg_map.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __CG_MAP_H__
 #define __CG_MAP_H__
 
diff --git a/include/json_print.h b/include/json_print.h
index 49d3cc14789c..0b1d84f78749 100644
--- a/include/json_print.h
+++ b/include/json_print.h
@@ -1,10 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * json_print.h		"print regular or json output, based on json_writer".
- *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
+ * json_print.h		print regular or json output, based on json_writer.
  *
  * Authors:    Julien Fortin, <julien@...ulusnetworks.com>
  */
-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ