diff options
| author | Andi Kleen <ak@muc.de> | 2003-07-11 19:45:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-11 19:45:55 -0700 |
| commit | 209f0abbcc67c88f9af31f5dbd768c18bbf5ac09 (patch) | |
| tree | 530f6038a6ab2f38eed7d8976d349dfcd66c3996 /include/linux | |
| parent | ed08e6dfc28d810101c7665a72c73117888bc4a0 (diff) | |
[PATCH] Deprecate numerical sysctl
Deprecate the numerical sysctl name space. People can use /proc/sys
instead.
The numeric name space was never well maintained and especially
in distribution kernels is not very consistent (everybody has their
own extensions, conflicting with others). It's also a great
source of rejects when merging patches. The name-based /proc/sys
is a much better interface for this, which people should use instead.
Discussion of this on l-k found no advocate for it, so it seems to not
be very popular anyways.
This patch deprecates numerical name space accesses to make it possible
to remove them in the future. The only exception is kernel.version,
which is used by glibc (this one has to be maintained forever)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sysctl.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index c7bd946843b4..57ad81aac161 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -6,16 +6,10 @@ **************************************************************** **************************************************************** ** - ** WARNING: ** The values in this file are exported to user space via - ** the sysctl() binary interface. Do *NOT* change the - ** numbering of any existing values here, and do not change - ** any numbers within any one set of values. If you have - ** to redefine an existing interface, use a new number for it. - ** The kernel will then return ENOTDIR to any application using - ** the old binary interface. - ** - ** --sct + ** the sysctl() binary interface. However this interface + ** is unstable and deprecated and will be removed in the future. + ** For a stable interface use /proc/sys. ** **************************************************************** **************************************************************** |
