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

Re: process descriptor



Hi,

raja wrote:
> Hi,
>     Is there any symbol to get the process descriptor if the process id
> is known in kernel space.

find_task_by_pid()

See http://lxr.linux.no/source/include/linux/sched.h#L826

Sincerly,

Thomas
-- 
Thomas Petazzoni
thomas.petazzoni@xxxxxxxx

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/