[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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