git: Garbage collect ghost sysctl.

Alexander Polakov polachok at crater.dragonflybsd.org
Sun Nov 8 14:31:38 PST 2009


commit aefc0c83985eb3387b4e629771713496e9508154
Author: Stathis Kamperis <beket at dragonflybsd.org>
Date:   Sun Nov 8 01:08:47 2009 +0200

    Garbage collect ghost sysctl.
    
    p1003_1b.mq_open_max sysctl:
    
    1. Has never worked properly (displayed a wrong value).
    2. Didn't allow for its value to be tuned.
    3. Is non-standard, so no 3rd party should rely on it. And, thus, noone
       should be harmed by its removal.
       The canonical way to get the maximum open message queue descriptors
       per process is via the sysconf(3) interface.
    4. Has now been replaced by kern.mqueue.mq_open_max sysctl which
       addresses 1. and 2.
    
    A stub has been inserted in place of the old sysctl definitions, in order to
    reduce unnecessary diffs due to renumbering. This patch does NOT introduce
    p1003_1b.unused1.
    
    Partially-discussed-with: swildner@

Summary of changes:
 sys/kern/kern_posix4_mib.c |    1 -
 sys/sys/sysctl.h           |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aefc0c83985eb3387b4e629771713496e9508154


-- 
DragonFly BSD source repository





More information about the Commits mailing list