Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e3ad42be1ee37ab277ef30555b772e0c803f3b69
Commit:     e3ad42be1ee37ab277ef30555b772e0c803f3b69
Parent:     2655e2cee2d77459fcb7e10228259e4ee0328697
Author:     Tony Luck <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 6 13:20:43 2007 -0800
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Tue Nov 6 13:20:43 2007 -0800

    [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 <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/perfmon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index 59169bf..73e7c2e 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -558,7 +558,7 @@ static ctl_table pfm_sysctl_dir[] = {
        {
                .ctl_name       = CTL_UNNUMBERED,
                .procname       = "perfmon",
-               .mode           = 0755,
+               .mode           = 0555,
                .child          = pfm_ctl_table,
        },
        {}
@@ -567,7 +567,7 @@ static ctl_table pfm_sysctl_root[] = {
        {
                .ctl_name       = CTL_KERN,
                .procname       = "kernel",
-               .mode           = 0755,
+               .mode           = 0555,
                .child          = pfm_sysctl_dir,
        },
        {}
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to