call_usermodehelper_setcleanup — set a cleanup function
void call_usermodehelper_setcleanup
(struct subprocess_info * info, void (*cleanup)
(char **argv, char **envp));
a subprocess_info returned by call_usermodehelper_setup
a cleanup function
The cleanup function is just befor ethe subprocess_info is about to be freed. This can be used for freeing the argv and envp. The Function must be runnable in either a process context or the context in which call_usermodehelper_exec is called.