lkml.org 
[lkml]   [1996]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectexporting proc_register_dynamic
Date

Hello Linus and linuxers.

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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.017 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site