-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpf: Dual-license code as GPL 2.0 and 2-Clause BSD #1648
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kkourt
force-pushed
the
pr/kkourt/bpf-dual
branch
from
October 24, 2023 14:08
a3adc8f
to
e27112c
Compare
kkourt
added
the
release-note/misc
This PR makes changes that have no direct user impact.
label
Oct 24, 2023
kkourt
requested review from
jrfastab,
olsajiri,
tixxdz,
tpapagian and
kevsecurity
October 24, 2023 14:18
tpapagian
approved these changes
Oct 24, 2023
mtardy
approved these changes
Oct 24, 2023
willfindlay
approved these changes
Oct 24, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing permissive licensing
tixxdz
approved these changes
Oct 24, 2023
jrfastab
approved these changes
Oct 24, 2023
olsajiri
approved these changes
Oct 24, 2023
kevsecurity
approved these changes
Oct 24, 2023
Forsworns
approved these changes
Oct 25, 2023
sharlns
approved these changes
Oct 25, 2023
sarahfujimori
approved these changes
Oct 30, 2023
Relicense most code under the "bpf/" directory as dual-licensed under the terms of both the GPL 2.0 license and the 2-Clause BSD license. Signed-off-by: Kornilios Kourtis <[email protected]>
Relicense most code under the "bpf/" directory as dual-licensed under the terms of both the GPL 2.0 license and the 2-Clause BSD license. The files were processed with a sed script, as follows: $ cat license.sed # C sources and sed scripts that are GPL-2.0 s=^\(\(#\|//\|/\*\) *SPDX-License-Identifier: \)GPL-2.0\(\( \*/\)\?\)$=\1(GPL-2.0-only OR BSD-2-Clause)\3= # License section for ELF objects s=\(__attribute__((section("license"), used)).*\)"GPL"=\1"Dual BSD/GPL"= $ find bpf -type f -print0 | xargs -0 -P8 sed -i -f ./license.sed Files in bpf/include were left intact. The identified contributors, from whom we received no answers to this date, but whose contributions to bpf/ are only of minor nature such as straightforward cleanups, small fixes, or spelling corrections, are: - Dmitry Savintsev <[email protected]> - dechengyuan <[email protected]> Acked-by: Jiri Olsa <[email protected]> Acked-by: Djalal Harouni <[email protected]> Acked-by: Anastasios Papagiannis <[email protected]> Acked-by: Kevin Sheldrake <[email protected]> Acked-by: Kornilios Kourtis <[email protected]> Acked-by: Peihao Yang <[email protected]> Acked-by: William Findlay <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Mahe Tardy <[email protected]> Acked-by: Sarah Fujimori <[email protected]> Acked-by: William Findlay <[email protected]> Signed-off-by: Kornilios Kourtis <[email protected]>
kkourt
force-pushed
the
pr/kkourt/bpf-dual
branch
from
November 1, 2023 07:23
e27112c
to
851c304
Compare
Dead link was already fixed, merging. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As is the case with Cilium, this PR aims to change the license of Tetragon's bpf code to be dual licensed as GPL 2.0 and 2-Clause BSD.
Fixes: #420.
For more context see: cilium/cilium#18823.
As such, I would like to ask all authors of Tetragon bpf code to review this PR.
CC: @jrfastab @olsajiri @tixxdz @tpapagian @kevsecurity @Forsworns @willfindlay @mtardy @sarahfujimori @dmitris @Y-dc