[PATCH 6/6] src/uapi/wireguard: add SPDX tag

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Dec 1 10:43:46 CET 2017

On Thu, Nov 30, 2017 at 07:02:24PM +0100, Jason A. Donenfeld wrote:
> On Thu, Nov 30, 2017 at 4:23 PM, Greg Kroah-Hartman
> <gregkh at linuxfoundation.org> wrote:
> > Update the wireguard.h file with the currently convential GPL2+userspace
> > exception tag.
> >
> > Note, this is a different license than what the text itself says in the
> > file, if you wish to stick with the MIT license for this file, that's
> > fine, but then it should be listed as:
> >         ((GPL-2.0 WITH Linux-syscall-note) OR MIT)
> I'd prefer doing only "GPL-2.0 WITH Linux-syscall-note", since it's
> more uniform, but I don't know if it covers a particular use use case:
> I expect for many projects to wholesale copy and paste this file into
> their own projects, and those projects might not be GPL-friendly. Does
> the Linux-syscall-note allow for that? Or should I stick with
> GPL-2.0||MIT for the avoidance of doubt?

I think if you want others to be able to copy the file into different
projects without any doubt at all, stick to:
	((GPL-2.0 WITH Linux-syscall-note) OR MIT)
as that covers everything.

> In terms of "intellectual property", the file itself is extremely
> boring, just defining some enums.

I'm not going to get into the argument of what is, and is not, a
copyrightable work :)

But to be safe, put this on the top so that everyone knows your
intention, which is the most important thing of all, as intent matters a
lot to companies and to courts.


greg k-h

More information about the WireGuard mailing list