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: <CAEf4Bzaq460PCWTZ7jz1dcTR-Rp2nNMUKbO3UFZ-43qSsf-JLg@mail.gmail.com>
Date:   Wed, 6 Oct 2021 11:24:27 -0700
From:   Andrii Nakryiko <andrii.nakryiko@...il.com>
To:     Quentin Monnet <quentin@...valent.com>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Andrii Nakryiko <andrii@...nel.org>,
        Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH bpf-next v3 08/10] samples/bpf: update .gitignore

On Sun, Oct 3, 2021 at 12:22 PM Quentin Monnet <quentin@...valent.com> wrote:
>
> Update samples/bpf/.gitignore to ignore files generated when building
> the samples. Add:
>
>   - vmlinux.h
>   - the generated skeleton files (*.skel.h)
>   - the samples/bpf/libbpf/ and .../bpftool/ directories, recently
>     introduced as an output directory for building libbpf and bpftool.
>
> Signed-off-by: Quentin Monnet <quentin@...valent.com>
> ---
>  samples/bpf/.gitignore | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/samples/bpf/.gitignore b/samples/bpf/.gitignore
> index fcba217f0ae2..09a091b8a4f3 100644
> --- a/samples/bpf/.gitignore
> +++ b/samples/bpf/.gitignore
> @@ -57,3 +57,7 @@ testfile.img
>  hbm_out.log
>  iperf.*
>  *.out
> +*.skel.h
> +vmlinux.h
> +bpftool/
> +libbpf/

this will match files and directories in any subdir as well, maybe
let's add / in front to be explicit about doing this only on current
directly level (*.skel.h is fine)?

> --
> 2.30.2
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ