


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Using Linux Kernel Modules to quickly export privileged kernel information to ordinary users
[Read the ‘man-page’ for details: $ man proc ]
get_info
module_init
module_exit
The module’s two required administrative functions
The module’s ‘payload’ function
current file-pointer offset
pointer (optional) to module’ own buffer
size of space available in the kernel’s buffer function should return the number of bytes it has written into its buffer Docsity.com
the name for your proc file the file-access attributes (0=default) directory where file will reside (NULL=default) function-pointer to your module’s ‘callback’ routine
file’s name directory