From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 133391F8C6 for ; Thu, 5 Aug 2021 15:29:16 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E47163836405 for ; Thu, 5 Aug 2021 15:29:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E47163836405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628177353; bh=X8OKOFT3oxnoboikDpFfPBkWTsiFzFpBrY0QV7ZSIdQ=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RX20V/jgqwDl5wCmoeUp/982rEP86BUEP30Sa2OWpP5IiDTNwLlU1tr6eHCj6Cfqb TBe84RNgcZbe/COcmgz4kBe9F0GwJUQTKyUtvhmd0hQmFQFehvnxHF6S7Y+iPclwOe q1XOcuHIbQtWzyA4F4JU1amCTnABvZTju8zKu6Fg= Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id A8AEA385800D for ; Thu, 5 Aug 2021 15:28:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A8AEA385800D Received: by mail-wr1-x431.google.com with SMTP id b13so7115793wrs.3 for ; Thu, 05 Aug 2021 08:28:52 -0700 (PDT) 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=X8OKOFT3oxnoboikDpFfPBkWTsiFzFpBrY0QV7ZSIdQ=; b=ex3eMlgvu95HNoWExUQLkTGNIwgQIrN52R7osVpxUCHjBt6NUl/gDXk+g4L/oZrp0b jdSZa+FwkU7tREsJieQPCThtdqL4yOxwP0Ai6tnZu2zo46uqfcKsiG/kghDLwWf9jlY9 XFJMg81QToWnoZR9dxRecu7kpnenp29tOW/7wwtrTBNEw142tZLojw4fWbOc+2XO3pQ/ +zwlfJQH/78XAU/Vb6o8Wed0V6fdrMbB1QFJGBKtj35l+zCdGAroen+m8MzIClLCU46F O5DvIoXnVYkAkOJb4zQCvjmdqy3CbYowwzmRah+tJJm9+ZWELXiHVkdQv3t6qPFqDINr gKig== X-Gm-Message-State: AOAM531YAs5E8xx8IEWmrlbMDRMebs2oV3HUp54Txrl/rw9NdaM1b9rp H8IWT3HV6DhXxlAHgMUQDwI= X-Google-Smtp-Source: ABdhPJx9ToecQZyJLBXXbrTgJ8Kz3sCOOp9GOOUjOblBQh3OV22rD/eWZusjr29frE56RF3D8lC58g== X-Received: by 2002:adf:d84b:: with SMTP id k11mr5870488wrl.135.1628177331836; Thu, 05 Aug 2021 08:28:51 -0700 (PDT) Received: from [10.8.0.10] ([195.53.121.100]) by smtp.gmail.com with ESMTPSA id o24sm8099331wmm.37.2021.08.05.08.28.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Aug 2021 08:28:51 -0700 (PDT) Subject: Re: [PATCH v3] ioctl_tty.2: Add example how to get or set baudrate on the serial port To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Greg Kroah-Hartman , Michael Kerrisk References: <20210730095333.6118-1-pali@kernel.org> <20210801135146.14849-1-pali@kernel.org> <20210804220808.cetleob6dldpfnjk@pali> <20210805082243.qciylqnt5g74if7i@pali> <20210805084410.sb5lybdri6r7t2da@pali> <20210805095100.n2qkm3kdiucwt6jd@pali> Message-ID: <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> Date: Thu, 5 Aug 2021 17:28:49 +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: <20210805095100.n2qkm3kdiucwt6jd@pali> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: "Alejandro Colomar \(man-pages\) via Libc-alpha" Reply-To: "Alejandro Colomar \(man-pages\)" Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , "G. Branden Robinson" , libc-alpha@sourceware.org, linux-serial@vger.kernel.org, linux-man@vger.kernel.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Hi Pali, On 8/5/21 11:51 AM, Pali Rohár wrote: >>>> Also, you forgot a license for this code, that is required if you want >>>> people to use it... >>> >>> Hm... I do not see any license in other manpage examples. Does not apply >>> for it global license defined in ioctl_tty.2 file? >> >> That does not mean you do not need it. I don't know what is the status of the current code examples in terms of licensing. I thought I had seen an SPDX license identifier in one of them some time ago, but now I can't find it. Technically, the pages have a license at the top of each file, which isn't printed on the rendered output (the license text doesn't require so) (see that text below). If you want a different license for your example (let's say you want it BSD for example), I guess you could add an SPDX line at the top of the example for simplicity. But if your code example adheres to the same license as the rest of the page, I guess you don't need to do anything in your patch. But I'm not sure at all; maybe Michael can tell you more about it. > > I will wait for Alejandro's reaction on this topic as I think he wants > to have all manpages consistent and with the same style, headers, etc... > Thanks! Alex --- $ head -n 26 man7/system_data_types.7 .\" Copyright (c) 2020 by Alejandro Colomar .\" and Copyright (c) 2020 by Michael Kerrisk .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/