Is there a way to load and unload kernel modules from within a user
application? I am currently using a shell script consisting of insmod,
search /proc/devices for major number, mknod. Then another script using
rmmod to unload the module when the app closes.
What I really want is to have the application manage the loading and
unloading of the module without having to rely on the shell.
Has anyone figured this one out?
Chris