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 10:12:34AM +0000, Iain Hibbert wrote:
> > 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?
> No, this is not about XEN at all!

sure but the proposal seemed to be a response to a Xen-specific hack

> The tests do some modload and this can fail for various reasons. The most
> popular ones are
>  - kernel is !MODULAR (this is the case for all XEN kernels)

Ok but what does this actually mean?  I mean, it looks to me like
kern_module.c and sys_module.c are always built in, the modctl syscall is
always available, and the only thing that prevents the loading of a module
is kauth() ?


Home | Main Index | Thread Index | Old Index