Re: copying lines from one .h to another with different copyrights
Date: Fri, 01 Aug 2025 23:34:31 UTC
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 >>