Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1296412ybf; Thu, 27 Feb 2020 08:18:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwwpM3xKEFYvRsju7XP+xL4W4U8J+Vblle4AkdGXN7jH9Ob/zjRsU5X/GhHSJMzGE9gu9OO X-Received: by 2002:a9d:1c9c:: with SMTP id l28mr410163ota.210.1582820318900; Thu, 27 Feb 2020 08:18:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582820318; cv=none; d=google.com; s=arc-20160816; b=nkZOq+8friDaODAPkfEsUXdUJ9WbEGBkeMwxa5FaMMQpolLnyU1ZuvRFhkV0oMoz5r g0uXWK+phXmPtl9+5ZHEKbas1H61lN5f1CAZfvpndOKLyjTjtqSYL9cFpoCxB2ENgkqr ff5uMApBOVojMwkVd8Lo8HzuBtd97VmoMLhkZJdf/R1XCuslA0t8XRqZaFIFQVnbKfGl j3AC3gsaosnAs73CDO6D/tAy7KSc6W/W9TkmhoGJhnu4BnXXNPlRfzwjfysW8AUNa3p2 NehBn3TlAmTCHAPR+DBx3UuMcPNSvEDBuTj90G6yl7roOcVPuiAFYcyWUHkmj0qYGMW/ zrNg== 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=vtq0s3tQnCqURKTOAldGkoKbYrI0rQodXXv9xIVTT3Y=; b=luC6WTPVdqhp2HbaiP4sOeHmzjJ6ukI7eZ1zVQkVKC4Vz+IOmeZbB13aVpepkJNbJB SLDtRC7EZSBWK/ZCCQxX1nxsjdvxXw5fFQSr4QcVkQy8UAsI46EsmUBk2DAf5uFjFb0T 9w6FQNRtpTeZbjS2JjamUaL0HFFly57LK5IUSUn5n11Tg8rHPDyG1xi+CMBDwv8EZ5OD Dq2pMcPPxSzsWA5OITsBymx6OR+f5eVBJAACI9QT4g95Qz3CeKtJCiFRNzNPZJqX0dBd 8QZ3wZZ3mRKUg/vyK7DdecV+O2BbUeSaw0H1U2xqt6vp/g55hOnM9BSMjObhrO07kedC lNXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YDIG629t; 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 9si78637oir.71.2020.02.27.08.18.25; Thu, 27 Feb 2020 08:18:38 -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=YDIG629t; 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 S1729854AbgB0QRo (ORCPT + 99 others); Thu, 27 Feb 2020 11:17:44 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34566 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729689AbgB0QRo (ORCPT ); Thu, 27 Feb 2020 11:17:44 -0500 Received: by mail-pg1-f195.google.com with SMTP id t3so1718270pgn.1 for ; Thu, 27 Feb 2020 08:17:43 -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=vtq0s3tQnCqURKTOAldGkoKbYrI0rQodXXv9xIVTT3Y=; b=YDIG629tX7x9Pmb6sOmczh6ju+bZ3q+dGbK7sBRcVdlqc0F739Ir2LJfcrSO7KrD8p calXeJ+GMbO9XewuL7HizNgGs/JA+ljTxX/tVQ9yMZ5GWuvmuwGMBVduj+CIScUSXBtj UyGuooe9zEJNdNmNz1GrIjjcFKI0T/Zrkmnkk= 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=vtq0s3tQnCqURKTOAldGkoKbYrI0rQodXXv9xIVTT3Y=; b=LCN+cNroDPZLULBGsLOSSX3s1z5GrVdcdreISMz4/5lNRculhgZ0HGLfV9Is8K7RvS fdFqEMODNoY0TIw70SG9UVf0guFmIX/dtsM2pE4u7FDUK4JcsAbIGwqsTlOLd21VRJ/c 00pNFTJdNn8mY9/my6mod1I2wrnjB5IbMetDoBX0zH+NP3RMf4apKBOKnwsdBWDoqeb+ 23X5lR71prmbC09KPnN9loZeT6t9LSmhTm+Oio3IXhbDmmBmGnZznHzt8V8u6pncOQb8 uOQY16wIPi/EJr3zFluHtyO7P8W8FhWE/9lbQC51qucVJUTjLCeCfqGBt59tQAATZV/V 7S7g== X-Gm-Message-State: APjAAAWFoYLJibjaJ5aOaSGzBQjMnJn1zqiW5+ft6o8y+6Ra4sYoxnBG tRk/H5cF573AQlxPDcKl2ifoGg== X-Received: by 2002:aa7:9f90:: with SMTP id z16mr4879847pfr.161.1582820262963; Thu, 27 Feb 2020 08:17:42 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z30sm7726657pff.131.2020.02.27.08.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 08:17:42 -0800 (PST) Date: Thu, 27 Feb 2020 08:17:41 -0800 From: Kees Cook To: Christophe Leroy Cc: Shuah Khan , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH] selftest/lkdtm: Use local .gitignore Message-ID: <202002270817.1C32C98@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2020 at 02:07:10PM +0000, Christophe Leroy wrote: > Commit 68ca0fd272da ("selftest/lkdtm: Don't pollute 'git status'") > introduced patterns for git to ignore files generated in > tools/testing/selftests/lkdtm/ > > Use local .gitignore file instead of using the root one. > > Fixes: 68ca0fd272da ("selftest/lkdtm: Don't pollute 'git status'") > Signed-off-by: Christophe Leroy Yeah, that's better. Thanks! Acked-by: Kees Cook -Kees > --- > .gitignore | 4 ---- > tools/testing/selftests/lkdtm/.gitignore | 2 ++ > 2 files changed, 2 insertions(+), 4 deletions(-) > create mode 100644 tools/testing/selftests/lkdtm/.gitignore > > diff --git a/.gitignore b/.gitignore > index bb05dce58f8e..b849a72d69d5 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -100,10 +100,6 @@ 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-* > > diff --git a/tools/testing/selftests/lkdtm/.gitignore b/tools/testing/selftests/lkdtm/.gitignore > new file mode 100644 > index 000000000000..f26212605b6b > --- /dev/null > +++ b/tools/testing/selftests/lkdtm/.gitignore > @@ -0,0 +1,2 @@ > +*.sh > +!run.sh > -- > 2.25.0 > -- Kees Cook