Mutually exclusive kernel modules

Andrew Brampton brampton+freebsd-hackers at gmail.com
Wed Jan 28 07:12:35 PST 2009


Hi,
I'm writing a new kernel module which can not be run with another
module. If both run then bad things will happen and the kernel will
fall over. Fixing the modules so they can be run together is not a
option, so I wanted to code something in this new module which would

A) Check if the other module is already running and thus refuse to start.
and
B) Stop the other module from loading in the future.

So is there a way to do this?

thanks
Andrew


More information about the freebsd-hackers mailing list