Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 7 Nov 2017 08:15:40 +1100
From: "Tobin C. Harding" <>
To: Linus Torvalds <>
Cc: Network Development <>,
	David Miller <>,
	"Jason A. Donenfeld" <>,	Theodore Ts'o <>,
 Kees Cook <>,	Paolo Bonzini <>,
	Tycho Andersen <>,	"Roberts,
 William C" <>,	Tejun Heo <>,
	Jordan Glover <>,
	Greg KH <>,	Petr Mladek <>,
 Joe Perches <>,	Ian Campbell <>,
	Sergey Senozhatsky <>,
	Catalin Marinas <>,
	Will Deacon <>,	Steven Rostedt <>,
	Chris Fries <>, Dave Weinstein <>,
	Daniel Micay <>,	Djalal Harouni <>,
	Linux Kernel Mailing List <>
Subject: Re: [PATCH v3] scripts: add

On Mon, Nov 06, 2017 at 09:41:09AM -0800, Linus Torvalds wrote:
> On Mon, Nov 6, 2017 at 9:27 AM, Linus Torvalds
> <> wrote:
> >
> > Lovely. This is great. It shows just how much totally pointless stuff
> > we leak, and to normal users that really shouldn't need it.
> Side note: it would be good to have some summary view, and perhaps
> some way to limit duplicates.

This has been bothering me also.

> I ended up running this command line from hell to summarize the
> different sources:
>     perl |
>             cut -d: -f1 |
>             sed 's:/[0-9]*/:/X/:g' |
>             sed 's:/module/[^/]*/:/module/X/:g' |
>             sort | uniq | less -S
> and maybe that kind of duplicate culling could be part of the script
> itself if you pass it some summary line.
> In particular, if would be nice to have a summary report that
>  - only shows the first address for a particular source
>  - have some logic to collapse repeated entries of "same file, just
> different instance"
> my sed-invocations there are obviously very ad-hoc, I'm  not actually
> advocating that crap, it's only meant as hacky example of what I'm
> talking about. Something smarter would be much better.
> Because right now if some developer runs it, they might miss some case
> that they should care about, simply because it's hidden among all the
> thousands of essentially duplicate cases.

Awesome. I'm on it. thanks.

So, cull duplicates by default, add summary report to end of output, add
'--raw' option to dump all the lines (the current output).


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.