Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5220346rwb; Wed, 17 Aug 2022 13:21:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR6KKqtvoUJ9fKql0DTssLt9x/46NSrFoKtDr3PWWfJ5Hg7jT6/xHOxbizK9kVY0uHX1GKzG X-Received: by 2002:a05:6402:2b91:b0:445:dfdb:778b with SMTP id fj17-20020a0564022b9100b00445dfdb778bmr3727356edb.367.1660767710843; Wed, 17 Aug 2022 13:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660767710; cv=none; d=google.com; s=arc-20160816; b=idrFUqAd/XFgd8rBmyKnv7JdAaxHv55AJLrP57ZyoMZCxWNJPGIF3ccSDqMdjr2Qjv ZcUWoOaR8z/viRnRW8434b/lHmcIgMJfgkETB371/eqObLqFi1bDupIldS30iYrbOqvm UPbGChhkt90+U5eZq0twQrOXKBhf8jaiaFN/A7CdLXbphA1E2oY7R9HuoLaRY4RYr2na +XZmWFBTmlOvMXkwqA2wmnKySCq1U+L6r1xadGmM2pjlt4WavJCCNW+YsuXrXfrKN6O0 VlEXoOOJK2dl/ah3nnn/HsPZb5wK03rNnaAZKCId7S08+dwxLndSk305b7qy93bRXuub 9BqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Brs/W4+fSTjZc3XGeUQqrjHBcxapIUBaWsMZSunKKfc=; b=Gg+MFKfwXRP7u5IUcD59JXyJ49dQyvtRDWI7fKS3qiw4SiqSzCKa9atYUckM3pjiSD padOzPSIBGk7N6xN8J+9p6YsnZYnzQ6l/imWTbCxAS374PcsgazmnsYlWWxxinehcVMg GlX1U46CGE+GZiY81KLoz5Ct8gfS2fRp2B86FjbZQRmHnaSYt3nGooNW8dMXGgbKq4zq 4UZtvh5kNrw6HPPvjV2KM86zEoImjhpJYMmOHulYrZsrDi7VBCfD01QGkaGapVcq5HeI S/eh1UNudov+IxN7Ad7IsWtFHrXheS0GiDHliZuQPbWOad7t9sKlAeS0M2raLQmNqy+L RSSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YPNhOtLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a056402430400b0043aa8412576si14417713edc.227.2022.08.17.13.21.24; Wed, 17 Aug 2022 13:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b=YPNhOtLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241402AbiHQUJV (ORCPT + 99 others); Wed, 17 Aug 2022 16:09:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241519AbiHQUIu (ORCPT ); Wed, 17 Aug 2022 16:08:50 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C3485D119 for ; Wed, 17 Aug 2022 13:08:42 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id o14-20020a17090a0a0e00b001fabfd3369cso1612323pjo.5 for ; Wed, 17 Aug 2022 13:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=Brs/W4+fSTjZc3XGeUQqrjHBcxapIUBaWsMZSunKKfc=; b=YPNhOtLwlDb4HPD9RTZwy4oTOEH6iqB1SNfZ97TmEKQIH5TTutZ/SSFNGRDCBbP5Of Bh6ZHZ/KjIPj4nnturarCUbcM5TZ/vLn3xh/zw+KAx+Z3q8pIrH+Ursc7X87Eb0jJkpL 98eh82JWIMNnm7/j4obeXbcQ3GNu9oC/WfZaA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=Brs/W4+fSTjZc3XGeUQqrjHBcxapIUBaWsMZSunKKfc=; b=h6vLunqCygjeTOSEvEbdXB2EpTHXAln7jaJKvJAZX+H1f0vVIE7IAYTp6Qd73TQjin ICSjL0516fCRk4PT88/ptYbJ3eM34B4nCf9fBgIkmho8HsWhjiV78ADrOmBcGsS4aO8H 0DTWFqtDkMsbLcpryTP5mr3zZLA9e46ABmXEeDqKI+S46wp7nHGeFuBvqSHXGqICpcGv 3p/WOBXmrMO+oQnZIOCsYjNllzF28OpLO+sYwCoKHUt6aTfl/qPnrsKTE2PskMwq6rbZ UTHdW+Mzp/Wym9iz0AKLcw852jWpM9FOO4CKa0a12PAYzH2wXJpX8axKnxIIy6z8ls3v 8t/A== X-Gm-Message-State: ACgBeo2n5Y8pvtxgM2AntlSECWBmN+BDd8gt6Z3DVhJ3ZIrARcORNvGK /LyV36g6jRvHAZHmQWuiihHJHg== X-Received: by 2002:a17:902:f70a:b0:170:c5e7:874c with SMTP id h10-20020a170902f70a00b00170c5e7874cmr27577177plo.109.1660766921931; Wed, 17 Aug 2022 13:08:41 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id b7-20020a17090a12c700b001fa9f86f20csm1943898pjg.49.2022.08.17.13.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 13:08:41 -0700 (PDT) Date: Wed, 17 Aug 2022 13:08:40 -0700 From: Kees Cook To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Alex Gaynor , Wedson Almeida Filho , Sven Van Asbroeck , Gary Guo , Boqun Feng , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron Subject: Re: [PATCH v9 09/27] rust: add `compiler_builtins` crate Message-ID: <202208171308.B9F3832496@keescook> References: <20220805154231.31257-1-ojeda@kernel.org> <20220805154231.31257-10-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220805154231.31257-10-ojeda@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On Fri, Aug 05, 2022 at 05:41:54PM +0200, Miguel Ojeda wrote: > Rust provides `compiler_builtins` as a port of LLVM's `compiler-rt`. > Since we do not need the vast majority of them, we avoid the > dependency by providing our own crate. > > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor Reviewed-by: Kees Cook -- Kees Cook