mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
[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>
This commit is contained in:
parent
2655e2cee2
commit
e3ad42be1e
@ -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,
|
||||
},
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user