Re: 'lock' modules?

From: Steve Dodd (steved@loth.demon.co.uk)
Date: Wed Jun 07 2000 - 15:00:57 EST


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/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:30 EST