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: <d6234684-03ff-ca7e-589f-458bf3b098b9@iogearbox.net>
Date:   Fri, 20 Jul 2018 10:23:58 +0200
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Jakub Kicinski <jakub.kicinski@...ronome.com>,
        Taeung Song <treeze.taeung@...il.com>
Cc:     Alexei Starovoitov <ast@...nel.org>, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] tools/bpftool: ignore build products

On 07/19/2018 08:23 PM, Jakub Kicinski wrote:
> On Thu, 19 Jul 2018 21:10:04 +0900, Taeung Song wrote:
>> For untracked things of tools/bpf, add this.
>>
>> Signed-off-by: Taeung Song <treeze.taeung@...il.com>
>> ---
>>  tools/bpf/.gitignore         | 5 +++++
>>  tools/bpf/bpftool/.gitignore | 1 +
>>  2 files changed, 6 insertions(+)
>>  create mode 100644 tools/bpf/.gitignore
>>
>> diff --git a/tools/bpf/.gitignore b/tools/bpf/.gitignore
>> new file mode 100644
>> index 000000000000..dfe2bd5a4b95
>> --- /dev/null
>> +++ b/tools/bpf/.gitignore
>> @@ -0,0 +1,5 @@
>> +FEATURE-DUMP.bpf
>> +bpf_asm
>> +bpf_dbg
>> +bpf_exp.yacc.*
>> +bpf_jit_disasm
>> diff --git a/tools/bpf/bpftool/.gitignore b/tools/bpf/bpftool/.gitignore
>> index d7e678c2d396..103cc5b5b446 100644
>> --- a/tools/bpf/bpftool/.gitignore
>> +++ b/tools/bpf/bpftool/.gitignore
>> @@ -1,3 +1,4 @@
>>  *.d
>>  bpftool
>> +bpftool*.8
>>  FEATURE-DUMP.bpftool
> 
> This patch is going to be merged to the bpf-next tree, I presume, and
> there is more man pages there:
> 
> $ make -C tools/bpf/bpftool/ doc 
> make: Entering directory 'linux/tools/bpf/bpftool'
>   DESCEND  Documentation
> make[1]: Entering directory '/linux/tools/bpf/bpftool/Documentation'
>   GEN      bpftool-perf.8
>   GEN      bpftool-map.8
>   GEN      bpftool.8
>   GEN      bpftool-prog.8
>   GEN      bpftool-cgroup.8
>   GEN      bpf-helpers.rst
> Parsed description of 80 helper function(s)
>   GEN      bpf-helpers.7
> make[1]: Leaving directory 'linux/tools/bpf/bpftool/Documentation'
> make: Leaving directory 'linux/tools/bpf/bpftool'
> $ git status 
> On branch work
> Your branch is ahead of 'pending' by 10 commits.
>   (use "git push" to publish your local commits)
> 
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
> 
> 	tools/bpf/bpftool/Documentation/bpf-helpers.7
> 	tools/bpf/bpftool/Documentation/bpf-helpers.rst
> 	tools/bpf/bpftool/Documentation/bpftool-cgroup.8
> 	tools/bpf/bpftool/Documentation/bpftool-map.8
> 	tools/bpf/bpftool/Documentation/bpftool-perf.8
> 	tools/bpf/bpftool/Documentation/bpftool-prog.8
> 	tools/bpf/bpftool/Documentation/bpftool.8
> 
> nothing added to commit but untracked files present (use "git add" to track)
> 
> See the bpf-helpers.* files?  Those are all auto-generated.
> 
> If you respin for -next please split the series and put [PATCH bpf-next
> v4] as prefix of first patch, and [PATCH bpf v4] as prefix for the
> second, as one of them is an improvement, and second a bug fix.

I've just applied patch 2/2 to bpf tree, thanks Taeung! I think best for
patch 1/2 would be if you rebase this against bpf-next tree as Jakub
mentioned so wouldn't need an immediate follow-up due to incomplete
.gitignore then.

Thanks,
Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ