tech-kern archive

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

Re: CVS commit: src/tests/modules



On Thu, 22 Mar 2012, Martin Husemann wrote:

> On Thu, Mar 22, 2012 at 03:33:18AM -0400, Matthew Mondor wrote:
> > I like the kern.module.supported, or perhaps kern.module.enabled, as I
> > have systems built without module loading support yet still have a few
> > module sysctls around under that same hierarchy, and module.modular
> > also seems ambiguous and redundant...
>
> The question is complex, so I am for realy simple solutions.
>
>   kern.module.modular = 1
>
> means: options MODULAR was active when the kernel was built.

sysctl doesn't need to be static of course, you could do the kauth check
and return a value based on whether you may load a module or not, I don't
know if that will serve to disambiguate Xen?

iain


Home | Main Index | Thread Index | Old Index