Messages in this thread |  | | Date | Mon, 28 Aug 2000 15:45:30 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: 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/
|  |