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

From: Ingo Molnar
Date: Mon Aug 17 2009 - 05:49:17 EST



* 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.

Thanks,

Ingo
--
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/