Linux Kernel Procfs Guide | ||
---|---|---|
<<< Previous | Tips and tricks | Next >>> |
If procfs is being used from within a module, be sure to set
the owner
field in the
struct proc_dir_entry
to
THIS_MODULE
.
struct proc_dir_entry* entry; entry->owner = THIS_MODULE; |
<<< Previous | Home | Next >>> |
Tips and tricks | Up | Mode and ownership |