LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to check whether execve is successful or not? (https://www.linuxquestions.org/questions/linux-software-2/how-to-check-whether-execve-is-successful-or-not-750937/)

krisonearth 08-28-2009 02:10 PM

how to check whether execve is successful or not?
 
what im trying to do is executing an app using execve sys call and then i want to acknowledge the kernel whether the execve was succ or not(using udp).
but as we know that the execve overlays its image on the user process and on succ it returns nothing ,so in times when the call is succ how do i acknowledge my kernel about it?

also i want to send the kernel an acknowledgment when the execution of the app terminates(finished) .Howto?

if not through acknowledgements then by monitoring any kernel variables or signals or thru any other way ,can the kernel know about the app termination.


All times are GMT -5. The time now is 05:55 PM.