lkdp-discuss
[Top][All Lists]
Advanced

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

[LKDP] get exit status from kernel


From: Romano Trampus
Subject: [LKDP] get exit status from kernel
Date: Mon, 11 Nov 2002 15:33:55 +0100

Hi,

I'm writing a simple program running as a module. I call exec_usermodehelper
to execute an external program. I need to get the exit status of that
application. For some reason the waitpid function runs only if the "status"
argument is NULL and fail if it'a a pointer to a integer. Because the
integer is allocated in kernel space instead of user space?
Do anybody know how to make it work?

thank's a lot to all

bye

romano





reply via email to

[Prev in Thread] Current Thread [Next in Thread]