Messages in this thread | | | Date | Sun, 27 Sep 2015 13:28:54 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol |
| |
On Sun, Sep 27, 2015 at 12:46:28PM +0200, Thomas Gleixner wrote: > > https://github.com/kolasa/fglrx-13.152/blob/master/firegl_public.c > > I stopped looking at this line: > > MODULE_LICENSE("GPL\0Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY");
"GPL" *and* "Proprietary"??!
How does that even work?
Oh, that depends on the kernel version:
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0) MODULE_LICENSE("Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY"); #else MODULE_LICENSE("GPL\0Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY"); #endif
With that '\0' string terminator in there?! WTF now?!
-- Regards/Gruss, Boris.
ECO tip #101: Trim your mails when you reply.
| |