waitpid help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux