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.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 F22AE1F8C6 for ; Thu, 5 Aug 2021 16:15:08 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F04EE3958C08 for ; Thu, 5 Aug 2021 16:15:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F04EE3958C08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628180108; bh=nrZW5vtYIGVSPAV6JQSvA2X67fWBR3PFk0KFmAuNBtM=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=x9K49jVVcUDWXWyMAiKl1M8/G6PE/YRzTFKtajJvwoY8XPow1wwWMDuSmeETJpCft K6JQdSWBmRfc3bzrymxANYvsPYEC0AaQVqPs/JuU1Fd6XVbc8NX+cQOZcwec30mbji 2dPqtIq0kz0FmbFDaB+AUsTf3MqX4XYMNvMWgE3g= Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by sourceware.org (Postfix) with ESMTPS id C9027384842C for ; Thu, 5 Aug 2021 16:14:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C9027384842C Received: by mail.kernel.org (Postfix) with ESMTPSA id 5C3CB61157; Thu, 5 Aug 2021 16:14:46 +0000 (UTC) Date: Thu, 5 Aug 2021 18:14:33 +0200 To: "Alejandro Colomar (man-pages)" Subject: Re: [PATCH v3] ioctl_tty.2: Add example how to get or set baudrate on the serial port Message-ID: 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> <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <418a281b-441d-66fc-6929-5d29fafc459b@gmail.com> 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: Greg Kroah-Hartman via Libc-alpha Reply-To: Greg Kroah-Hartman Cc: Marek =?iso-8859-1?Q?Beh=FAn?= , linux-man@vger.kernel.org, libc-alpha@sourceware.org, Michael Kerrisk , linux-serial@vger.kernel.org, "G. Branden Robinson" , Pali =?iso-8859-1?Q?Roh=E1r?= Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Thu, Aug 05, 2021 at 05:28:49PM +0200, Alejandro Colomar (man-pages) wrote: > 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. What is the license of a man page? What is the license of this page? And if it is not shown in the code segment itself, that's going to be a mess, please make it explicit, otherwise no one can ever use any of the code examples for anything. thanks, greg k-h