git: Garbage collect ghost sysctl.

看板DFBSD_commit作者時間16年前 (2009/11/09 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
commit aefc0c83985eb3387b4e629771713496e9508154 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/aefc0c83985eb3387b4e629771713496e9508154 -- DragonFly BSD source repository
文章代碼(AID): #1AzqRl3D (DFBSD_commit)
文章代碼(AID): #1AzqRl3D (DFBSD_commit)