Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1233645

Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol
Date 2015-09-27 13:10 +0200
Message-ID <qdi0a-5mv-19@gated-at.bofh.it> (permalink)
References <qbAXg-5tC-13@gated-at.bofh.it> <qbAXg-5tC-15@gated-at.bofh.it> <qbAXg-5tC-11@gated-at.bofh.it> <qck43-3yV-49@gated-at.bofh.it> <qdhGN-4HX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol Thomas Gleixner <tglx@linutronix.de> - 2015-09-22 21:00 +0200
  Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol Andy Lutomirski <luto@amacapital.net> - 2015-09-24 21:10 +0200
    Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol Thomas Gleixner <tglx@linutronix.de> - 2015-09-27 12:50 +0200
      Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol Borislav Petkov <bp@alien8.de> - 2015-09-27 13:10 +0200
        Re: [PATCH] x86/mm: Export cpu_tlbstate as non-GPL symbol Richard Weinberger <richard.weinberger@gmail.com> - 2015-09-27 13:20 +0200

csiph-web