Skip site navigation (1)Skip section navigation (2)
Date:      22 Sep 2022 13:03:08 -0400
From:      "John Levine" <johnl@iecc.com>
To:        freebsd-questions@freebsd.org
Cc:        metatamamo@gmail.com
Subject:   Re: License of input-event-codes.h
Message-ID:  <20220922170308.F07C44AE3FDD@ary.qy>
In-Reply-To: <CAJ_2sccv24gT2tdN2_-ABvNGm7s632=UEaxHO7dXXa7pOtNEzw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

It appears that tamamo meta <metatamamo@gmail.com> said:
>-=-=-=-=-=-
>
>Hello All
>
>I want to use input-event-codes.h for my project.
>https://cgit.freebsd.org/src/tree/sys/dev/evdev/input-event-codes.h
>
>However, I found a file with same name that differs only copyright and
>license notation in Linux kernel.
>https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
>
>How should I interpret the difference between the two licenses when
>using it for my project?

Pick the one you prefer. Both the 3-clause BSD license and the GPL
allow other licenses, so they're both valid. For obvious reasons I'd
pick the BSD one.

>Also, which one is the original?

Probably both.  It doesn't matter.

As someone else noted, since this file defines an interface, in the US
it is not subject to copyright. But that's only in the US.

Note that if you just #include the file in your code and use the defined
terms, that's not making a copy of it.

R's,
John


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220922170308.F07C44AE3FDD>