> > While the Kernel is under GPL 2. > > The headers and system call are under exception, so user can use the > > Kernel with non GPL code. But any changes or addition to the kernel > > itself should be GPL 2. > > This is very different. The Linux kernel is supposed to run any kind of > programs under various licenses. Linux PTP is not a generic mechanism > intended to run other software. > > [Slightly off topic: Moreover, the kernel has a strict boundary (uAPI) > between its internals and the user space programs. It's so strictly defined > that it does not require LGPL but instead is covered by a GPL exception. That > is different to libraries. In fact, the kernel uAPI is more close to stuff > like RPC or REST API than to libraries.]
I merely use the kernel as example that copywrites holders think of using their GPL software with non GPL software. LGPL is only one way common to libraries, but there are other approaches. > > The exception means that any code that is part of the LinuxPTP must be > > coverd by GPL. > > > > But user may embedded a library in their non GPL application and > > communicate with the ptp4l. > > > > Do you have another suggestion? > > Why can't those applications that use parts of linuxptp code be licensed > under GPL? That seems like a win for everybody. If I could write all of my software as GPL, I would not ask. Although I personally in favour, sometimes there are more constrains that are beyond me. I do not ask you copywrites holders to solve all of the licence constrains, just for more flexible with a library that is derive from the project. I was looking for a management interface to communicate with the ptp4l without implement PTP all over again. I only find future SNMP support, but SNMP is more suitable for NMS. I did not find any simple way to query the ptp4l for it's status without using the PMC tool. > Jiri Any advice is welcome, if I can add GPL code to improve, I will. Erez _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel