aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-11-06 16:20:43 -0500
committerTony Luck <tony.luck@intel.com>2007-11-06 16:20:43 -0500
commite3ad42be1ee37ab277ef30555b772e0c803f3b69 (patch)
tree12176e8592f11269e450a9b6731601e5e9bc42cc /arch
parent2655e2cee2d77459fcb7e10228259e4ee0328697 (diff)
[IA64] Fix perfmon sysctl directory modes
New sanity checks in sysctl_check_table() complain about a couple of mode 0755 that should be 0555 in the perfmon code: sysctl table check failed: /kernel .1 Writable sysctl directory sysctl table check failed: /kernel/perfmon Writable sysctl directory Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/perfmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index 59169bf7145f..73e7c2e40b54 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -558,7 +558,7 @@ static ctl_table pfm_sysctl_dir[] = {
558 { 558 {
559 .ctl_name = CTL_UNNUMBERED, 559 .ctl_name = CTL_UNNUMBERED,
560 .procname = "perfmon", 560 .procname = "perfmon",
561 .mode = 0755, 561 .mode = 0555,
562 .child = pfm_ctl_table, 562 .child = pfm_ctl_table,
563 }, 563 },
564 {} 564 {}
@@ -567,7 +567,7 @@ static ctl_table pfm_sysctl_root[] = {
567 { 567 {
568 .ctl_name = CTL_KERN, 568 .ctl_name = CTL_KERN,
569 .procname = "kernel", 569 .procname = "kernel",
570 .mode = 0755, 570 .mode = 0555,
571 .child = pfm_sysctl_dir, 571 .child = pfm_sysctl_dir,
572 }, 572 },
573 {} 573 {}