lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proc_register & co. policy change ???
On Mon, 28 Aug 2000, Velizar Bodoursky wrote:

> Ok I tryed to write some basic modules and all of a sudden I can't link them
> with the latest test7, went trough the EXPORT declaration and saw the reason
> those symbols aren't exported at all, went back to 2.2.16 and the EXPORT
> statements are in place, why is this are there some new functions which
> should replace this as a interface to proc from module's side, or is just a
> omission which hasn't been noticed yet, altrough i see that in test6 and so on.
> Regards, Velizar

If you are creating entries in the /proc filesystem you should use
create_proc_entry()/remove_proc_entry() exported interface.

A simple example is creating /proc/kcore file - the code is in
fs/proc_misc.c:proc_misc_init() and in fs/proc/kcore.c

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.034 / U:3.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site