sysctl: read-only dirty*_bytes
Signed-off-by: Joel Gómez <thegame455min@gmail.com>
This commit is contained in:
parent
d30b7253ed
commit
613ee071be
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue