diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 43b77702e..3260ac6ce 100755 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -2888,7 +2888,7 @@ static struct ctl_table vm_table[] = { .procname = "dirty_background_bytes", .data = &dirty_background_bytes, .maxlen = sizeof(dirty_background_bytes), - .mode = 0644, + .mode = 0444, .proc_handler = dirty_background_bytes_handler, .extra1 = &one_ul, }, @@ -2905,7 +2905,7 @@ static struct ctl_table vm_table[] = { .procname = "dirty_bytes", .data = &vm_dirty_bytes, .maxlen = sizeof(vm_dirty_bytes), - .mode = 0644, + .mode = 0444, .proc_handler = dirty_bytes_handler, .extra1 = &dirty_bytes_min, },