From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754035AbdJSUWR (ORCPT ); Thu, 19 Oct 2017 16:22:17 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60139 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753474AbdJSUWQ (ORCPT ); Thu, 19 Oct 2017 16:22:16 -0400 X-ME-Sender: Date: Fri, 20 Oct 2017 07:22:12 +1100 From: "Tobin C. Harding" To: Steven Rostedt Cc: kernel-hardening@lists.openwall.com, "Jason A. Donenfeld" , "Theodore Ts'o" , Linus Torvalds , 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 , Chris Fries , Dave Weinstein , Daniel Micay , Djalal Harouni , linux-kernel@vger.kernel.org Subject: Re: [RFC] scripts: add leaking_addresses.pl Message-ID: <20171019202212.GB29874@eros> References: <1508394884-13869-1-git-send-email-me@tobin.cc> <20171019084431.223c69f4@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171019084431.223c69f4@vmware.local.home> X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 19, 2017 at 08:44:31AM -0400, Steven Rostedt wrote: > On Thu, 19 Oct 2017 17:34:44 +1100 > "Tobin C. Harding" wrote: > > > > > My usual disclaimer; I am a long way from being a Perl monger, any tips, > > I'm a semi Perl monger. > > > however trivial, most welcome. > > > > Parses dmesg output first then; > > > > Algorithm walks the directory tree of /proc and /sys, opens each file > > for reading and parses file line by line. We therefore need to skip > > certain files; > > > > - binary files. > > - relay large files of fixed format that _definitely_ won't leak. > > "relay large files"? What do the files relay with? ;-) :) All bugs are shallow to enough eyes eh. Good tips, thank you. V2 to come. thanks, Tobin.