Re: 'lock' modules?

Steve Dodd (steved@loth.demon.co.uk)
Wed, 7 Jun 2000 21:00:57 +0100


On Tue, Jun 06, 2000 at 09:57:19PM -0400, buddy@foobar.resnet.gatech.edu wrote:

> I was wondering if anyone has considered modifying the linux kernel such
> that the modules may be 'locked'.
>
> What i mean by that is that no more modules can be loaded/unloaded.

AFAICS, this is already possible. We already have CAP_SYS_MODULE. Load your
modules, remove CAP_SYS_MODULE from the bounding set
(/proc/sys/kernel/cap-bound), and Bob's your unicorn.

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