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

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Sat, 02 Aug 2025 05:03:04 UTC
On Fri, Aug 1, 2025 at 9:17 PM Warner Losh <imp@bsdimp.com> wrote:
>
> 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.
Ok, thanks, I'll include it, rick

>
> 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
>> >>