Re: accesing proc tree

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

 



airot@lazir.toya.net.pl (airot@lazir.toya.net.pl) wrote:
> 
> 
> Hey,
> 
> I have a small problem, i'd like to access proc tree via kernel module but
> i don't know exactly how and if it's even possible.
> Currently i'm able to access only the current process structure. How can
> i do it?
> 
> Thanks for help, and sorry for such kiddie question i havn't use linux for
> years.

Do you want to create and use en proc entry from userland or access to this entry
from kernel ?
I think you must read <linux/proc_fs.h>.
Moreover you can find some explanation on this on :
http://www.xml.com/ldd/chapter/book/ch04.html#t2

-- 
Cordialement/Regards
+--------------------------------------------------+
| Christophe Lucas -- Iomeda SA (clucas@iomeda.fr) |
| Developpeur/Administrateur GNU/Linux             |
+--------------------------------------------------+
| http://titux.tuxfamily.org                       |
+--------------------------------------------------+
--
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