[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MODULAR option and advertised semaphore support
On Fri, Nov 05, 2010 at 04:15:44PM +0100, Nicolas Joly wrote:
> Well, maybe; but you then have to fix it somewhere else, actually for
> sysconf(_SC_SEMAPHORES) which currently rely on sysctl.
> > It can not be used with modules anyways, and probably should be removed
> > entirely at some point. See also aio(3) and mq(3) for similar changes.
> Moving the whole sysctl tree into the module won't work unless the
> module is actually loaded; sysconf(_SC_ASYNCHRONOUS_IO) will claim
> that's unsupported which is not true, using a syscall will make the
> module autoload and it will work just fine.
Again, If I have understood correctly, the whole idea has been to make
syscalls load the corresponding module. So I am inclined to think that
sysconf(3) is broken, i.e. perhaps it should also load the module.
PS. Before those changes to aio(3) and mq(3), you did not get a single
sysctl due use of SYSCTL_SETUP.
Main Index |
Thread Index |