Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1130345rwb; Tue, 27 Sep 2022 08:48:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM41s6IGA/yFF27pgvnK3bjynsqvrbAAhWwXiuCsEHDXquzwSGRg0OoOkqscVbkxrvioksRV X-Received: by 2002:a17:902:e80f:b0:178:fee:c5fe with SMTP id u15-20020a170902e80f00b001780feec5femr27579921plg.85.1664293695372; Tue, 27 Sep 2022 08:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664293695; cv=none; d=google.com; s=arc-20160816; b=OrYl0sgpvPIJbQ9lrHW8EmxJIyn08IhJjLB5SlnxXMxBYQbieJlS0uqJRa/TOHCHaf xA7ANszjmHxpcq/kxr6QG1hBCbl0to23U9Htu3EXkyvF0+ZGWOCk7E05Wl+kx+AinP6d tOSomde5DCSPEFJIsLNpjeoKoRhZ+g1EMp1tAwSC3Gm3CVYa5PFZ5I6QxPDczZ3k0ulB 3+820roRMHgiG2JJTEOaAo79HgBI1skIdvx3wKoz7mB/ptb3ho2tIFz9zNGWMEsa8wCC bJ/oQZgcu9CNPvhyu7HIteiMDsfSyHQJNyu733S0wZevXepM7EPluevN8yrywkVtEqyO Qy6g== 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=eRdD0Oj+rynHnMeTx3yYq7cPd/Yk+o6R2LPh09HQUBc=; b=KqgZxi62pkTwKr8nsFFNLnxCCRVbInzQSvzufvCqCHCggnrBBL7DjDYKY+md7GGnu9 z77lQhaflEURco9Awx4lGNSi7iiIRJaf9/X6GUsNJAs3uyTvgkQtnzWIinEOBWo1xRIM nqBgvtzsuy6uwWNGY3fRnugVZUkS5U1CBuWxEKD+co/ykzfR9IknRc0iWankpP1PJddg BGikr/o//IGHp19tEnXpYzMPnOgrptKHdx+bOAjB5shmNWWsS4DNA2ImwPNxfL4V+/Hp AMYQAVJI0E5RLc/EXB7Q1KtL82dkUweJSa1fMjDlby5Bmd6KRtvK9grCZCXzoJU0g6to svNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="uJ/+V7PM"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z11-20020a63330b000000b00439c1e186c8si2127587pgz.281.2022.09.27.08.48.04; Tue, 27 Sep 2022 08:48:15 -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=@linuxfoundation.org header.s=korg header.b="uJ/+V7PM"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231976AbiI0P1G (ORCPT + 99 others); Tue, 27 Sep 2022 11:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiI0P1F (ORCPT ); Tue, 27 Sep 2022 11:27:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4DAB15446B; Tue, 27 Sep 2022 08:27:04 -0700 (PDT) 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 6FBFCB81C5C; Tue, 27 Sep 2022 15:27:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92867C433C1; Tue, 27 Sep 2022 15:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664292422; bh=6v4Oqxr3Gg1DGJAp8ecODjIb6AxK0MJVn3dh8qzwnLI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uJ/+V7PMj+dFdJBOuPQkF/a+vAHpeWhq/NssAVChneZvNbBsXXHMRlT2wxqNcL7FU GyKU7JDD/uuN7WBWDMl5KQ2DqLKvDimdYhfsbUL+aVsYFn82zNxdFsJt0L8nI+cuUy KmJGhbEVeenAZzYL8PIys6dNlcALv5DJct/9Xt1s= Date: Tue, 27 Sep 2022 17:26:59 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Daniel Xu , Kees Cook , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron Subject: Re: [PATCH v10 21/27] scripts: add `is_rust_module.sh` Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-22-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-22-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 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-kernel@vger.kernel.org On Tue, Sep 27, 2022 at 03:14:52PM +0200, Miguel Ojeda wrote: > From: Daniel Xu > > This script is used to detect whether a kernel module is written > in Rust. > > It will later be used to disable BTF generation on Rust modules as > BTF does not yet support Rust. > > Reviewed-by: Kees Cook > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Signed-off-by: Daniel Xu > Co-developed-by: Miguel Ojeda > Signed-off-by: Miguel Ojeda > --- > scripts/is_rust_module.sh | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100755 scripts/is_rust_module.sh Reviewed-by: Greg Kroah-Hartman