Skip to content

Commit

Permalink
Also make ebpf_common.h licensed under GPL-2.0-only or Apache-2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Fingerhut <[email protected]>
  • Loading branch information
jafingerhut committed Jan 29, 2025
1 parent 62207aa commit bdf0078
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
16 changes: 7 additions & 9 deletions backends/ebpf/runtime/ebpf_common.h
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
/*
Copyright 2018 VMware, Inc.
SPDX-License-Identifier: (GPL-2.0-only or Apache-2.0)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
This file is dual-license, so that when it is included from a source
file intended to be compiled and loaded into the Linux kernel, it can
be included from a file licensed under GPL-2.0-only.
http://www.apache.org/licenses/LICENSE-2.0
When it is included from a source file intended to be compiled and run
as a user space program, it can be included from a file licensed as
Apache-2.0.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

/*
Expand Down
1 change: 0 additions & 1 deletion backends/ebpf/runtime/ebpf_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ be included from a file licensed under GPL-2.0-only.
When it is included from a source file intended to be compiled and run
as a user space program, it can be included from a file licensed as
Apache-2.0.
*/


Expand Down

0 comments on commit bdf0078

Please sign in to comment.