• Andi Kleen's avatar
    [PATCH] Deprecate numerical sysctl · 209f0abb
    Andi Kleen authored
    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)
    209f0abb
sysctl.c 45.2 KB