-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
License exception for GPL-2.0 WITH Linux-syscall-note
file in containerd/btrfs
#174
Comments
@swinslow @caniszczyk @amye Could you take a look? |
@stevvooe Do we still need to keep this open, or do you find a way to avoid cgo without importing GPL-2.0 WITH Linux-syscall-note header? |
@AkihiroSuda - connecting back in here, I'm getting a process set up for our next board meeting. For all license exception requests, we need the following information in order to help make a decision to grant an exception.
|
The current version of
So it would be still nice get explicit approval for using
None
Not newly created code. They are from the Linux kernel (
Yes, but maybe s/3rd/1st/ , as the CNCF belongs to the Linux Foundation.
The files are included as kernel uapi headers (
The kernel maintainers maintain the kernel uapi headers.
The kernel maintainers keep the kernel uapi headers up to date with security patches. |
This is currently scheduled for review in the June 8th meeting of the Legal Committee. |
Legal Committee met today to review this, one question came up: Please confirm that there are no inlines in the headers? |
There are, but very subtle |
Regarding the inline functions in btrfs_tree.h:
|
Looks like we do not use inline functions from btrfs headers. We use a #include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,12,0)
#error "Headers from kernel >= 4.12 are required on compilation time (not on run time)"
#endif |
EDIT (March 28, 2023): See #174 (comment) for the current situation
(Original post on Aug 2021)
We containerd maintainers would like to include a file that is machine-translated from a
GPL-2.0 WITH Linux-syscall-note
file, for the sake of calling btrfs-related ioctl syscalls.We interpret that
containerd/btrfs
is auser programs that use kernel services by normal system calls
mentioned in the Linux-syscall-note, anddoes not fall under the heading of "derived work"
of the GPL-2.0 code.GPL-2.0 WITH Linux-syscall-note
: https://github.com/torvalds/linux/blob/v5.13/include/uapi/linux/btrfs_tree.hThe text was updated successfully, but these errors were encountered: