Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp463856rdh; Thu, 26 Oct 2023 07:07:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHN3jUSdcaL2ElXtkM07yrWCKLVwYQzQ6gJlvNYSKqUqQWt419POeu2Xtt6pMpgZHMikxda X-Received: by 2002:a05:6358:c30f:b0:168:dfe8:5bcf with SMTP id fk15-20020a056358c30f00b00168dfe85bcfmr12456426rwb.27.1698329242217; Thu, 26 Oct 2023 07:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698329242; cv=none; d=google.com; s=arc-20160816; b=CzdckDH8WNtsxpJb6rBtf0VXc/l3cx8ayGI7ytYtJD9LdMGjqoCBHN1nbYqhq4WcVC eVk7JfuAF6SDHNhc1TH2jDlMC8CzZjl5G9Hao/i+2i5XfN2kTm5BoJPpabgydZms74bY gN/9g0mHf7klFffzfGJHYpUH/3iPBiB+DaDonQ3V9nX0z80OyOFlVgYAD42Ja5CsnAPp YyaOyt0JFI7hLQqvt0eXuAfPEABjVI/vkBLM231fH7dZxMz9O7EW3Y1ybBaXIicbRuvE i2MS5YrCb7Z6VFItyIodd63iMtEaxzYDVdmMw5knrKD1JD05ZqPDveFPL4ZrDj9H7tAU g2Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=gPmQecDXHzcTOT8HCq8cWu7IAndzVIEptXImht37IBg=; fh=S+C4A0MZcODHFhzMrCeWADBL7wgyIGQ7ax652Q/2LVI=; b=kgwyj6cfF0vefOTguLsI8N2G1Ef3ryqrMMTbNdzVQSCV5o0WglekSJ1l4urhuhlUGy edeD2cq6f9Dkxo8ULo1LQLts+mUGdvHknTCTzefrr9kxMR8WaJlcM/faFyGDatDB33Ry j1dcSV/86Q+/6RcYjrbI8D4HdyY9t/pVWKyf2+vygdkJVcdNOknHUr67RgoGw2tZ5hp4 /6BAYwd2vb3SuioGK6FBv3kGrh6hLMT45/99nh+D/Z1ht+eaH0Typ535mx95Ox2DDbr8 S+D9TcdtNuvVxtMdSXhVPgthpKlMjkylvCKyH0tNXbxT1OJI6OmxbkA6Xzq4KTZGE0J7 685g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=AxBCAlBV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u4-20020a814704000000b005a1d6eb6ab9si14812463ywa.513.2023.10.26.07.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 07:07:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=AxBCAlBV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 03FC5804ACC3; Thu, 26 Oct 2023 07:05:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345060AbjJZOFr (ORCPT + 99 others); Thu, 26 Oct 2023 10:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230507AbjJZOFp (ORCPT ); Thu, 26 Oct 2023 10:05:45 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5185128; Thu, 26 Oct 2023 07:05:43 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::646]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 75961735; Thu, 26 Oct 2023 14:05:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 75961735 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1698329142; bh=gPmQecDXHzcTOT8HCq8cWu7IAndzVIEptXImht37IBg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AxBCAlBVV6EODx3CFle7qOQD/elpu7cIUDePeE+yVaFagigLU4B5UzzHyEyp7UKHk 9rgPP2dDRchzlakozXZj+ZsSYvJUt/vOlgt+7tjAGgRv8vn6VH4v6k2IrKIpZnMCsa BOoWSKbA7fac3vEqgbAZ5R37QGD37HyDjyWxPij5+YmKql8bFHA/9fiNAOaiRHzHDX ZK9zPkcu8lEtDtBJcsq3fJzwYQBdwhwXBsqpP+8SaLg8/NPUHja9e5L53qN/k/GNoa x7kwWbxCpWolRxjp4pxeISdD6LNzccPsZoS89NCHMiE4AyDB1VLlOeGFVXQ7Oo/719 Om8BGKuIUBNIw== From: Jonathan Corbet To: Steven Rostedt , James Bottomley Cc: Christoph Hellwig , Kees Cook , Justin Stitt , Keith Busch , Jens Axboe , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, ksummit@lists.linux.dev Subject: Re: the nul-terminated string helper desk chair rearrangement In-Reply-To: <20231026095235.760f5546@gandalf.local.home> References: <20231018-strncpy-drivers-nvme-host-fabrics-c-v1-1-b6677df40a35@google.com> <20231019054642.GF14346@lst.de> <202310182248.9E197FFD5@keescook> <20231020044645.GC11984@lst.de> <202310201127.DA7EDAFE4D@keescook> <20231026100148.GA26941@lst.de> <710149630eb010b18b69e161d02502bc3b648173.camel@HansenPartnership.com> <20231026095235.760f5546@gandalf.local.home> Date: Thu, 26 Oct 2023 08:05:41 -0600 Message-ID: <874jid8one.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 07:05:49 -0700 (PDT) Steven Rostedt writes: > On Thu, 26 Oct 2023 07:39:44 -0400 > James Bottomley wrote: > >> While it's nice in theory to have everything documented, it's not much >> use if no one can actually find the information ... > > Does kerneldoc provide an automated index? If you go to https://www.kernel.org/doc/html/latest/ and type a symbol into the search box on the left, you'll get directed to the right place (if it exists). For James's system_state example, it makes it clear that there's only one reference - in the coding-style document, of all places... I've never looked into that index to see how hard it would be to access without a browser. jon