Re: [Patch] proc: drop write permission on 'timer_list' and'slabinfo'

From: Pekka Enberg
Date: Mon Aug 17 2009 - 05:54:15 EST


On Mon, 2009-08-17 at 11:48 +0200, Ingo Molnar wrote:
> * Amerigo Wang <amwang@xxxxxxxxxx> 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.

Yeah, I'll grab the slab parts to slab.git if I don't see a separate
patch in my inbox when I get home. Thanks!

Pekka

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/