|
@@ -6,10 +6,17 @@
|
|
|
****************************************************************
|
|
|
****************************************************************
|
|
|
**
|
|
|
+ ** WARNING:
|
|
|
** The values in this file are exported to user space via
|
|
|
- ** 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.
|
|
|
+ ** 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
|
|
|
+ ** 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.
|
|
|
+ **
|
|
|
+ ** For new interfaces unless you really need a binary number
|
|
|
+ ** please use CTL_UNNUMBERED.
|
|
|
**
|
|
|
****************************************************************
|
|
|
****************************************************************
|
|
@@ -48,6 +55,7 @@ struct __sysctl_args {
|
|
|
#ifdef __KERNEL__
|
|
|
#define CTL_ANY -1 /* Matches any name */
|
|
|
#define CTL_NONE 0
|
|
|
+#define CTL_UNNUMBERED CTL_NONE /* sysctl without a binary number */
|
|
|
#endif
|
|
|
|
|
|
enum
|