* UAPI syscall exception interpretation @ 2022-05-11 21:19 Muhammad Ali 2022-05-12 4:03 ` Greg KH 2022-05-14 2:00 ` Valdis Klētnieks 0 siblings, 2 replies; 6+ messages in thread From: Muhammad Ali @ 2022-05-11 21:19 UTC (permalink / raw) To: Kernelnewbies@kernelnewbies.org [-- Attachment #1.1: Type: text/plain, Size: 516 bytes --] Consider a file: ftpclient.c Only include is: #include <sys/socket.h> Then a few hundred lines of personal code. Then compiler/linker take in ftpcliebt.c and produce a.out (statically or dynamically linked, consider both cases if it makes a licensing difference) Does the Linux-syscall-note say that a.out can ALL be under any license of your choice? Or do you have to note that your binary is under License X and also includes code which is under license GPL-2.0-WITH-Linux-syscall-note? Thanks -ma [-- Attachment #1.2: Type: text/html, Size: 1635 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: UAPI syscall exception interpretation 2022-05-11 21:19 UAPI syscall exception interpretation Muhammad Ali @ 2022-05-12 4:03 ` Greg KH 2022-05-12 23:21 ` Muhammad Ali 2022-05-14 2:00 ` Valdis Klētnieks 1 sibling, 1 reply; 6+ messages in thread From: Greg KH @ 2022-05-12 4:03 UTC (permalink / raw) To: Muhammad Ali; +Cc: Kernelnewbies@kernelnewbies.org On Wed, May 11, 2022 at 09:19:42PM +0000, Muhammad Ali wrote: > Consider a file: ftpclient.c > Only include is: #include <sys/socket.h> > Then a few hundred lines of personal code. > Then compiler/linker take in ftpcliebt.c and produce a.out (statically or dynamically linked, consider both cases if it makes a licensing difference) > > Does the Linux-syscall-note say that a.out can ALL be under any license of your choice? > > Or do you have to note that your binary is under License X and also includes code which is under license GPL-2.0-WITH-Linux-syscall-note? For legal issues, please contact a lawyer. You wouldn't ask a random internet mailing list full of programmers questions about dental care, right? :) Good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: UAPI syscall exception interpretation 2022-05-12 4:03 ` Greg KH @ 2022-05-12 23:21 ` Muhammad Ali 2022-05-13 5:36 ` Greg KH 0 siblings, 1 reply; 6+ messages in thread From: Muhammad Ali @ 2022-05-12 23:21 UTC (permalink / raw) To: Greg KH; +Cc: Kernelnewbies@kernelnewbies.org [-- Attachment #1.1: Type: text/plain, Size: 1780 bytes --] From: Greg KH Sent: May 12, 2022 12:03 AM To: Muhammad Ali <M.ALI023@hotmail.com> Cc: Kernelnewbies@kernelnewbies.org <Kernelnewbies@kernelnewbies.org> Subject: Re: UAPI syscall exception interpretation >On Wed, May 11, 2022 at 09:19:42PM +0000, >Muhammad Ali wrote: >> Consider a file: ftpclient.c >> Only include is: #include <sys/socket.h> >> Then a few hundred lines of personal code. >> Then compiler/linker take in ftpcliebt.c and >produce a.out (statically or dynamically linked, >consider both cases if it makes a licensing >difference) >> >> Does the Linux-syscall-note say that a.out can >ALL be under any license of your choice? >> >> Or do you have to note that your binary is under >License X and also includes code which is under >license GPL-2.0-WITH-Linux-syscall-note? >For legal issues, please contact a lawyer. You >wouldn't ask a random >internet mailing list full of programmers questions >about dental care, >right? :) > >Good luck! > >greg k-h Happy to see you responded Greg, since you have marked this issue as low priority since 2020, see https://lkml.org/lkml/2020/2/23/105 If we could finally get some clarity or examples to illustrate the exception and license, 2 years later, then that would be very nice, because I am not the only one who is thinking that the current syscall exception text and license.rst are not giving a clear interpretation as to when the GPL applies and on what code it applies. What do I tell the lawyer? “Here’s some conflicting licensing guide and license text and Greg said, on the mailing list, that things will be ‘made obvious’ but nothing has changed so just provide me with what you think”? Shouldn’t I be saying that sentence to the kernel maintainers, instead? Thanks, Greg -ma [-- Attachment #1.2: Type: text/html, Size: 3086 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: UAPI syscall exception interpretation 2022-05-12 23:21 ` Muhammad Ali @ 2022-05-13 5:36 ` Greg KH 2022-05-13 20:43 ` Muhammad Ali 0 siblings, 1 reply; 6+ messages in thread From: Greg KH @ 2022-05-13 5:36 UTC (permalink / raw) To: Muhammad Ali; +Cc: Kernelnewbies@kernelnewbies.org On Thu, May 12, 2022 at 11:21:03PM +0000, Muhammad Ali wrote: > From: Greg KH > Sent: May 12, 2022 12:03 AM > To: Muhammad Ali <M.ALI023@hotmail.com> > Cc: Kernelnewbies@kernelnewbies.org <Kernelnewbies@kernelnewbies.org> > Subject: Re: UAPI syscall exception interpretation > > >On Wed, May 11, 2022 at 09:19:42PM +0000, >Muhammad Ali wrote: > >> Consider a file: ftpclient.c > >> Only include is: #include <sys/socket.h> > >> Then a few hundred lines of personal code. > >> Then compiler/linker take in ftpcliebt.c and >produce a.out (statically or dynamically linked, >consider both cases if it makes a licensing >difference) > >> > >> Does the Linux-syscall-note say that a.out can >ALL be under any license of your choice? > >> > >> Or do you have to note that your binary is under >License X and also includes code which is under >license GPL-2.0-WITH-Linux-syscall-note? > > >For legal issues, please contact a lawyer. You >wouldn't ask a random > >internet mailing list full of programmers questions >about dental care, > >right? :) > > > >Good luck! > > > >greg k-h > > Happy to see you responded Greg, since you have marked this issue as low priority since 2020, see https://lkml.org/lkml/2020/2/23/105 Other things happened in 2020 that pushed this to the back of the list. > If we could finally get some clarity or examples to illustrate the exception and license, 2 years later, then that would be very nice, because I am not the only one who is thinking that the current syscall exception text and license.rst are not giving a clear interpretation as to when the GPL applies and on what code it applies. What do I tell the lawyer? “Here’s some conflicting licensing guide and license text and Greg said, on the mailing list, that things will be ‘made obvious’ but nothing has changed so just provide me with what you think”? Shouldn’t I be saying that sentence to the kernel maintainers, instead? If you have a lawyer that has issues with the current wording and you need help with that, please let me know and I can put them in contact with lawyers who can help them understand the issues involved. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: UAPI syscall exception interpretation 2022-05-13 5:36 ` Greg KH @ 2022-05-13 20:43 ` Muhammad Ali 0 siblings, 0 replies; 6+ messages in thread From: Muhammad Ali @ 2022-05-13 20:43 UTC (permalink / raw) To: Greg KH; +Cc: Kernelnewbies@kernelnewbies.org [-- Attachment #1.1: Type: text/plain, Size: 2573 bytes --] From: Greg KH Sent: May 13, 2022 1:36 AM To: Muhammad Ali <m.ali023@hotmail.com> Cc: Kernelnewbies@kernelnewbies.org <Kernelnewbies@kernelnewbies.org> Subject: Re: UAPI syscall exception interpretation On Thu, May 12, 2022 at 11:21:03PM +0000, Muhammad Ali wrote: > From: Greg KH > Sent: May 12, 2022 12:03 AM > To: Muhammad Ali <M.ALI023@hotmail.com> > Cc: Kernelnewbies@kernelnewbies.org <Kernelnewbies@kernelnewbies.org> > Subject: Re: UAPI syscall exception interpretation > > >On Wed, May 11, 2022 at 09:19:42PM +0000, >Muhammad Ali wrote: > >> Consider a file: ftpclient.c > >> Only include is: #include <sys/socket.h> > >> Then a few hundred lines of personal code. > >> Then compiler/linker take in ftpcliebt.c and >produce a.out (statically or dynamically linked, >consider both cases if it makes a licensing >difference) > >> > >> Does the Linux-syscall-note say that a.out can >ALL be under any license of your choice? > >> > >> Or do you have to note that your binary is under >License X and also includes code which is under >license GPL-2.0-WITH-Linux-syscall-note? > > >For legal issues, please contact a lawyer. You >wouldn't ask a random > >internet mailing list full of programmers questions >about dental care, > >right? :) > > > >Good luck! > > > >greg k-h > > Happy to see you responded Greg, since you have marked this issue as low priority since 2020, see https://lkml.org/lkml/2020/2/23/105 Other things happened in 2020 that pushed this to the back of the list. > If we could finally get some clarity or examples to illustrate the exception and license, 2 years later, then that would be very nice, because I am not the only one who is thinking that the current syscall exception text and license.rst are not giving a clear interpretation as to when the GPL applies and on what code it applies. What do I tell the lawyer? “Here’s some conflicting licensing guide and license text and Greg said, on the mailing list, that things will be ‘made obvious’ but nothing has changed so just provide me with what you think”? Shouldn’t I be saying that sentence to the kernel maintainers, instead? If you have a lawyer that has issues with the current wording and you need help with that, please let me know and I can put them in contact with lawyers who can help them understand the issues involved. thanks, greg k-h —————————— Thank you, Greg. I am starting to understand things much better. The issue from 2020 is taken care of and is now marked closed, correct? Thank you for your time, -ma [-- Attachment #1.2: Type: text/html, Size: 4482 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: UAPI syscall exception interpretation 2022-05-11 21:19 UAPI syscall exception interpretation Muhammad Ali 2022-05-12 4:03 ` Greg KH @ 2022-05-14 2:00 ` Valdis Klētnieks 1 sibling, 0 replies; 6+ messages in thread From: Valdis Klētnieks @ 2022-05-14 2:00 UTC (permalink / raw) To: Muhammad Ali; +Cc: Kernelnewbies@kernelnewbies.org On Wed, 11 May 2022 21:19:42 -0000, Muhammad Ali said: > Does the Linux-syscall-note say that a.out can ALL be under any license of > your choice? > Or do you have to note that your binary is under License X and also includes > code which is under license GPL-2.0-WITH-Linux-syscall-note? Not a lawyer, but... :) For any program that's big and complex enough that you aren't embarrassed to distribute it, the kernel isn't going to be your problem, because down in the details, your code is probably not issuing syscall() itself, but is letting glibc or musl or whatever the cool kids are using this week do the syscall. So what you need to worry about is the license on glibc or whatever... and also the license on any *other* libraries that you use (you're not going to write your own JSON parser or other stuff like that, are you?). In particular, understand the difference between GPL and LGPL licenses. There's also a lot of other userspace licenses in play - as an example on my laptop, I have: [~] for i in `rpm -qa`; do rpm -qi $i | grep ^License; done | sort | uniq -c > /tmp/licenses [~] wc /tmp/licenses 304 2397 14912 /tmp/licenses [~] more /tmp/licenses 3 License : (ASL 2.0 or MIT) and (BSD and MIT) 1 License : (Artistic 2.0 or ASL 2.0) and MIT 1 License : (Copyright only) and (Artistic or GPL+) 1 License : (Copyright only) and (GPL+ or Artistic) 2 License : (FTL or GPLv2+) and BSD and MIT and Public Domain and zlib with acknowledgement 1 License : (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT 1 License : (GPL+ or Artistic) and Artistic 2.0 and UCD 3 License : (GPL+ or Artistic) and BSD 1 License : (GPL+ or Artistic) and BSD and HSRL and MIT and UCD and Public domain 1 License : (GPL+ or Artistic) and CC0 1 License : (GPL+ or Artistic) and CC0 and Public Domain 1 License : (GPL+ or Artistic) and FSFAP (and so on for another 300-ish lines.. And as Greg noted, if the answer actually matters, hire a lawyer who is experienced in intellectual property law. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-05-14 2:01 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-05-11 21:19 UAPI syscall exception interpretation Muhammad Ali 2022-05-12 4:03 ` Greg KH 2022-05-12 23:21 ` Muhammad Ali 2022-05-13 5:36 ` Greg KH 2022-05-13 20:43 ` Muhammad Ali 2022-05-14 2:00 ` Valdis Klētnieks
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).