Files
erofs-linux/tools/lib/bpf/str_error.h
T
Alexei Starovoitov 1bc38b8ff6 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]>
2018-10-08 10:09:48 +02:00

7 lines
205 B
C

/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
#ifndef __LIBBPF_STR_ERROR_H
#define __LIBBPF_STR_ERROR_H
char *libbpf_strerror_r(int err, char *dst, int len);
#endif /* __LIBBPF_STR_ERROR_H */