[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: [PATCH] [vTPM] Not building vTPM frontend as module
On 10 May 2006, at 16:02, Ian Campbell wrote: I suggest you add __unsafe(THIS_MODULE) to the end of your module_init function, as we have done for netback and blkback. This will make it impossible for the user to unload the module, and print a message to the kernel log explaining why.If a module_init() is present but a module_exit() is not then you cannotunload the module. (unless you enable CONFIG_MODULE_FORCE_UNLOAD and use rmmod's --force option, in which case your kernel become tainted) Even better. We should be using this for netback and blkback too in that case. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |