Skip to content

Commit 907b223

Browse files
Jakub Kicinskiborkmann
authored andcommitted
tools: bpftool: dual license all files
Currently bpftool contains a mix of GPL-only and GPL or BSD2 licensed files. Make sure all files are dual licensed under GPLv2 and BSD-2-Clause. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Roman Gushchin <guro@fb.com> Acked-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Stanislav Fomichev <sdf@google.com> Acked-by: Sean Young <sean@mess.org> Acked-by: Jiri Benc <jbenc@redhat.com> Acked-by: David Calavera <david.calavera@gmail.com> Acked-by: Andrey Ignatov <rdna@fb.com> Acked-by: Joe Stringer <joe@wand.net.nz> Acked-by: David Ahern <dsahern@gmail.com> Acked-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Acked-by: Petar Penkov <ppenkov@stanford.edu> Acked-by: Sandipan Das <sandipan@linux.ibm.com> Acked-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Taeung Song <treeze.taeung@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> CC: okash.khawaja@gmail.com Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 02ff58d commit 907b223

File tree

10 files changed

+10
-7
lines changed

10 files changed

+10
-7
lines changed

tools/bpf/bpftool/btf_dumper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
/* Copyright (c) 2018 Facebook */
33

44
#include <ctype.h>

tools/bpf/bpftool/cgroup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
// Copyright (C) 2017 Facebook
33
// Author: Roman Gushchin <guro@fb.com>
44

tools/bpf/bpftool/jit_disasm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
12
/*
23
* Based on:
34
*

tools/bpf/bpftool/json_writer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
12
/*
23
* Simple streaming JSON writer
34
*

tools/bpf/bpftool/json_writer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
12
/*
23
* Simple streaming JSON writer
34
*

tools/bpf/bpftool/map_perf_ring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0-only
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
/* Copyright (C) 2018 Netronome Systems, Inc. */
33
/* This program is free software; you can redistribute it and/or
44
* modify it under the terms of version 2 of the GNU General Public

tools/bpf/bpftool/net.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
// Copyright (C) 2018 Facebook
33

44
#define _GNU_SOURCE

tools/bpf/bpftool/netlink_dumper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
// Copyright (C) 2018 Facebook
33

44
#include <stdlib.h>

tools/bpf/bpftool/netlink_dumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0+ */
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
22
// Copyright (C) 2018 Facebook
33

44
#ifndef _NETLINK_DUMPER_H_

tools/bpf/bpftool/perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
// Copyright (C) 2018 Facebook
33
// Author: Yonghong Song <yhs@fb.com>
44

0 commit comments

Comments
 (0)