Skip to content

Commit

Permalink
Change to mode 0600
Browse files Browse the repository at this point in the history
  • Loading branch information
madaidan committed Apr 12, 2020
1 parent 6cf4e76 commit 08c07b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sysctl.c
Expand Up @@ -1949,7 +1949,7 @@ static struct ctl_table fs_table[] = {
.procname = "sysfs_restrict",
.data = &sysfs_restrict,
.maxlen = sizeof(int),
.mode = 0644,
.mode = 0600,
.proc_handler = proc_dointvec_minmax_sysadmin,
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_ONE,
Expand Down

0 comments on commit 08c07b1

Please sign in to comment.