Re: Disabling module loading with a module?

fvw (fvw@chello.nl)
Tue, 17 Aug 1999 03:19:03 +0200


On Tue, 17 Aug 1999, fvw wrote:
> Recently there has been some discussion on BSDs securelevels (or whatever they're
> called. I'm just a beginner :*-( ), (Especially after the (alleged) hack of
> the (alledged) internet auditing project) , and the posibility of disabling
> the loading of modules without going down to single-user mode first.
>
> Would it be possible to make a module for the linux kernel that mimics this, by
> disabling the loading of modules? Could a module trap the necessary system
> calls for inserting a module, and disable them? That way It could act as a sort
> seal that is loaded after all modules are loaded at startup.

Hate to followup on my own posts, but I just realized you'd have to disable
/dev/kmem too.

--

Frank v Waveren fvw@chello.nl ICQ# 10074100

"Diarrhea is hereditary. It runs in your jeans."

- 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/