On Mon, 6 Apr 2009 18:20:23 -0400
"Sean MacLennan" <[email protected]> wrote:
> I am trying to run the /sbin/hotplug from the kernel and it doesn't
> work. Has anybody got it running?
I looked into it some more. It turns out that the env pointers are
freed before they are copied.
In kobject_uevent_env() if I change the line that calls the helper from
UMH_NO_WAIT to UMH_WAIT_EXEC, then it works... but probably at a loss
of performance.
retval = call_usermodehelper(argv[0], argv,
env->envp, UMH_WAIT_EXEC);
Any other ideas?
Cheers,
Sean
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev