In this folder, all files are licensed under GPL-2.0. An exception to this are our go-files, which are licensed like the rest of the repository under Apache License Version 2.0.
The decision to use GPL-2.0 for our eBPF programs, all related C-code and compiled byte code is due to the interaction with the Linux kernel, which is also GPL-licensed. Especially the usage of some or all bpf_helper functions, linux types etc. is requiring us to license this code this way. Moreover some parts of our C-code and type definitions were inspired by GPL-2.0 code from the following repositories:
Usage of these repositories is directly referenced within the code.
Our userspace application interfaces with Linux kernel components indirectly by using system calls through the cilium/ebpf library, e.g. to activate our eBPF programs. During this process, we encountered a specific exception, as detailed here:
This copyright does *not* cover user programs that use kernel
services by normal system calls - this is merely considered normal use
of the kernel, and does *not* fall under the heading of "derived work".