2006-03-22 15:16:04

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 5/24] s390: /proc/sys/vm/cmm_* permission bits.

From: Martin Schwidefsky <[email protected]>

[patch 5/24] s390: /proc/sys/vm/cmm_* permission bits.

Set permissoin of /proc/sys/vm/cmm_* files to 0644.

Signed-off-by: Martin Schwidefsky <[email protected]>
---

arch/s390/mm/cmm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff -urpN linux-2.6/arch/s390/mm/cmm.c linux-2.6-patched/arch/s390/mm/cmm.c
--- linux-2.6/arch/s390/mm/cmm.c 2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6-patched/arch/s390/mm/cmm.c 2006-03-22 14:36:14.000000000 +0100
@@ -339,19 +339,19 @@ static struct ctl_table cmm_table[] = {
{
.ctl_name = VM_CMM_PAGES,
.procname = "cmm_pages",
- .mode = 0600,
+ .mode = 0644,
.proc_handler = &cmm_pages_handler,
},
{
.ctl_name = VM_CMM_TIMED_PAGES,
.procname = "cmm_timed_pages",
- .mode = 0600,
+ .mode = 0644,
.proc_handler = &cmm_pages_handler,
},
{
.ctl_name = VM_CMM_TIMEOUT,
.procname = "cmm_timeout",
- .mode = 0600,
+ .mode = 0644,
.proc_handler = &cmm_timeout_handler,
},
{ .ctl_name = 0 }