From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757270AbZHQJtL (ORCPT ); Mon, 17 Aug 2009 05:49:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752062AbZHQJtL (ORCPT ); Mon, 17 Aug 2009 05:49:11 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:44946 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751754AbZHQJtK (ORCPT ); Mon, 17 Aug 2009 05:49:10 -0400 Date: Mon, 17 Aug 2009 11:48:22 +0200 From: Ingo Molnar To: Amerigo Wang Cc: linux-kernel@vger.kernel.org, Pekka Enberg , Vegard Nossum , Eduard - Gabriel Munteanu , Thomas Gleixner , linux-mm@kvack.org, Christoph Lameter , David Rientjes , Matt Mackall , Arjan van de Ven Subject: Re: [Patch] proc: drop write permission on 'timer_list' and 'slabinfo' Message-ID: <20090817094822.GA17838@elte.hu> References: <20090817094525.6355.88682.sendpatchset@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090817094525.6355.88682.sendpatchset@localhost.localdomain> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0001] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Amerigo Wang wrote: > /proc/timer_list and /proc/slabinfo are not supposed to be > written, so there should be no write permissions on it. good catch! > --- a/kernel/time/timer_list.c > +++ b/kernel/time/timer_list.c I have applied the timer_list bits to the timer tree. The SLUB/SLAB bits should go into the SLAB tree i guess. Thanks, Ingo