/proc question

Surenkumar Nihalani suren at gatech.edu
Wed Feb 8 02:54:56 EST 2012


Hello All, 

I am writing a kernel module and I wanted to know which data structure backs up the /proc/self or how do I get the process id of my call and number of it's threads from within the kernel? 

Thanks, 
Suren. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120208/4b7dc509/attachment.html 


More information about the Kernelnewbies mailing list