Being reluctant to use /proc/<pid> to gather process data because of !speed
and overhead (proc-fs does snprintf, userland does sscanf), I started
writting my own kernel module (misc device).
Everything was great, I "stole" code from proc-fs, made my own little
struct with interesring fields, and wrote an ioctl for my misc driver to
fill that struct.
But... when I tried to insmod then I realized that two calls used by
proc-fs are not exported for module use. access_process_vm() and mmput().
So... is there a way to do this without patching the kernel? If not, maybe
I'll still use my module because that two calls are only required for
Or maybe did I failed to notice an already written interface to access
desired data ???
Thanks for any hints!