Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp708399rwb; Thu, 22 Sep 2022 05:34:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5iMnK05yMLSat2VopMKd2FfIYE1eDECZvjTXfK8EnQVUEF9mnYacPCxcq6yKBRVAu0IOCw X-Received: by 2002:a17:907:a079:b0:77b:8d9:9d9 with SMTP id ia25-20020a170907a07900b0077b08d909d9mr2419236ejc.697.1663850088273; Thu, 22 Sep 2022 05:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663850088; cv=none; d=google.com; s=arc-20160816; b=D7eQ1cJN5XgYmlpAk+Z+aIV5pjS5mJMmycFg/chAPsEf7vylQcmbtE/tuUnkH7JWdk TSGeH9bO1fH0r46KdFFL9pAfHqzVs8aNQY8JTX4ZKejOGMtAUcPcmUSJq2bl81xgy2nR CTdUofVBEPFMYZZPOmctJTWUXfjbJ6LQf7rgs3/i2PWOP0c7vFbd4gU6+/qA0qQkw603 kOtvHzxCb1Oj7BNx+Irn7W33oahqzv5S0C067Nr+rUUk4uTckfeKuEIEIES6C771t4Cz szZyLwZI/lbopOM2jifZr3Jh3nTg5ZCzNaiBODZKDSDaCR+1/K8rTAA3dGbNje0xSV+l ljSg== 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=PGtsGh4qlYl10e6z9kXrDUuV/g3uCv3ksU5hqF9PWlY=; b=rTYzXNdqts0+r9teoqtEeqQCKL4lrhT49vTe9A9EusEIn8Teb9WZ3e10k1HL+tQlXm mdDO+u6rAn+eoeAwBwYCpswVUCNXlidBvrEtfBlGNctJ5OVOSPveLcRb9hjLsD/3OoBx T9sh93ua6Q7JVBdr8CSSaaaLETgUJr6J+rJzzJLuprq86ibnqilnqS50WqoeBVINSxo2 0ha/d6DQe74tHhIy5+DvHam0k0EIUEuN5/lJi4jKirhDRjjXNWuVLyhW68o8ISU+P1bN WlOnRhtFnJxvfRk4n1BMi3WE3Yo2eMWnqqSTiY2iApKAi0vAo88oQz5U3TQo5hN+zDef 10jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=meHPgX7O; 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 f5-20020a17090660c500b0077bab1f707esi5009482ejk.159.2022.09.22.05.34.18; Thu, 22 Sep 2022 05:34:48 -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=meHPgX7O; 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 S231570AbiIVLPa (ORCPT + 99 others); Thu, 22 Sep 2022 07:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231546AbiIVLPW (ORCPT ); Thu, 22 Sep 2022 07:15:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9B133FA25; Thu, 22 Sep 2022 04:15:08 -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 EBB80B835E0; Thu, 22 Sep 2022 11:15:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1DB1C4347C; Thu, 22 Sep 2022 11:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663845305; bh=HJLF0sxaaK0zibNfx1kSIE8o0oMxLWdBFj2lY98C4Is=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=meHPgX7O07DcuZq2IoD9HWIbHP7eoS5UilZv6q9TrjGj1n19t3QGF1ETE3tU1X1/A m4YpNcgt4ydOBvSoaHoFAWTSFN09F5NpXe1V9W+noau3MsiJJcutaXiIcWy/YZsbSn UnREWAMsskqMqYNyVlpxpyx8JKCshTQpXl9uXIII= Date: Thu, 22 Sep 2022 13:15:02 +0200 From: Greg KH To: David Gow Cc: cgel.zte@gmail.com, Brendan Higgins , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, Shuah Khan , Daniel Latypov , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , linux-riscv , Linux Kernel Mailing List , Xu Panda , Zeal Robot Subject: Re: [PATCH linux-next] kunit: tool: use absolute path for wget Message-ID: References: <20220922083610.235936-1-xu.panda@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-kernel@vger.kernel.org On Thu, Sep 22, 2022 at 06:50:59PM +0800, David Gow wrote: > On Thu, Sep 22, 2022 at 6:20 PM Greg KH wrote: > > > > On Thu, Sep 22, 2022 at 06:09:28PM +0800, David Gow wrote: > > > On Thu, Sep 22, 2022 at 4:36 PM wrote: > > > > > > > > From: Xu Panda > > > > > > > > Not using absolute path when invoking wget can lead to serious > > > > security issues. > > > > > > > > Reported-by: Zeal Robot > > > > Signed-off-by: Xu Panda > > > > --- > > > > > > This seems mostly okay to me -- we'd be abandoning people who have > > > wget in an unusual location, but I don't think there are many people > > > who want to run KUnit under RISC-V, have wget in a non-standard > > > location, and can't acquire the bios file themselves. > > > > > > So this is: > > > Reviewed-by: David Gow > > > > Please no, at this point in time, submissions from this gmail "alias" > > are going to have to be rejected from the kernel. > > > > Good to know, thanks. > > This isn't queued anyway, as I think that getting rid of the code to > download the BIOS (and instead relying on the user's distro to provide > it) is probably a better solution.s That's a much better solution, we have authenticated firmware download paths for BIOS images on Linux now integrated into distros. Let's use that infrastructure that is set up for that for this type of thing. thanks, greg k-h