From nobody Fri Aug 01 23:00:40 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bv1dl1Wn9z63Fb3 for ; Fri, 01 Aug 2025 23:00:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bv1dk3bvdz3SgG for ; Fri, 01 Aug 2025 23:00:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=OWiEwyZw; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::1032) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-31ecd1f0e71so1457915a91.3 for ; Fri, 01 Aug 2025 16:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1754089252; x=1754694052; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pqvol8MBWiuT+LHzuz7KVWhAlqT8lWSXbFEzfw1Bt0c=; b=OWiEwyZwOVnzliJMG+iteMpMvlS1Nd2B+c0QpxThZ2CRDT2qkQVxxbr1n26yQs6tMd vJrktgfKqVdfJzvInf8vCKxMOp9L0O7eR61LWvczXXdL1cY2dIk0XRlA/F45XDLBPfq5 EzTYvHR2UrTAe2+iWeKgAdpI32u+tA1NbgsPPAK/vCL9BImbOrf/wyKS9ck7I0//IABv +uN7scolyQXxaTFWZEjI8gGJhgQxJtAKIJQtjkrYZufeZEyCVLmeL71Z6Sl7UrBQk5S5 sg7OLwAhcDKp/6Yq5hylhQW0DAG+Z8YNxIbSx3LXSTg5LvCgc2NBDdgkN4/k3EN30s+1 mo7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1754089252; x=1754694052; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pqvol8MBWiuT+LHzuz7KVWhAlqT8lWSXbFEzfw1Bt0c=; b=S1XQMe0OWdyIKPcUxKs4owrtkFBkdksJlddxS0I2O6e/klfE6jq7GTMzA1wF+yGwgD 0/qc4nQ5irndgoZLNRXpdUe0BoGNq6oLrRTH8jtHyBzgTRRdvE70tZejX3qpjTPOtslT WDcMU71cyz0tQuHNrIHN+PoAawlyZlm487vVGXWNm85Y9IjcKLKotWYM/d5/bMVWjamf rkI8pYqBJ9zpS4BLnijSaWAnUTJCZ9CdhHqThAsEV6DBIMqfl05A7HEP071ZzecFXx1x 00odnOYVjRiHptv6CVlxdC7CqEbiZF3KsGTt8eFcqBFS8EGZznEkE6rwGx8AkDCdm/H3 S/Jw== X-Gm-Message-State: AOJu0YySUpDa48GpVDR6SFqFxSJ5pIMiay4YBzy1CrCjeCHjuRdGbxlx Q7JaKYDs8g1j1kvnheUdgUZziL82M4M6inUqbe8Z2sSBWNzVbPvPijmeXvDL+5NR3sNhYFhJ3bp lnboahoD72JI79O7J6N+K89qAmMWR2irw3UzI4cz4lg== X-Gm-Gg: ASbGncuiRNo0FRDGRO7u2nqjp9slVaGsocB9MyAIrgJvgglISUSAluBjmIoeetP4K1+ 7/RKX5lrTiw7HZTQqKPP8Cjo1pPJb1C6s3t3n2Nq2MvpK4K8/dwzeSchLByrBvBCELcXb45wlHd MtLb8HTnOspVF+TorLNhvzke9F6qSlj1zDzkqF4HmUtcyGTuvbYXtov7yxCaevadNuZeedXseDV Zv+pAS92Sun5QpY7nPgkLheHVUvoMeTDbrX+cQ= X-Google-Smtp-Source: AGHT+IFlakv0JwMZPUYS7gB6A9KhRI0aGYsYMzlp9XXFQHiMaCPtO733ed+uYKkKJ2BDYrstFyFFkCydxOYKocWvNDo= X-Received: by 2002:a17:90b:4a4e:b0:311:c1ec:7d12 with SMTP id 98e67ed59e1d1-321162c93fcmr1892895a91.23.1754089252188; Fri, 01 Aug 2025 16:00:52 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Fri, 1 Aug 2025 13:00:40 -1000 X-Gm-Features: Ac12FXx2sdbC0VvSIxt6ZEsgG1OgiEIgreLFVzKmZ6ZtKY5YZpkPSaIKbmf1epY Message-ID: Subject: Re: copying lines from one .h to another with different copyrights To: Rick Macklem Cc: FreeBSD CURRENT Content-Type: multipart/alternative; boundary="000000000000c809e0063b55ba37" X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_RCPT(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1032:from]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4bv1dk3bvdz3SgG X-Spamd-Bar: -- --000000000000c809e0063b55ba37 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Rick Macklem = 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 > > --000000000000c809e0063b55ba37 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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=C2= =A0

<= div dir=3D"ltr" class=3D"gmail_attr">On Fri, Aug 1, 2025, 12:53=E2=80=AFPM = Rick Macklem <rick.macklem@gma= il.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

--000000000000c809e0063b55ba37--