Re: copying lines from one .h to another with different copyrights

From: Warner Losh <imp_at_bsdimp.com>
Date: Fri, 01 Aug 2025 23:00:40 UTC
Got diff? Hard to know without it...

But if it's just interface info and the files are >~200 lines, I'd just
copy.

If there are comments, or the files are small, copy the copyright/license
too.

Warner

On Fri, Aug 1, 2025, 12:53 PM Rick Macklem <rick.macklem@gmail.com> wrote:

> Hi,
>
> I am working on a patch to fix the kgssapi so that it
> works for MIT's Kerberos.
>
> I have copied about 20lines from the MIT .h file in
> /usr/include/gssapi/gssapi_krb5.h to /usr/src/sys/kgssapi/gssapi.h.
> (The kernel one is a small subset that the kernel code needs.)
>
> My question is...
> Since the two .h files have different copyright notices, do I need
> to copy the copyright notice into /usr/src/sys/kgssapi/gssapi.h?
>
> Thanks for any info (amateur lawyers welcome to comment), rick
>
>