Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2025 13:00:40 -1000
From:      Warner Losh <imp@bsdimp.com>
To:        Rick Macklem <rick.macklem@gmail.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: copying lines from one .h to another with different copyrights
Message-ID:  <CANCZdfp6JaYBnh7cbpWhDU0rTHeni4mzVk1QZW8R5%2BRWO=-9bw@mail.gmail.com>
In-Reply-To: <CAM5tNy6GuOt9r43qfYSo%2B5anSQNH0Fi4BXcEWtotBZ5LQKaH6A@mail.gmail.com>

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

[-- Attachment #1 --]
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
>
>

[-- Attachment #2 --]
<div dir="auto">Got diff? Hard to know without it...<div dir="auto"><br></div><div dir="auto">But if it&#39;s just interface info and the files are &gt;~200 lines, I&#39;d just copy.<div dir="auto"><br></div><div dir="auto">If there are comments, or the files are small, copy the copyright/license too.</div><div dir="auto"><br></div><div dir="auto">Warner </div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Aug 1, 2025, 12:53 PM Rick Macklem &lt;<a href="mailto:rick.macklem@gmail.com">rick.macklem@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am working on a patch to fix the kgssapi so that it<br>
works for MIT&#39;s Kerberos.<br>
<br>
I have copied about 20lines from the MIT .h file in<br>
/usr/include/gssapi/gssapi_krb5.h to /usr/src/sys/kgssapi/gssapi.h.<br>
(The kernel one is a small subset that the kernel code needs.)<br>
<br>
My question is...<br>
Since the two .h files have different copyright notices, do I need<br>
to copy the copyright notice into /usr/src/sys/kgssapi/gssapi.h?<br>
<br>
Thanks for any info (amateur lawyers welcome to comment), rick<br>
<br>
</blockquote></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp6JaYBnh7cbpWhDU0rTHeni4mzVk1QZW8R5%2BRWO=-9bw>