aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf_errno.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2018-10-05 23:40:00 +0000
committerDaniel Borkmann <[email protected]>2018-10-08 08:09:48 +0000
commit1bc38b8ff6cc54b1cd925525c0a9ffa7eef4d23b (patch)
tree3246a41584f90afc3bbf4d7f0121566e138c0bc2 /tools/lib/bpf/libbpf_errno.c
parentxsk: proper AF_XDP socket teardown ordering (diff)
downloadkernel-1bc38b8ff6cc54b1cd925525c0a9ffa7eef4d23b.tar.gz
kernel-1bc38b8ff6cc54b1cd925525c0a9ffa7eef4d23b.zip
libbpf: relicense libbpf as LGPL-2.1 OR BSD-2-Clause
libbpf is maturing as a library and gaining features that no other bpf libraries support (BPF Type Format, bpf to bpf calls, etc) Many Apache2 licensed projects (like bcc, bpftrace, gobpf, cilium, etc) would like to use libbpf, but cannot do this yet, since Apache Foundation explicitly states that LGPL is incompatible with Apache2. Hence let's relicense libbpf as dual license LGPL-2.1 or BSD-2-Clause, since BSD-2 is compatible with Apache2. Dual LGPL or Apache2 is invalid combination. Fix license mistake in Makefile as well. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrey Ignatov <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Acked-by: Björn Töpel <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: David Beckett <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Acked-by: Joe Stringer <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Acked-by: Quentin Monnet <[email protected]> Acked-by: Thomas Graf <[email protected]> Acked-by: Roman Gushchin <[email protected]> Acked-by: Wang Nan <[email protected]> Acked-by: Yonghong Song <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf_errno.c')
-rw-r--r--tools/lib/bpf/libbpf_errno.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/lib/bpf/libbpf_errno.c b/tools/lib/bpf/libbpf_errno.c
index 2464ade3b326..d83b17f8435c 100644
--- a/tools/lib/bpf/libbpf_errno.c
+++ b/tools/lib/bpf/libbpf_errno.c
@@ -1,23 +1,10 @@
-// SPDX-License-Identifier: LGPL-2.1
+// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
/*
* Copyright (C) 2013-2015 Alexei Starovoitov <[email protected]>
* Copyright (C) 2015 Wang Nan <[email protected]>
* Copyright (C) 2015 Huawei Inc.
* Copyright (C) 2017 Nicira, Inc.
- *
- * This program 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;
- * version 2.1 of the License (not later!)
- *
- * This program 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 program; if not, see <http://www.gnu.org/licenses>
*/
#include <stdio.h>