Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935064Ab0KQRSa (ORCPT ); Wed, 17 Nov 2010 12:18:30 -0500 Received: from casper.infradead.org ([85.118.1.10]:48559 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935040Ab0KQRS3 convert rfc822-to-8bit (ORCPT ); Wed, 17 Nov 2010 12:18:29 -0500 Subject: Re: [PATCH] kernel/time: Make /proc/timer_list mode 0400 From: Peter Zijlstra To: Marcus Meissner Cc: tglx@linutronix.de, mingo@elte.hu, akpm@linux-foundation.org, rusty@rustcorp.com.au, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org In-Reply-To: <20101117170822.GW20727@suse.de> References: <20101117170822.GW20727@suse.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Wed, 17 Nov 2010 18:18:32 +0100 Message-ID: <1290014312.2109.1065.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 18 On Wed, 2010-11-17 at 18:08 +0100, Marcus Meissner wrote: > Hi, > > /proc/timer_list contains kernel addresses, like e.g.: > #0: , tick_sched_timer, S:01, .tick_nohz_restart_sched_tick, swapper/0 > ... > > Avoid leaking them to user space to make writing kernel exploits a bit harder. > > (I currently cannot think of a userland tool that uses this, this is > likely pretty much root-only.) iirc powertop parses this.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/