From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753525AbeAFBho (ORCPT + 1 other); Fri, 5 Jan 2018 20:37:44 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:42999 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752226AbeAFBhn (ORCPT ); Fri, 5 Jan 2018 20:37:43 -0500 X-ME-Sender: Date: Sat, 6 Jan 2018 12:37:39 +1100 From: "Tobin C. Harding" To: Kees Cook Cc: LKML , kernel-hardening@lists.openwall.com, kaiwan.billimoria@gmail.com Subject: Re: [PATCH] leaking_addresses: add files to skip Message-ID: <20180106013739.GA17325@eros> References: <1515193172-20279-1-git-send-email-me@tobin.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Return-Path: On Fri, Jan 05, 2018 at 04:11:07PM -0800, Kees Cook wrote: > On Fri, Jan 5, 2018 at 2:59 PM, Tobin C. Harding wrote: > > Script currently times out when parsing the following files: > > > > /proc/kallsyms > > /proc/sched_debug > > /proc/PID/smaps > > Seems like kallsyms would be one to absolutely scan... it shouldn't > cause hangs either. Haven't we fixed kallsyms now? Do you mean that we should be checking to see if the scanned kernel has been patched to include the kallsysms fixes in 4.14? If so perhaps we should add functionality to just check the first line for an address and warn if one is found. No real reason to include ever address in kallsyms in the output. Script doesn't hang but it times out with the default timer (10 seconds). thanks, Tobin.