diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 4ab11879aeb4..5d9a1d2b27b4 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -1494,6 +1494,24 @@ static struct ctl_table fs_table[] = { | |||
1494 | #endif | 1494 | #endif |
1495 | #endif | 1495 | #endif |
1496 | { | 1496 | { |
1497 | .procname = "protected_symlinks", | ||
1498 | .data = &sysctl_protected_symlinks, | ||
1499 | .maxlen = sizeof(int), | ||
1500 | .mode = 0600, | ||
1501 | .proc_handler = proc_dointvec_minmax, | ||
1502 | .extra1 = &zero, | ||
1503 | .extra2 = &one, | ||
1504 | }, | ||
1505 | { | ||
1506 | .procname = "protected_hardlinks", | ||
1507 | .data = &sysctl_protected_hardlinks, | ||
1508 | .maxlen = sizeof(int), | ||
1509 | .mode = 0600, | ||
1510 | .proc_handler = proc_dointvec_minmax, | ||
1511 | .extra1 = &zero, | ||
1512 | .extra2 = &one, | ||
1513 | }, | ||
1514 | { | ||
1497 | .procname = "suid_dumpable", | 1515 | .procname = "suid_dumpable", |
1498 | .data = &suid_dumpable, | 1516 | .data = &suid_dumpable, |
1499 | .maxlen = sizeof(int), | 1517 | .maxlen = sizeof(int), |