Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1374383rwb; Wed, 16 Nov 2022 16:50:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf7mSE4K7EX2kigzpBCGAVn6j8Xgeys/hYm3mUrxDrCzBuAVKqga7pfN8hW1tzRsjlod+p6M X-Received: by 2002:a17:907:8b13:b0:781:541:6599 with SMTP id sz19-20020a1709078b1300b0078105416599mr291091ejc.45.1668646240338; Wed, 16 Nov 2022 16:50:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668646240; cv=none; d=google.com; s=arc-20160816; b=iheYAR2FfN9nA4PgFK0q2vLIniOx3cb5rf6P9jssdGgb7Cu/WkbE5fMYBOPYIwT8Sd 27BqsPEfq3UCCErA3DOoOcA9w1hG+J9F96K6GvNe7eDkm/CiVlSgBOR46G/O8AusDL6N ErWX7e7eTP28kD3T3xMbZM6juVzvEEFMAUDBpbHxY3DqqGYn0WTMy1jVepycCw/nCZxK uikggx09/NYdkcr+ebblUFrKJ2LYc76JOJPMT/tmEDiIewTYi3RIquSJctX3D8My7cvL aD/Fhxj6ZJIhJtLt/B7d1H4UYFR2jbuvjMMwrK1egvj3wQb1iOI4J03wkywi7ejXaHmD DrkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=88cmUSRHICVDL1MOzpPrQRdSyCcyq7qYYnEmWmi/TMU=; b=mBHUfjuFRo3t7wXjuWgLL8HciQHGULzkL7RkagFM+6Ilr2DJ+QArSt2E20DHQq6wjq 3vXNfoxgyzsNcd+oBxZZGIsORTOClYg1ch6Oeat0R4tjMTrP5OPgPs3TRBzRZKgYvSdi 0cfFXPYuxxRwdum6lyPxgocc0juwJB+AoRV2TC7pqYigxdW0TNXmIzy57tfhwhCr2xCU iQkIO10yQrRgr2iItZHwlNqJK7TDeW92CluLHKTn92qwAKprSzmyeDr2a0nh5nfl6V9S K47lbpjtFbSH6qtI9DPEacIidgD2cwVhzcpu72AnZTf5aNfsh9O51WOOQrFkSf8ATrbA krxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjDtqHkF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd31-20020a1709076e1f00b007ae1052554esi15090729ejc.898.2022.11.16.16.50.16; Wed, 16 Nov 2022 16:50:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjDtqHkF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238577AbiKQAtn (ORCPT + 99 others); Wed, 16 Nov 2022 19:49:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238857AbiKQAt1 (ORCPT ); Wed, 16 Nov 2022 19:49:27 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 513566EB5A; Wed, 16 Nov 2022 16:47:30 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 209FFB81F6A; Thu, 17 Nov 2022 00:47:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB8FBC433C1; Thu, 17 Nov 2022 00:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668646047; bh=guj/solGyKYsGM3X50ye22aBLwCmKYGrl61AHGGkEhE=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=sjDtqHkF0xLcJiWNqyyDHGsDobgvPbfsokLdvow1ubzRNPmvBoIvJzHi8Yvqb4Pia HGnNQCiHG1RVXNT6hd1LZczDgT6F6qeXv8kJeuvGJn8/+br1/937HnYvk/G8IGtl+Q ZFQtIA7mOoXoRnyX6MG86ilsJRRpQYAqs3JYwVGnUz8zmv/S71R/vUNqVudKP5d8I/ ngbo5GGVXMVg4tvgdFr9Scm7j09sy5k6AryrwAM5JfM8N31vtbPnEIZ3gh0dJd/VXg XOgCVYXFpotxvKQyMUSDn+SRaAJK+w/ApIZQhMRnYYGss7TFYZd8CE/hTnB50vXpx1 xZriYx3JI13JA== Date: Wed, 16 Nov 2022 16:47:27 -0800 From: Kees Cook To: "Jason A. Donenfeld" , Kees Cook CC: linux-kernel@vger.kernel.org, patches@lists.linux.dev, Greg Kroah-Hartman , Jakub Kicinski , Russell King , Catalin Marinas , Thomas Bogendoerfer , Heiko Carstens , Herbert Xu , =?ISO-8859-1?Q?Christoph_B=F6hmwalder?= , Jani Nikula , Jason Gunthorpe , Sakari Ailus , "Martin K . Petersen" , Theodore Ts'o , Andreas Dilger , Jaegeuk Kim , Richard Weinberger , "Darrick J . Wong" , SeongJae Park , Thomas Gleixner , Andrew Morton , Michael Ellerman , Helge Deller , netdev@vger.kernel.org, linux-crypto@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mmc@vger.kernel.org, linux-parisc@vger.kernel.org, ydroneaud@opteya.com Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v2_3/3=5D_treewide=3A_use_ge?= =?US-ASCII?Q?t=5Frandom=5Fu32=5Fbetween=28=29_when_possible?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20221114164558.1180362-1-Jason@zx2c4.com> <20221114164558.1180362-4-Jason@zx2c4.com> <202211161436.A45AD719A@keescook> <202211161628.164F47F@keescook> Message-ID: <0EE39896-C7B6-4CB6-87D5-22AA787740A9@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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-crypto@vger.kernel.org On November 16, 2022 4:43:54 PM PST, "Jason A=2E Donenfeld" wrote: >On Wed, Nov 16, 2022 at 04:31:18PM -0800, Kees Cook wrote: >> On Thu, Nov 17, 2022 at 01:03:14AM +0100, Jason A=2E Donenfeld wrote: >> > On Thu, Nov 17, 2022 at 12:55:47AM +0100, Jason A=2E Donenfeld wrote: >> > > 2) What to call it: >> > > - between I still like, because it mirrors "I'm thinking of a nu= mber >> > > between 1 and 10 and=2E=2E=2E" that everybody knows, >> > > - inclusive I guess works, but it's not a preposition, >> > > - bikeshed color #3? >> >=20 >> > - between >> > - ranged >> > - spanning >> >=20 >> > https://www=2Ethefreedictionary=2Ecom/List-of-prepositions=2Ehtm >> > - amid >> >=20 >> > Sigh, names=2E >>=20 >> I think "inclusive" is best=2E > >I find it not very descriptive of what the function does=2E Is there one >you like second best? Or are you convinced they're all much much much >worse than "inclusive" that they shouldn't be considered? Right, I don't think any are sufficiently descriptive=2E "Incluisve" with = two arguments seems unambiguous and complete to me=2E :) --=20 Kees Cook