making sys call ex:insmod,rmmod from function in user module
I want to do insmod and rmmod from a function. This is because, i want to load a different driver version for some of the conditions i have. To do this, i need to invoke rmmod and insmod from the function, how can i do this?I am using linux kernel 2.6.
thanks in advance,