mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] sysctl: implement CTL_UNNUMBERED
This patch takes the CTL_UNNUMBERD concept from NFS and makes it available to all new sysctl users. At the same time the sysctl binary interface maintenance documentation is updated to mention and to describe what is needed to successfully maintain the sysctl binary interface. Signed-off-by: Eric W. Biederman <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d99f160ac5
commit
7cc13edc13
3 changed files with 11 additions and 11 deletions
|
|
@ -353,9 +353,6 @@ EXPORT_SYMBOL(lockd_down);
|
|||
* Sysctl parameters (same as module parameters, different interface).
|
||||
*/
|
||||
|
||||
/* Something that isn't CTL_ANY, CTL_NONE or a value that may clash. */
|
||||
#define CTL_UNNUMBERED -2
|
||||
|
||||
static ctl_table nlm_sysctls[] = {
|
||||
{
|
||||
.ctl_name = CTL_UNNUMBERED,
|
||||
|
|
|
|||
Loading…
Reference in a new issue