Re: call_usermodehelper

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

 



On Mon, May 22, 2006 at 08:29:15PM +0200, Vincenzo Mallozzi wrote:
> 
> --- Greg KH <greg@xxxxxxxxx> ha scritto: 
> 
> > 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?
> > 
> > Why do you want to know that pid from within the
> > kernel?  What will that
> > allow you to accomplish?
> > 
> > thanks,
> 
> I'm developing a LKM to monitor multithreaded
> processes.

Odds are, this is better done in userspace.

Good luck,

greg k-h

--
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