timers: Drop write permission on /proc/timer_list
authorAmerigo Wang <amwang@redhat.com>
Mon, 17 Aug 2009 09:43:01 +0000 (05:43 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 17 Aug 2009 09:47:31 +0000 (11:47 +0200)
commitde809347aeef0a68c04576c464414d0e4dce59fc
treee3f05312abaabe0bcda04b6e8e220374c20cf292
parentb2add73dbf93fd50f00564d7abc3e2b9aa9dd20c
timers: Drop write permission on /proc/timer_list

/proc/timer_list and /proc/slabinfo are not supposed to be
written, so there should be no write permissions on it.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: linux-mm@kvack.org
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Amerigo Wang <amwang@redhat.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
LKML-Reference: <20090817094525.6355.88682.sendpatchset@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/timer_list.c