On Sun, May 21, 2006 at 07:20:21PM +0000, Vincenzo Mallozzi wrote: > Hi all, > I've read a reply mail of Jan Hudec about retrieving pid of a process created > by means of call_usermodehelper function. In this mail he suggests to patch > this function in order to get the pid searched. There's a way to do it witout > patching? > As example, can we search for the keventd child and then get the pid? > > Thanks. > Vincenzo Mallozzi. Hi, I don't think it's possible. However, your question could lead to a patch included in the main kernel tree : the function call_usermodehelper returns 0 on success and an error code (< 0) in other case. Maybe the function could return the pid of the new created process on suceed. -- tyler tyler@xxxxxxxx ___________________________________________________________________________ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/