Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1199087ybv; Thu, 20 Feb 2020 15:20:01 -0800 (PST) X-Google-Smtp-Source: APXvYqw2v70Eo6ew6XoZw/xdazouEabiRZ+pAG4111cxINbCJTKULdupoDQ4m66eGJhglVGY5iqf X-Received: by 2002:a9d:7e90:: with SMTP id m16mr24077474otp.227.1582240801562; Thu, 20 Feb 2020 15:20:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582240801; cv=none; d=google.com; s=arc-20160816; b=cfX3HBEgitzHjrHCfu9tJNRUDWp9Sz9nB76BS6o37FfaslDdCEwEPyuZJchZa7tW69 yw3TyB5jXwku50SgtpjdmasHisvhKC6aOkwwAadVORqGEGYYCEISzPyZ44z+cEoDm/ss otKovaLWlwpqFWkYbd66QiCI1jtkXse/5khTPEeq01HEgZeJ0gYul8DhOzh3PmgvF8T9 JwXvmAgbpm7zsO78I9cYXQslHikQZoB+niy7/YYadTsW1Hy9urG3PHFbHV2W1X2/5mXA vAskRI9sBubdiLvRqIA6+uQWwYwdlv49nKk5cI9uy+iIYaNNsSbMZLh/1S0TQ943CyW2 M1rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=qiIWn/AwNao12jLnO57Zy1eSMfhg2OcOJSkC6NTyoL4=; b=viVscfBv1k90WMKboEd4ZgH19j92zI4/UUwVNSSJ3fCkSg8Sm9uyOmbMY803dboxQc 3Z/XVwqanQLJYAp2T9W37C2ZUgxj5HzJPPigPbVx0cfiqqt2c/lxn339uagA+5Eyw06k RYaywvjjE1FTzQxDqHWoq6GEA8KDUj65GAnNtzmjS2lb8ZR7/0xp2kfK6FCHLuGu9dGq uEiSgOFds6QJiXycazjjjzKDJIxvQWL3nJyuFHPkqRwhCIdI1LkgMO6s/Dj9h0R9o+kU tpTfN2bX8U7IgLwfxrSvi4ccvCH4tdjtCH2uQb/wWplx3gNbpLBVQnPNl4kGwdjaB06l B5RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Z/Zpxrbe"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si374224oia.264.2020.02.20.15.19.49; Thu, 20 Feb 2020 15:20:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Z/Zpxrbe"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729342AbgBTXSZ (ORCPT + 99 others); Thu, 20 Feb 2020 18:18:25 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45952 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727135AbgBTXSZ (ORCPT ); Thu, 20 Feb 2020 18:18:25 -0500 Received: by mail-pl1-f194.google.com with SMTP id b22so26183pls.12 for ; Thu, 20 Feb 2020 15:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qiIWn/AwNao12jLnO57Zy1eSMfhg2OcOJSkC6NTyoL4=; b=Z/ZpxrbeGyYr1O90OCAFhyo23J1bsbTFVT00brNeeTuwwwK96lwnqkLFD1L9OKp7Jr psjnCPGENnn4mnePs4ZwzgNh8eDSn+diPoIPMGegJueuimr7kxsidVFZopT24RcG5xDK SC/zMlsdynQs1IWQOwGc2ldMpWPCirlqrqHmY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qiIWn/AwNao12jLnO57Zy1eSMfhg2OcOJSkC6NTyoL4=; b=SYOZUZJkVIGyoTw1bG6P2YF//lJ35Tg1XZ2AI58aidjEjhKBiGtnRpyDi0ROUS4J5K 5XhxCmM3W8OD3qzr8bToZyAARBQkKHU3rYE7H8Kp+H58ln3LHvSJYK7RrfzUAd4o13TL shn+mOcdIS7TGlbLcNIze7Dx542Png23B5yJO4QRVouSGPHTT5LABP10tfPa5TtDtK7i bFZdbtiu5zi74tVjuRh6wnenD/jiwvaYngVqXdjqk3mBzEi3btNkWiicuqqZPdTtyScB TLNylT4bPxQhtXDVat4icmTfwP22eFp8jfDfb+GEt7KPSCXlSCJ/Cqgo5NwRgOD/cqgW +IOg== X-Gm-Message-State: APjAAAUmCe0lUORJ1C4igT0Xz/lHv0/2DfFEvGXMyfuIu5ZBB4Udvs5E 5uF9shWjyynLJ3rWweOt5PCBXRw3kT8= X-Received: by 2002:a17:90a:d807:: with SMTP id a7mr6562607pjv.15.1582240705082; Thu, 20 Feb 2020 15:18:25 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id l69sm375799pgd.1.2020.02.20.15.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 15:18:24 -0800 (PST) Date: Thu, 20 Feb 2020 15:18:23 -0800 From: Kees Cook To: Christophe Leroy Cc: Shuah Khan , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org Subject: Re: [PATCH] selftest/lkdtm: Don't pollute 'git status' Message-ID: <202002201518.AFD4C0C9FA@keescook> References: <668b6ff463849ceee01f726fbf3e7110687575ec.1580976576.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <668b6ff463849ceee01f726fbf3e7110687575ec.1580976576.git.christophe.leroy@c-s.fr> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 06, 2020 at 08:11:39AM +0000, Christophe Leroy wrote: > Commit 46d1a0f03d66 ("selftests/lkdtm: Add tests for LKDTM targets") > added generation of lkdtm test scripts. > > Ignore those generated scripts when performing 'git status' > > Fixes: 46d1a0f03d66 ("selftests/lkdtm: Add tests for LKDTM targets") > Signed-off-by: Christophe Leroy Ah! Yes, a very good idea. Thanks! Reviewed-by: Kees Cook -Kees > --- > .gitignore | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/.gitignore b/.gitignore > index b849a72d69d5..bb05dce58f8e 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -100,6 +100,10 @@ modules.order > /include/ksym/ > /arch/*/include/generated/ > > +# Generated lkdtm tests > +/tools/testing/selftests/lkdtm/*.sh > +!/tools/testing/selftests/lkdtm/run.sh > + > # stgit generated dirs > patches-* > > -- > 2.25.0 > -- Kees Cook