I find the /proc filesystem a great thing, and I'd like to be able
to register /proc nodes from within a module.
/proc is an interesting resource to allow peeking at a module internals,
particularly useful during the debugging phase.
Unfortunately, two symbols need to be exported for this to work.
Can this silly patch fall in before 2.0 is out?
Cheers
/alessandro
--- ./fs/proc/procfs_syms.c.distrib99-2 Mon Jan 29 22:54:28 1996
+++ ./fs/proc/procfs_syms.c Tue May 14 00:13:16 1996
@@ -15,7 +15,9 @@
/* Should this be surrounded with "#ifdef CONFIG_MODULES" ? */
#include <linux/symtab_begin.h>
X(proc_register),
+ X(proc_register_dynamic),
X(proc_unregister),
+ X(proc_root),
X(in_group_p),
X(generate_cluster),
X(proc_net_inode_operations),
-- __ o La forza dei forti sta nel traversare le traversie con occhio sereno _`\<, (Paperino) __( )/( )__ alessandro rubini - rubini@ipvvis.unipv.it