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

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 02 Aug 2025 04:17:25 UTC
It's in the edge. One could legitimately go either way. I'd be inclined to
include it, or some other acknowledgement.  If you really didn't want to,
that's defenible, but including is nicer.

Warner

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

> On Fri, Aug 1, 2025 at 4:00 PM Warner Losh <imp@bsdimp.com> wrote:
> >
> > 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.
> I've attached the diff. The file it is taken out of is 305 lines long.
>
> rick
>
> >
> > 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
> >>
>