lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea7fba87-6132-5f05-6c1c-7afc8d576b89@intel.com>
Date:   Thu, 3 Nov 2022 09:08:32 +0200
From:   Adrian Hunter <adrian.hunter@...el.com>
To:     Donglin Peng <dolinux.peng@...il.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
        peterz@...radead.org
Subject: Re: [PATCH] perf tools: exclude the include/perf/ directory

On 3/11/22 06:03, Donglin Peng wrote:
> Commit 3af1dfdd51e0 ("perf build: Move perf_dlfilters.h in the
> source tree") moved perf_dlfilters.h to the include/perf/ directory
> without updating the .gitignore file, causing new files in the
> include/perf/ directory will be ignored.

Note:

include/perf is ignored because it has 'perf' in the name

Can check:

 Before:
 $ touch tools/perf/include/perf/junk
 $ git status | grep junk
 $ git check-ignore -v tools/perf/include/perf/junk
 tools/perf/.gitignore:6:perf    tools/perf/include/perf/junk

 After:
 $ git status | grep junk
         tools/perf/include/perf/junk
 $ git check-ignore -v tools/perf/include/perf/junk

> 
> Add !include/perf/ to perf's .gitignore file.
> 
> Signed-off-by: Donglin Peng <dolinux.peng@...il.com>

Acked-by: Adrian Hunter <adrian.hunter@...el.com>

> ---
>  tools/perf/.gitignore | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> index a653311d9693..fd7a6ff9e7aa 100644
> --- a/tools/perf/.gitignore
> +++ b/tools/perf/.gitignore
> @@ -4,6 +4,7 @@ PERF-GUI-VARS
>  PERF-VERSION-FILE
>  FEATURE-DUMP
>  perf
> +!include/perf/
>  perf-read-vdso32
>  perf-read-vdsox32
>  perf-help

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ