Subject: Re: lib/5261: sysctl user.cs_path should be eliminated
To: Erik E. Fair <fair@digital.clock.org>
From: Todd Vierling <tv@NetBSD.ORG>
List: netbsd-bugs
Date: 04/18/1998 22:17:23
On Tue, 7 Apr 1998, Erik E. Fair wrote:
: However, "user.cs_path" lives in the C library, not in the
: kernel. To change it for the runtime, a new shared C library
: must be built; statically linked programs (e.g. /sbin/init)
: must be recompiled. Systems which do not support shared
: libraries lose completely - total recompilation required.
Remember, though, that the C library version does defer some sysctls to the
kernel. Abstracting this to the kernel should be rather trivial. And
frankly, that's where I personally believe it should go such that it could
be changed dynamically at run-time.
: remove source code from lib/libc/gen/sysctl.c sysctl.3 and sysctl.5
: references.
This is far more useful to make a working abstraction out of than to remove
it. I firmly believe it should be made fully configurable in some way.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)