From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30CE5C4338F for ; Fri, 6 Aug 2021 07:23:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E02F611CB for ; Fri, 6 Aug 2021 07:23:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240879AbhHFHXT (ORCPT ); Fri, 6 Aug 2021 03:23:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235225AbhHFHXT (ORCPT ); Fri, 6 Aug 2021 03:23:19 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C3DEC061798; Fri, 6 Aug 2021 00:23:03 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id b128so4944210wmb.4; Fri, 06 Aug 2021 00:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XuFVVa+IMMyIjGvlQhvPPAoGBz5/jLQa04J04GCQSYI=; b=rGj5rTUQ1W/0zoNZ6p7yRnvlqLLdu1YRf1xIXyrSHiWvq9LIkAIBaqVUusPtMpM6/2 2eFFOc3OeVPVV0rgXWRIXFYZLqmdKL0ESUFpd5poVLvcBl5cKKcmCclD/9BBlkiXFZkQ Zy4uKsa9Pw4r53VvxJ+wK6xkwEwvtQpoZ3TufsXQAQyS8psrs7KkSJivu8I6G7qdzguL wt6E+oeqbwwCBd32oKiusYAE/I1GCjmxipxXqXmlHIqrDhUI2YnLsOdmVmdMEH/B0J4O K8ET/q/VDtpjF4+S94EubXb5uv5MfvmaoFj0nJaoXBdA/HKx8cQc1XUP03EEA+FmfChW fG0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XuFVVa+IMMyIjGvlQhvPPAoGBz5/jLQa04J04GCQSYI=; b=qFslqxOvtR6mICXcDrMIaT8xPVvPbski+/Vut8t3UCjDa/kGlFVAo62yEiffU9seKE Rsa2vobN9qUA4gnadC12e7U2QKBH8RtwHG5LBVWGr9Bs+5rtsNcgUuXEhKgMhwuZuF6S a6bFeMUDNQ3G23MoO+dtWvCcyCWakTgc4/yMaCgZ7Rn7MCACpmVPclM7TvgEgnMYIhUy QzhIWrx0pR73JIOn0E3/IWmPTCQPtDiQfZ5jD2ozjZ4PXTkOaZpVvNZx9uQ4DyRb+snH 8Q5U/wQ3oEu3JHNxCXD++a75n2obugEHEoKkjCXXXgVdOglvDlP8DPw4HI2AInKZ9na2 i6Jw== X-Gm-Message-State: AOAM532s7jnIKQJGZDlfl3wiTQxIR0Q6aO3UPczwSfeNqvDtK+/mI0uY 1Imi0IEgHe2pjgMW2yOHMbDsXYO8eXA= X-Google-Smtp-Source: ABdhPJwgJQjv/NbyE304lE5CEG8PAxWAXeHwIHnZWvsmkPXHi/AwUbxMuFcNACq2ntz5ADN8NmciaA== X-Received: by 2002:a1c:4409:: with SMTP id r9mr1779947wma.150.1628234581727; Fri, 06 Aug 2021 00:23:01 -0700 (PDT) Received: from [10.8.0.10] ([195.53.121.100]) by smtp.gmail.com with ESMTPSA id z3sm11314317wmf.6.2021.08.06.00.23.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Aug 2021 00:23:01 -0700 (PDT) Subject: Re: Licensing example programs in man-pages (was [PATCH v3] ioctl_tty.2: Add example how to get or set baudrate on the serial port) To: Greg Kroah-Hartman , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Michael Kerrisk Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , libc-alpha@sourceware.org, "G. Branden Robinson" , linux-man@vger.kernel.org, linux-serial@vger.kernel.org, Walter Harms , Andres Brouwer References: <20210804220808.cetleob6dldpfnjk@pali> <20210805082243.qciylqnt5g74if7i@pali> <20210805084410.sb5lybdri6r7t2da@pali> <20210805095100.n2qkm3kdiucwt6jd@pali> <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> <4757a0c3-896f-a402-acb1-7e7fcadaa907@gmail.com> From: "Alejandro Colomar (man-pages)" Message-ID: <40ed8a18-cf49-f807-9227-201e994e9a5a@gmail.com> Date: Fri, 6 Aug 2021 09:22:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hi Greg, Pali, Hi GregOn 8/5/21 7:54 PM, Greg Kroah-Hartman wrote: >>> What is the license of this page? >> >> .../linux/man-pages$ head -n8 man2/ioctl_tty.2 >> .\" Copyright 2002 Walter Harms >> .\" and Andries Brouwer . >> .\" >> .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE) >> .\" Distributed under GPL > > What version of GPL? I don't know :/ Maybe v1... > >> .\" %%%LICENSE_END >> .\" >> .TH IOCTL_TTY 2 2021-03-22 "Linux" "Linux Programmer's Manual" >> >> I'm don't know what GPL_NOVERSION_ONLINE is at all. > > I would recommend adding proper SPDX markings to all of these files. > Even better, work to make the whole repo REUSE compliant which means > that there is no ambuiguity here. > Agree. If Michael has no problems with that, I'll add it to my TODO list. > But, the above license does not show up on the code in the original > example here, and that needs to be present if anyone wants this to be > used. Yup. > >> Still, if the code is going to have a different license than the rest of the >> page, it could perfectly have an SPDX comment in the first line of the >> example program. > > Even if it is different, it should still be present as no one can see > the license of a man page "easily" when reading the documentation > through normal tools. Yup. > > thanks, > > greg k-h > Pali, If you want to specify a specific license for your code, add 2 SPDX lines according to REUSE . If not, I'll assume that you don't care, and when I fix the pages to show the license (which in this case I'm not sure which one will be, maybe GPLv1) your code will use that same license. I'll take care of any necessary adjustments such as providing the license text in the repository; you don't need to do that. Cheers, Alex -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/