I am currently writing a cmod for some obscure piece of hardware. Its driver tends to generate kernel panics if some deinitialization does not happen. It would therefore be nice if it was somehow possible to force the destruction of certain objects on exit, even without --with-cleanup-on-exit. Is there a possibility for that?
And no, I cannot fix the kernel driver ;-)