DragonFly BSD
DragonFly commits List (threaded) for 2009-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Garbage collect ghost sysctl.


From: Stathis Kamperis <beket@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 Nov 2009 15:59:11 -0800 (PST)

commit d6e5508dbd2fe371d2ab5de30e335ea3f3b0abdf
Author: Stathis Kamperis <beket@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/d6e5508dbd2fe371d2ab5de30e335ea3f3b0abdf


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]