Re: [PATCH][RFC] disable built-in modules V2

From: Dave Jones
Date: Thu Apr 07 2005 - 12:40:17 EST


On Thu, Apr 07, 2005 at 01:22:57PM -0400, Richard B. Johnson wrote:

> >| Anyway, besides nitpicking, is there any reason not to include this
> >| code? Or is the added feature considered plain bloat? Yes, the kernel
> >| will become a bit larger, but all the data added by this patch will go
> >| into the init section.
> >
> >Looks like a good idea to me.
> >
> Can't you disable module-loading with a module? I think so.
> You don't need to modify the kernel. Boot-scripts could
> just load the "final" module and there is nothing that
> can be done to add another module (or even unload existing
> ones).

Why do you need a module ?

echo 0xFFFEFFFF ?> /proc/sys/kernel/cap-bound

should do this just fine.

Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/