From: Eric W. Biederman <ebiederm@xxxxxxxxxxxx> - unquoted
parse_table has support for calling a strategy routine
when descending into a directory. To date no one has
used this functionality and the /proc/sys interface has
no analog to it.
So no one is using this functionality kill it and make
the binary sysctl code easier to follow.
Signed-off-by: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
---
kernel/sysctl.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e655b11..2c3703d 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1171,14 +1171,6 @@ repeat:
if (table->child) {
if (ctl_perm(table, 001))
return -EPERM;
- if (table->strategy) {
- error = table->strategy(
- table, name, nlen,
- oldval, oldlenp,
- newval, newlen);
- if (error)
- return error;
- }
name++;
nlen--;
table = table->child;
--
1.4.4.1.g278f
|
| Previous by Date: | [xfs-masters] [PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c, Eric W. Biederman |
|---|---|
| Next by Date: | [xfs-masters] [PATCH 42/59] sysctl: Remove sys_sysctl support from the hpet timer driver., Eric W. Biederman |
| Previous by Thread: | [xfs-masters] Re: [PATCH 35/59] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c, Benjamin Herrenschmidt |
| Next by Thread: | [xfs-masters] [PATCH 42/59] sysctl: Remove sys_sysctl support from the hpet timer driver., Eric W. Biederman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |