I've executed from the kernel a program using the exec_usermodehelper function and waiting for its termination with a waitpid call. I'm unable to get the exit status of the application: if I call waitpid like waitpid(-1,NULL,0) all runs fine (and I don't get the exit status) but if I call waitpid(pid,&status,0) the waitpid function returns an error. Does anybody help me? bye romano -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/