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.
Last edited by krisonearth; 08-29-2009 at 09:20 AM.